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.001054/0.001054, allocations: 107.2 kB / 18.4 MB, free: 4.672 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.00109/0.00109, allocations: 187.3 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.337/1.337, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001173/0.001173, allocations: 55.91 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0726/0.07378, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.1728/0.2467, allocations: 29.57 MB / 405.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.2623, allocations: 7.427 MB / 412.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005193/0.2676, allocations: 219.4 kB / 413 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0273/0.2949, allocations: 13.21 MB / 426.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009843/0.3047, allocations: 3.074 MB / 429.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004979/0.3097, allocations: 1.906 MB / 431.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01896/0.3287, allocations: 18.93 MB / 450.2 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06342/0.3921, allocations: 44.61 MB / 494.8 MB, free: 8.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01358/0.4057, allocations: 10.31 MB / 0.4932 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01597/0.4217, allocations: 11.53 MB / 0.5045 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006315/0.4281, allocations: 2.977 MB / 0.5074 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008394/0.4365, allocations: 3.23 MB / 0.5106 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007648/0.4441, allocations: 5.76 MB / 0.5162 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01595/0.4601, allocations: 11.22 MB / 0.5271 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3651/0.8252, allocations: 39.65 MB / 0.5659 GB, free: 85.14 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.8253, allocations: 0 / 0.5659 GB, free: 85.14 MB / 478.2 MB Notification: Performance of FrontEnd: time 1.413e-06/0.8253, allocations: 4.531 kB / 0.5659 GB, free: 85.14 MB / 478.2 MB Notification: Performance of Transformations before backend: time 0.0007547/0.826, allocations: 0 / 0.5659 GB, free: 85.14 MB / 478.2 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.05928/0.8853, allocations: 22.88 MB / 0.5882 GB, free: 76.04 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.8854, allocations: 7.75 kB / 0.5882 GB, free: 76.04 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06429/0.9497, allocations: 12.28 MB / 0.6002 GB, free: 70.54 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02293/0.9726, allocations: 10.55 MB / 0.6105 GB, free: 61.76 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006598/0.9733, allocations: 1.406 MB / 0.6119 GB, free: 60.37 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005251/0.9786, allocations: 1.825 MB / 0.6137 GB, free: 58.56 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05357/1.032, allocations: 30.85 MB / 0.6438 GB, free: 27.68 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003193/1.032, allocations: 19.81 kB / 0.6438 GB, free: 27.66 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002261/1.035, allocations: 0.7585 MB / 0.6446 GB, free: 26.92 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005869/1.035, allocations: 0.9732 MB / 0.6455 GB, free: 25.94 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04245/1.078, allocations: 27.86 MB / 0.6727 GB, free: 14.05 MB / 494.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1402/1.218, allocations: 93.21 MB / 0.7637 GB, free: 252 kB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2159/1.434, allocations: 53.32 MB / 0.8158 GB, free: 158.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008299/1.442, allocations: 5.994 MB / 0.8217 GB, free: 156.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02463/1.467, allocations: 16.59 MB / 0.8379 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/1.467, allocations: 77.59 kB / 0.8379 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=427): time 5.691e-06/1.467, allocations: 0 / 0.8379 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=427): time 0.02721/1.494, allocations: 13.21 MB / 0.8508 GB, free: 144.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/1.494, allocations: 120.5 kB / 0.8509 GB, free: 144.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007756/1.502, allocations: 7.485 MB / 0.8583 GB, free: 138.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002679/1.502, allocations: 93.7 kB / 0.8583 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002785/1.505, allocations: 8.527 MB / 0.8667 GB, free: 130.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008355/1.506, allocations: 1.563 MB / 0.8682 GB, free: 129.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002415/1.508, allocations: 2.271 MB / 0.8704 GB, free: 127.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.204e-05/1.508, allocations: 309.1 kB / 0.8707 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005045/1.513, allocations: 4.703 MB / 0.8753 GB, free: 122.9 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006527/1.52, allocations: 10.4 MB / 0.8855 GB, free: 110.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/1.532, allocations: 15.98 MB / 0.9011 GB, free: 91.34 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.192e-05/1.533, allocations: 60 kB / 0.9011 GB, free: 91.29 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.01868/1.551, allocations: 16 MB / 0.9168 GB, free: 75.27 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.96e-05/1.551, allocations: 94.16 kB / 0.9168 GB, free: 75.18 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/1.551, allocations: 198 kB / 0.917 GB, free: 74.99 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004657/1.556, allocations: 1.7 MB / 0.9187 GB, free: 73.28 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006713/1.563, allocations: 2.507 MB / 0.9211 GB, free: 70.77 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/1.575, allocations: 11.52 MB / 0.9324 GB, free: 59.12 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007176/1.582, allocations: 1.552 MB / 0.9339 GB, free: 57.55 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006434/1.583, allocations: 0.6015 MB / 0.9345 GB, free: 56.95 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.008067/1.591, allocations: 7.399 MB / 0.9417 GB, free: 49.54 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008231/1.592, allocations: 0.6248 MB / 0.9423 GB, free: 48.9 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.603, allocations: 8.091 MB / 0.9502 GB, free: 40.78 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/1.603, allocations: 23.91 kB / 0.9503 GB, free: 40.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.138e-06/1.603, allocations: 0 / 0.9503 GB, free: 40.75 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002422/1.605, allocations: 1.316 MB / 0.9515 GB, free: 39.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007458/1.606, allocations: 72 kB / 0.9516 GB, free: 39.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/1.608, allocations: 295.6 kB / 0.9519 GB, free: 39.05 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005196/1.609, allocations: 327 kB / 0.9522 GB, free: 38.73 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01032/1.619, allocations: 7.599 MB / 0.9596 GB, free: 31.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009994/1.629, allocations: 9.718 MB / 0.9691 GB, free: 21.43 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002898/1.632, allocations: 3.018 MB / 0.9721 GB, free: 18.41 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006266/1.638, allocations: 4.928 MB / 0.9769 GB, free: 13.5 MB / 0.5607 GB Notification: Performance of Backend: time 9.92e-07/1.638, allocations: 4 kB / 0.9769 GB, free: 13.49 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01302/1.651, allocations: 8.595 MB / 0.9853 GB, free: 4.957 MB / 0.5607 GB Notification: Performance of SimCode: time 0.2064/1.858, allocations: 28.95 MB / 1.014 GB, free: 209.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.1553/2.013, allocations: 114.4 MB / 1.125 GB, free: 115.4 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