Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 109.7 kB / 18.4 MB, free: 4.676 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.001685/0.001685, allocations: 187 kB / 19.34 MB, free: 3.754 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.299/1.299, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00219/0.00219, allocations: 59.91 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0863/0.0885, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.1709/0.2594, allocations: 29.57 MB / 405.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.2748, allocations: 7.43 MB / 412.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005216/0.2801, allocations: 219.8 kB / 413 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02764/0.3078, allocations: 13.21 MB / 426.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.3179, allocations: 3.074 MB / 429.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005266/0.3232, allocations: 1.898 MB / 431.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01987/0.3431, allocations: 18.93 MB / 450.2 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05705/0.4001, allocations: 44.61 MB / 494.8 MB, free: 8.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01259/0.4127, allocations: 10.31 MB / 0.4932 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01467/0.4274, allocations: 11.53 MB / 0.5045 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00522/0.4327, allocations: 2.977 MB / 0.5074 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006064/0.4387, allocations: 3.222 MB / 0.5106 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004681/0.4434, allocations: 5.768 MB / 0.5162 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01322/0.4567, allocations: 11.22 MB / 0.5271 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3631/0.8198, allocations: 39.66 MB / 0.5659 GB, free: 85.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8198, allocations: 0 / 0.5659 GB, free: 85.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.8198, allocations: 0 / 0.5659 GB, free: 85.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007961/0.8206, allocations: 1.031 kB / 0.5659 GB, free: 85.16 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.06009/0.8807, allocations: 22.87 MB / 0.5882 GB, free: 75.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.8808, allocations: 7.688 kB / 0.5882 GB, free: 75.97 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0628/0.9436, allocations: 12.29 MB / 0.6002 GB, free: 70.47 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01964/0.9633, allocations: 10.55 MB / 0.6105 GB, free: 61.7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006318/0.9639, allocations: 1.399 MB / 0.6119 GB, free: 60.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004775/0.9687, allocations: 1.833 MB / 0.6137 GB, free: 58.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0567/1.025, allocations: 30.84 MB / 0.6438 GB, free: 27.63 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004536/1.026, allocations: 23.8 kB / 0.6438 GB, free: 27.61 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004348/1.03, allocations: 0.7581 MB / 0.6446 GB, free: 26.87 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006006/1.031, allocations: 0.9724 MB / 0.6455 GB, free: 25.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0448/1.076, allocations: 27.86 MB / 0.6727 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1365/1.212, allocations: 93.2 MB / 0.7637 GB, free: 212 kB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2137/1.426, allocations: 53.33 MB / 0.8158 GB, free: 158.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008292/1.434, allocations: 5.991 MB / 0.8217 GB, free: 156.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02211/1.456, allocations: 16.58 MB / 0.8378 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/1.456, allocations: 77.03 kB / 0.8379 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=427): time 5.47e-06/1.457, allocations: 3.781 kB / 0.8379 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=427): time 0.02829/1.485, allocations: 13.21 MB / 0.8508 GB, free: 144.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/1.485, allocations: 124.4 kB / 0.8509 GB, free: 144.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009199/1.494, allocations: 7.488 MB / 0.8583 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002743/1.494, allocations: 93.7 kB / 0.8583 GB, free: 138 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003039/1.497, allocations: 8.531 MB / 0.8667 GB, free: 130.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008956/1.498, allocations: 1.559 MB / 0.8682 GB, free: 129.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002701/1.501, allocations: 2.272 MB / 0.8704 GB, free: 127 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.063e-05/1.501, allocations: 309.1 kB / 0.8707 GB, free: 126.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005359/1.506, allocations: 4.701 MB / 0.8753 GB, free: 122.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007005/1.513, allocations: 10.41 MB / 0.8855 GB, free: 110 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/1.526, allocations: 15.98 MB / 0.9011 GB, free: 91.23 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.952e-05/1.526, allocations: 58.08 kB / 0.9011 GB, free: 91.18 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.01975/1.546, allocations: 16.01 MB / 0.9168 GB, free: 75.16 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.86e-05/1.546, allocations: 92 kB / 0.9169 GB, free: 75.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/1.546, allocations: 196 kB / 0.917 GB, free: 74.88 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004697/1.551, allocations: 1.7 MB / 0.9187 GB, free: 73.17 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00674/1.558, allocations: 2.503 MB / 0.9211 GB, free: 70.66 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/1.57, allocations: 11.52 MB / 0.9324 GB, free: 59.01 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006878/1.577, allocations: 1.556 MB / 0.9339 GB, free: 57.44 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006989/1.578, allocations: 0.5976 MB / 0.9345 GB, free: 56.84 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007964/1.586, allocations: 7.398 MB / 0.9417 GB, free: 49.42 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008548/1.586, allocations: 0.6248 MB / 0.9423 GB, free: 48.79 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.597, allocations: 8.087 MB / 0.9502 GB, free: 40.67 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.37e-05/1.597, allocations: 23.91 kB / 0.9503 GB, free: 40.64 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.597, allocations: 4 kB / 0.9503 GB, free: 40.64 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/1.599, allocations: 1.314 MB / 0.9515 GB, free: 39.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.6, allocations: 72 kB / 0.9516 GB, free: 39.23 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002944/1.603, allocations: 299.6 kB / 0.9519 GB, free: 38.94 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005324/1.604, allocations: 327 kB / 0.9522 GB, free: 38.62 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01046/1.614, allocations: 7.598 MB / 0.9596 GB, free: 31.09 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009913/1.624, allocations: 9.714 MB / 0.9691 GB, free: 21.32 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002863/1.627, allocations: 3.018 MB / 0.9721 GB, free: 18.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005666/1.632, allocations: 4.926 MB / 0.9769 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of Backend: time 2.61e-07/1.632, allocations: 0 / 0.9769 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01132/1.644, allocations: 8.608 MB / 0.9853 GB, free: 4.844 MB / 0.5607 GB Notification: Performance of SimCode: time 0.2093/1.853, allocations: 28.95 MB / 1.014 GB, free: 209.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.1547/2.008, allocations: 114.4 MB / 1.125 GB, free: 115.3 MB / 0.5607 GB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches