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.001494/0.001494, allocations: 114.4 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.0019/0.0019, 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.555/1.555, 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.001263/0.001263, allocations: 47.94 kB / 328.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1236, allocations: 46.62 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006856/0.1305, allocations: 4.038 MB / 379.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2986/0.4292, allocations: 0.9086 MB / 380.1 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008028/0.4301, allocations: 11.38 kB / 380.1 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.4306, allocations: 93.91 kB / 380.2 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007437/0.4314, allocations: 178.8 kB / 380.4 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.432, allocations: 140.4 kB / 380.5 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009631/0.433, allocations: 0.672 MB / 381.2 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005399/0.4336, allocations: 208 kB / 381.4 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005551/0.4341, allocations: 256.9 kB / 381.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005108/0.4347, allocations: 294.8 kB / 381.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.4348, allocations: 54.66 kB / 382 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.435, allocations: 55.38 kB / 382.1 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.4352, allocations: 129.6 kB / 382.2 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004663/0.4356, allocations: 304.5 kB / 382.5 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4367, allocations: 0.6406 MB / 383.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4367, allocations: 0 / 383.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4368, allocations: 0 / 383.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.4368, allocations: 0 / 383.1 MB, free: 9.172 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.002165/0.4389, allocations: 0.8617 MB / 384 MB, free: 8.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.671e-05/0.439, allocations: 13.8 kB / 384 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.4392, allocations: 64.66 kB / 384.1 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007665/0.44, allocations: 375.1 kB / 384.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.4401, allocations: 37 kB / 384.5 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.4402, allocations: 49.17 kB / 384.5 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.4415, allocations: 480 kB / 385 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.4415, allocations: 3.938 kB / 385 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/0.4416, allocations: 17.31 kB / 385 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.4416, allocations: 13.52 kB / 385 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007398/0.4424, allocations: 338.3 kB / 385.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003273/0.4456, allocations: 1.677 MB / 387 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.4462, allocations: 271.9 kB / 387.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.4465, allocations: 141.8 kB / 387.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.4466, allocations: 3.75 kB / 387.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.4466, allocations: 44 kB / 387.5 MB, free: 6.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.885e-06/0.4466, allocations: 0 / 387.5 MB, free: 6.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.002277/0.4489, allocations: 0.9494 MB / 388.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.4489, allocations: 85.59 kB / 388.5 MB, free: 5.891 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005633/0.4495, allocations: 377.9 kB / 388.9 MB, free: 5.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.4496, allocations: 33.52 kB / 388.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.4498, allocations: 286.2 kB / 389.2 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.571e-05/0.4499, allocations: 113.1 kB / 389.3 MB, free: 5.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.45, allocations: 75.67 kB / 389.4 MB, free: 5.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4501, allocations: 355.9 kB / 389.7 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.4504, allocations: 107 kB / 389.8 MB, free: 4.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.4507, allocations: 193.9 kB / 390 MB, free: 4.785 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/0.4512, allocations: 305.5 kB / 390.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4512, allocations: 1.766 kB / 390.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009537/0.4522, allocations: 447.5 kB / 390.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4522, allocations: 6.219 kB / 390.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4522, allocations: 3.562 kB / 390.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.4526, allocations: 86.3 kB / 390.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.453, allocations: 78.3 kB / 390.9 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/0.4555, allocations: 3.134 MB / 394.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.4559, allocations: 16.72 kB / 394.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.456, allocations: 16.66 kB / 394.1 MB, free: 1.254 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.0003439/0.4563, allocations: 167.8 kB / 394.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.4565, allocations: 41.17 kB / 394.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.416e-05/0.4566, allocations: 46.78 kB / 394.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.4566, allocations: 3.438 kB / 394.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/0.4566, allocations: 9.719 kB / 394.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4566, allocations: 3.062 kB / 394.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.4584, allocations: 0.9273 MB / 395.3 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4584, allocations: 2.438 kB / 395.3 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.4586, allocations: 42.28 kB / 395.3 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00036/0.459, allocations: 94.11 kB / 395.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.459, allocations: 6.859 kB / 395.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003092/0.4621, allocations: 3.128 MB / 398.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.4621, allocations: 5.344 kB / 398.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.4635, allocations: 0.6092 MB / 399.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.4637, allocations: 116.1 kB / 399.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.4637, allocations: 6.312 kB / 399.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.4641, allocations: 39.45 kB / 399.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.4642, allocations: 19.16 kB / 399.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.4643, allocations: 17.38 kB / 399.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004459/0.4647, allocations: 272 kB / 399.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4647, allocations: 0 / 399.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009791/0.4657, allocations: 119.4 kB / 399.7 MB, free: 12.66 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.0002618/0.466, allocations: 116.5 kB / 399.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.4674, allocations: 0.5149 MB / 400.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4675, allocations: 1.344 kB / 400.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007436/0.4682, allocations: 380.3 kB / 400.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.4688, allocations: 61.67 kB / 400.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.4713, allocations: 0.9391 MB / 401.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.472, allocations: 0.8414 MB / 402.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.4723, allocations: 38.53 kB / 402.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.4724, allocations: 38.48 kB / 402.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4724, allocations: 0 / 402.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of Templates: time 0.01359/0.486, allocations: 4.753 MB / 407.4 MB, free: 9.312 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