Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 116.1 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2269, allocations: 50.55 MB / 410 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02823/0.2551, allocations: 28.61 MB / 438.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.2704, allocations: 7.191 MB / 445.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005224/0.2756, allocations: 267.2 kB / 446 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.027/0.3027, allocations: 13.15 MB / 459.2 MB, free: 192 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008878/0.3116, allocations: 2.558 MB / 461.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005485/0.3171, allocations: 2.023 MB / 463.7 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02059/0.3377, allocations: 18.28 MB / 482 MB, free: 9.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06481/0.4025, allocations: 44.44 MB / 0.5141 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01203/0.4146, allocations: 9.956 MB / 0.5239 GB, free: 2.621 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01511/0.4297, allocations: 11.06 MB / 0.5346 GB, free: 7.523 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00605/0.4358, allocations: 2.918 MB / 0.5375 GB, free: 4.605 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008639/0.4444, allocations: 3.207 MB / 0.5406 GB, free: 1.398 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3735/0.818, allocations: 5.473 MB / 0.546 GB, free: 59.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01659/0.8346, allocations: 10.82 MB / 0.5565 GB, free: 58.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02895/0.8636, allocations: 39.11 MB / 0.5947 GB, free: 38.22 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8636, allocations: 0.8125 kB / 0.5947 GB, free: 38.22 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.8636, allocations: 0 / 0.5947 GB, free: 38.22 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008044/0.8644, allocations: 0.8125 kB / 0.5947 GB, free: 38.22 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.05173/0.9162, allocations: 22.32 MB / 0.6165 GB, free: 24.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.9162, allocations: 9.344 kB / 0.6165 GB, free: 24.28 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04173/0.958, allocations: 8.442 MB / 0.6248 GB, free: 16.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02131/0.9793, allocations: 11.65 MB / 0.6362 GB, free: 5.129 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/0.9804, allocations: 1.338 MB / 0.6375 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005709/0.9861, allocations: 1.754 MB / 0.6392 GB, free: 2.055 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0678/1.054, allocations: 28.71 MB / 0.6672 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006773/1.055, allocations: 27.83 kB / 0.6672 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005259/1.06, allocations: 0.732 MB / 0.668 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009011/1.061, allocations: 0.8415 MB / 0.6688 GB, free: 3.711 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04896/1.11, allocations: 24.79 MB / 0.693 GB, free: 10.91 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3239/1.434, allocations: 87.52 MB / 0.7785 GB, free: 143.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/1.453, allocations: 35.12 MB / 0.8128 GB, free: 115.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006677/1.46, allocations: 5.436 MB / 0.8181 GB, free: 115.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/1.46, allocations: 288.5 kB / 0.8183 GB, free: 115.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/1.46, allocations: 93.45 kB / 0.8184 GB, free: 115.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 7.865e-06/1.46, allocations: 0 / 0.8184 GB, free: 115.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.02808/1.488, allocations: 14.76 MB / 0.8328 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.488, allocations: 133.2 kB / 0.833 GB, free: 114.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007841/1.496, allocations: 6.431 MB / 0.8392 GB, free: 112.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000387/1.497, allocations: 116.4 kB / 0.8394 GB, free: 112.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003481/1.5, allocations: 7.905 MB / 0.8471 GB, free: 105.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/1.501, allocations: 2.101 MB / 0.8491 GB, free: 103.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002406/1.504, allocations: 2.098 MB / 0.8512 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.273e-05/1.504, allocations: 305.1 kB / 0.8515 GB, free: 102.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005294/1.509, allocations: 4.736 MB / 0.8561 GB, free: 99.73 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006646/1.516, allocations: 9.462 MB / 0.8653 GB, free: 90.73 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/1.529, allocations: 15.31 MB / 0.8803 GB, free: 73.68 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.331e-05/1.529, allocations: 48 kB / 0.8803 GB, free: 73.63 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01907/1.548, allocations: 15.4 MB / 0.8954 GB, free: 58.14 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.259e-05/1.548, allocations: 79.92 kB / 0.8954 GB, free: 58.06 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001653/1.548, allocations: 160 kB / 0.8956 GB, free: 57.91 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004913/1.553, allocations: 1.657 MB / 0.8972 GB, free: 56.25 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006675/1.56, allocations: 2.351 MB / 0.8995 GB, free: 53.89 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/1.572, allocations: 11.63 MB / 0.9109 GB, free: 42.14 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006728/1.579, allocations: 1.378 MB / 0.9122 GB, free: 40.75 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009752/1.58, allocations: 0.5273 MB / 0.9127 GB, free: 40.23 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * 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.009051/1.589, allocations: 7.141 MB / 0.9197 GB, free: 33.07 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009259/1.59, allocations: 0.6481 MB / 0.9203 GB, free: 32.41 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/1.603, allocations: 10.11 MB / 0.9302 GB, free: 22.2 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.272e-05/1.603, allocations: 27.89 kB / 0.9302 GB, free: 22.17 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.603, allocations: 0 / 0.9302 GB, free: 22.17 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002411/1.605, allocations: 1.476 MB / 0.9317 GB, free: 20.67 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009567/1.606, allocations: 96 kB / 0.9318 GB, free: 20.57 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/1.609, allocations: 315.6 kB / 0.9321 GB, free: 20.27 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006507/1.61, allocations: 400.1 kB / 0.9324 GB, free: 19.87 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01237/1.622, allocations: 9.041 MB / 0.9413 GB, free: 10.86 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0134/1.635, allocations: 12.04 MB / 0.953 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004606/1.64, allocations: 3.679 MB / 0.9566 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006357/1.646, allocations: 4.309 MB / 0.9608 GB, free: 6.699 MB / 0.5763 GB Notification: Performance of Backend: time 5.41e-07/1.646, allocations: 0 / 0.9608 GB, free: 6.699 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.2004/1.847, allocations: 8.485 MB / 0.9691 GB, free: 214.9 MB / 0.5763 GB Notification: Performance of SimCode: time 0.04474/1.892, allocations: 28.36 MB / 0.9968 GB, free: 205.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.156/2.048, allocations: 113.9 MB / 1.108 GB, free: 104.1 MB / 0.5763 GB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches