Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.431/1.431, allocations: 205.4 MB / 224.2 MB, free: 9.039 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.0007452/0.0007453, allocations: 85.05 kB / 272.5 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 12 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2307, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08816/0.3189, allocations: 79 MB / 456 MB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.3192, allocations: 71.95 kB / 456.1 MB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02635/0.3456, allocations: 8.063 MB / 464.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.3457, allocations: 0 / 464.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.974e-05/0.3457, allocations: 12 kB / 464.2 MB, free: 9.379 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002109/0.3478, allocations: 0.7757 MB / 464.9 MB, free: 8.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.3479, allocations: 12.03 kB / 465 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.3483, allocations: 64.19 kB / 465 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007412/0.349, allocations: 371.6 kB / 465.4 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.3491, allocations: 37.38 kB / 465.4 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3492, allocations: 52.38 kB / 465.5 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.3505, allocations: 475.7 kB / 465.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.3505, allocations: 192 / 465.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.3506, allocations: 27.94 kB / 466 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.3506, allocations: 12 kB / 466 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.3517, allocations: 336.3 kB / 466.3 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004654/0.3564, allocations: 1.718 MB / 468 MB, free: 5.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008515/0.3572, allocations: 269 kB / 468.3 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004492/0.3577, allocations: 147.1 kB / 468.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.3578, allocations: 4 kB / 468.4 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.3578, allocations: 38.55 kB / 468.5 MB, free: 4.844 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 6.783e-06/0.3579, allocations: 0 / 468.5 MB, free: 4.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.003201/0.3611, allocations: 0.9664 MB / 469.4 MB, free: 3.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.3611, allocations: 85.09 kB / 469.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/0.3619, allocations: 381.5 kB / 469.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.3619, allocations: 33.7 kB / 469.9 MB, free: 3.281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.3622, allocations: 287.5 kB / 470.2 MB, free: 2.996 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.3624, allocations: 118.3 kB / 470.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.3625, allocations: 4 kB / 470.3 MB, free: 2.875 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.3627, allocations: 354.7 kB / 470.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/0.3631, allocations: 104.8 kB / 470.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.3636, allocations: 202.5 kB / 471 MB, free: 2.184 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009131/0.3645, allocations: 316.7 kB / 471.3 MB, free: 1.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3646, allocations: 0 / 471.3 MB, free: 1.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001542/0.3661, allocations: 447.5 kB / 471.7 MB, free: 1.395 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.3661, allocations: 6.5 kB / 471.7 MB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3662, allocations: 7.938 kB / 471.7 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/0.3668, allocations: 89.86 kB / 471.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/0.3674, allocations: 83.83 kB / 471.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/0.3714, allocations: 2.853 MB / 474.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.372, allocations: 31.92 kB / 474.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.372, allocations: 16 kB / 474.8 MB, free: 14.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003498/0.3724, allocations: 157.8 kB / 475 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.3726, allocations: 43.47 kB / 475 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.3727, allocations: 51.45 kB / 475 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3728, allocations: 0 / 475 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3728, allocations: 4 kB / 475.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.3728, allocations: 4 kB / 475.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.3752, allocations: 0.9439 MB / 476 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3753, allocations: 0 / 476 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.3756, allocations: 47.91 kB / 476 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005045/0.3762, allocations: 81.64 kB / 476.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.3762, allocations: 8 kB / 476.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/0.3798, allocations: 2.853 MB / 479 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3798, allocations: 0 / 479 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.3815, allocations: 0.6285 MB / 479.6 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.3817, allocations: 120.6 kB / 479.7 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/0.3818, allocations: 7.938 kB / 479.7 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.3825, allocations: 43.91 kB / 479.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.3826, allocations: 27.97 kB / 479.8 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.3827, allocations: 8 kB / 479.8 MB, free: 8.621 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005273/0.3832, allocations: 267.2 kB / 480.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3832, allocations: 0 / 480.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001138/0.3844, allocations: 124 kB / 480.2 MB, free: 8.238 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002347/0.3846, allocations: 115.1 kB / 480.3 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.3863, allocations: 0.5051 MB / 480.8 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.3863, allocations: 0 / 480.8 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.3873, allocations: 408.7 kB / 481.2 MB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.3884, allocations: 63.64 kB / 481.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.3916, allocations: 1.173 MB / 482.5 MB, free: 5.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.3922, allocations: 0.8315 MB / 483.3 MB, free: 5.047 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003999/0.3926, allocations: 43.28 kB / 483.3 MB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.3928, allocations: 35.42 kB / 483.4 MB, free: 4.969 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3928, allocations: 0 / 483.4 MB, free: 4.969 MB / 362.7 MB Notification: Performance of Templates: time 0.01748/0.4103, allocations: 4.287 MB / 487.6 MB, free: 0.6953 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches