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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 110.5 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 43.94 kB / 328.6 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1493, allocations: 46.62 MB / 375.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006284/0.1557, allocations: 4.049 MB / 379.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2936/0.4493, allocations: 0.9069 MB / 380.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005/0.4499, allocations: 9.406 kB / 380.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.4503, allocations: 93.45 kB / 380.2 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.4508, allocations: 176.8 kB / 380.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.4513, allocations: 145.1 kB / 380.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008747/0.4522, allocations: 0.6715 MB / 381.2 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004788/0.4527, allocations: 209.4 kB / 381.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.4531, allocations: 254.3 kB / 381.7 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/0.4535, allocations: 292.7 kB / 381.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.4537, allocations: 59.47 kB / 382 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.4539, allocations: 55.03 kB / 382.1 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.454, allocations: 125.2 kB / 382.2 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003426/0.4543, allocations: 303.7 kB / 382.5 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.4555, allocations: 0.6449 MB / 383.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.4555, allocations: 1.094 kB / 383.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.4555, allocations: 4.734 kB / 383.1 MB, free: 9.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.4555, allocations: 0 / 383.1 MB, free: 9.164 MB / 318.1 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.001945/0.4575, allocations: 0.8749 MB / 384 MB, free: 8.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.312e-05/0.4576, allocations: 13.11 kB / 384 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.4577, allocations: 65.31 kB / 384.1 MB, free: 8.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007861/0.4585, allocations: 381.8 kB / 384.5 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.94e-05/0.4586, allocations: 38.56 kB / 384.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.4587, allocations: 47.97 kB / 384.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.4598, allocations: 476.5 kB / 385 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.4598, allocations: 3.938 kB / 385 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/0.4599, allocations: 25.47 kB / 385 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.4599, allocations: 11.78 kB / 385 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006737/0.4606, allocations: 335.3 kB / 385.4 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/0.4636, allocations: 1.677 MB / 387 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.4642, allocations: 270.6 kB / 387.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.4645, allocations: 141.9 kB / 387.5 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.4646, allocations: 7.312 kB / 387.5 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.4646, allocations: 37.64 kB / 387.5 MB, free: 6.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.013e-06/0.4646, allocations: 4 kB / 387.5 MB, free: 6.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.002229/0.4669, allocations: 0.9653 MB / 388.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.4669, allocations: 81.52 kB / 388.5 MB, free: 5.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.4676, allocations: 382.7 kB / 388.9 MB, free: 5.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.4676, allocations: 32.05 kB / 388.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.4678, allocations: 293.2 kB / 389.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.4679, allocations: 118.3 kB / 389.4 MB, free: 5.289 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.4681, allocations: 76.45 kB / 389.4 MB, free: 5.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.4683, allocations: 355.9 kB / 389.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.4686, allocations: 108.1 kB / 389.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.4689, allocations: 190.8 kB / 390.1 MB, free: 4.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006499/0.4696, allocations: 315.1 kB / 390.4 MB, free: 4.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4696, allocations: 1.094 kB / 390.4 MB, free: 4.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000891/0.4705, allocations: 444 kB / 390.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.4705, allocations: 6.953 kB / 390.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4705, allocations: 3.156 kB / 390.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000373/0.4709, allocations: 85.91 kB / 390.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.4713, allocations: 78.69 kB / 391 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.4735, allocations: 3.127 MB / 394.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.4738, allocations: 21.73 kB / 394.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.4739, allocations: 20.33 kB / 394.1 MB, free: 1.188 MB / 318.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002227/0.4741, allocations: 167.8 kB / 394.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4742, allocations: 41.11 kB / 394.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.741e-05/0.4743, allocations: 50.58 kB / 394.4 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.4743, allocations: 3.344 kB / 394.4 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/0.4743, allocations: 6.312 kB / 394.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4743, allocations: 2.719 kB / 394.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.476, allocations: 0.9289 MB / 395.3 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.476, allocations: 2.625 kB / 395.3 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.4762, allocations: 41.28 kB / 395.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003038/0.4765, allocations: 85.38 kB / 395.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.4765, allocations: 7.984 kB / 395.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.4795, allocations: 3.14 MB / 398.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4796, allocations: 2.344 kB / 398.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.4806, allocations: 0.604 MB / 399.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.4808, allocations: 124.6 kB / 399.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.4808, allocations: 9.078 kB / 399.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.4812, allocations: 30.58 kB / 399.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.4813, allocations: 28.45 kB / 399.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.4813, allocations: 11.05 kB / 399.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003505/0.4817, allocations: 280.3 kB / 399.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4817, allocations: 0 / 399.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000664/0.4823, allocations: 116.6 kB / 399.8 MB, free: 12.59 MB / 334.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001957/0.4825, allocations: 114.8 kB / 399.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.4837, allocations: 0.5081 MB / 400.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.4837, allocations: 1.281 kB / 400.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006777/0.4844, allocations: 387.8 kB / 400.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.4849, allocations: 63.66 kB / 400.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.4871, allocations: 0.9576 MB / 401.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.4877, allocations: 0.832 MB / 402.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002481/0.488, allocations: 48.09 kB / 402.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.4881, allocations: 30.31 kB / 402.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of SimCode: time 3.557e-06/0.4881, allocations: 0 / 402.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of Templates: time 0.01597/0.5041, allocations: 4.753 MB / 407.5 MB, free: 9.23 MB / 334.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches