Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.001491, allocations: 186.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 88.44 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004866, allocations: 12 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3367, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.4697, allocations: 80.49 MB / 455 MB, free: 300 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.47, allocations: 83.95 kB / 455.1 MB, free: 216 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0743/0.5443, allocations: 18.48 MB / 473.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.5444, allocations: 0 / 473.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001101/0.5445, allocations: 28 kB / 473.6 MB, free: 13.58 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004963/0.5495, allocations: 1.45 MB / 475.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5496, allocations: 8.031 kB / 475.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006116/0.5502, allocations: 146.3 kB / 475.2 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.5526, allocations: 0.8573 MB / 476.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.28e-05/0.5528, allocations: 86.17 kB / 476.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003018/0.5531, allocations: 108 kB / 476.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004225/0.5573, allocations: 1.495 MB / 477.7 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.038e-05/0.5574, allocations: 0 / 477.7 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.5576, allocations: 48 kB / 477.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.5576, allocations: 28 kB / 477.8 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003861/0.5615, allocations: 1.234 MB / 479.1 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01116/0.5727, allocations: 4.264 MB / 483.3 MB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.5747, allocations: 1.31 MB / 484.6 MB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.424e-05/0.5747, allocations: 8.438 kB / 484.6 MB, free: 2.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.5748, allocations: 42.94 kB / 484.7 MB, free: 2.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 3.396e-06/0.5748, allocations: 0 / 484.7 MB, free: 2.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.005414/0.5802, allocations: 1.97 MB / 486.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.5803, allocations: 63.84 kB / 486.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.5819, allocations: 0.7336 MB / 487.4 MB, free: 15.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.5821, allocations: 37.7 kB / 487.5 MB, free: 15.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/0.5825, allocations: 0.5517 MB / 488 MB, free: 14.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.5828, allocations: 173.5 kB / 488.2 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.5828, allocations: 12 kB / 488.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.583, allocations: 346.7 kB / 488.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008562/0.5839, allocations: 308.9 kB / 488.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009128/0.5848, allocations: 407.3 kB / 489.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009965/0.5858, allocations: 378 kB / 489.6 MB, free: 12.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5858, allocations: 0 / 489.6 MB, free: 12.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002309/0.5882, allocations: 0.8778 MB / 490.5 MB, free: 12.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.5882, allocations: 4 kB / 490.5 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.5882, allocations: 12.25 kB / 490.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.5887, allocations: 108.8 kB / 490.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.5897, allocations: 127.8 kB / 490.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/0.593, allocations: 2.185 MB / 492.9 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008483/0.5939, allocations: 36.03 kB / 493 MB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.594, allocations: 20 kB / 493 MB, free: 9.426 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001049/0.595, allocations: 449.5 kB / 493.4 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.5953, allocations: 71.16 kB / 493.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.5955, allocations: 99.06 kB / 493.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.5956, allocations: 4 kB / 493.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.5956, allocations: 7.953 kB / 493.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.5956, allocations: 0 / 493.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005234/0.6008, allocations: 2.023 MB / 495.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.6009, allocations: 0 / 495.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007377/0.6016, allocations: 91.88 kB / 495.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003929/0.6021, allocations: 108.8 kB / 495.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.6021, allocations: 15.98 kB / 495.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004056/0.6062, allocations: 2.151 MB / 498 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6063, allocations: 0 / 498 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004393/0.6107, allocations: 1.234 MB / 499.2 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005612/0.6113, allocations: 164.2 kB / 499.4 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.6115, allocations: 12 kB / 499.4 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.6126, allocations: 55.95 kB / 499.5 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/0.6129, allocations: 44.31 kB / 499.5 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.613, allocations: 12 kB / 499.5 MB, free: 2.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001885/0.6149, allocations: 0.581 MB / 0.4884 GB, free: 2.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6149, allocations: 0 / 0.4884 GB, free: 2.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001949/0.6169, allocations: 212 kB / 0.4886 GB, free: 1.836 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002979/0.6172, allocations: 115.2 kB / 0.4887 GB, free: 1.715 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00315/0.6204, allocations: 0.8321 MB / 0.4895 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.6204, allocations: 0 / 0.4895 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.6223, allocations: 485.5 kB / 0.49 GB, free: 392 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.6244, allocations: 167 kB / 0.4901 GB, free: 228 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2848/0.9093, allocations: 2.604 MB / 0.4927 GB, free: 102.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.9105, allocations: 1.335 MB / 0.494 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/0.9109, allocations: 49.38 kB / 0.494 GB, free: 101.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.243e-06/0.9109, allocations: 0.9844 kB / 0.494 GB, free: 101.8 MB / 378.7 MB Notification: Performance of Templates: time 0.03571/0.9466, allocations: 18.16 MB / 0.5117 GB, free: 97.63 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches