Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 179.2 kB / 8.477 MB, free: 1.848 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.109/1.109, allocations: 205.2 MB / 214.1 MB, free: 5.145 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008851/0.0008851, allocations: 86.27 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.35e-06/5.37e-06, allocations: 0 / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06419/0.06421, allocations: 47.57 MB / 362.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2085/0.2728, allocations: 91.24 MB / 453.8 MB, free: 8.699 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.273, allocations: 83.58 kB / 453.9 MB, free: 8.688 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1791/0.4521, allocations: 73.29 MB / 0.5148 GB, free: 15.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002008/0.4523, allocations: 91.81 kB / 0.5149 GB, free: 15.61 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.006776/0.4591, allocations: 2.888 MB / 0.5177 GB, free: 12.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4592, allocations: 8.031 kB / 0.5177 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.4609, allocations: 395.7 kB / 0.5181 GB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004853/0.4658, allocations: 2.182 MB / 0.5202 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.4659, allocations: 99.98 kB / 0.5203 GB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006339/0.4666, allocations: 175.9 kB / 0.5205 GB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005492/0.4721, allocations: 3.022 MB / 0.5234 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006756/0.4788, allocations: 3.692 MB / 0.527 GB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.223e-05/0.4789, allocations: 4 kB / 0.5271 GB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002688/0.4792, allocations: 3.984 kB / 0.5271 GB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/0.4794, allocations: 141.9 kB / 0.5272 GB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01945/0.4988, allocations: 10.5 MB / 0.5374 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.501, allocations: 1.512 MB / 0.5389 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/0.5028, allocations: 1.35 MB / 0.5402 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003085/0.5032, allocations: 142 kB / 0.5404 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.5032, allocations: 47.56 kB / 0.5404 GB, free: 4.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=128): time 3.426e-06/0.5032, allocations: 4 kB / 0.5404 GB, free: 4.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.007838/0.5111, allocations: 4.319 MB / 0.5446 GB, free: 0.582 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.5111, allocations: 94.41 kB / 0.5447 GB, free: 480 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.5132, allocations: 1.456 MB / 0.5462 GB, free: 15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.577e-05/0.5133, allocations: 29.7 kB / 0.5462 GB, free: 14.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00064/0.514, allocations: 1.087 MB / 0.5472 GB, free: 13.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.5143, allocations: 433.4 kB / 0.5477 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.392e-05/0.5144, allocations: 0 / 0.5477 GB, free: 13.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5145, allocations: 373.8 kB / 0.548 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.5156, allocations: 0.7965 MB / 0.5488 GB, free: 12.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.5169, allocations: 1.13 MB / 0.5499 GB, free: 11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.5183, allocations: 1.002 MB / 0.5509 GB, free: 9.996 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.5183, allocations: 4 kB / 0.5509 GB, free: 9.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003849/0.5222, allocations: 2.387 MB / 0.5532 GB, free: 7.598 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5222, allocations: 13.86 kB / 0.5532 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/0.5223, allocations: 12 kB / 0.5532 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.5233, allocations: 376.7 kB / 0.5536 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.5248, allocations: 319.5 kB / 0.5539 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005161/0.53, allocations: 3.963 MB / 0.5578 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.5314, allocations: 51.92 kB / 0.5578 GB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.5316, allocations: 63.98 kB / 0.5579 GB, free: 2.688 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000287/0.5319, allocations: 136.5 kB / 0.558 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003978/0.5323, allocations: 169.9 kB / 0.5582 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003652/0.536, allocations: 2.102 MB / 0.5602 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.536, allocations: 12 kB / 0.5602 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.536, allocations: 4 kB / 0.5602 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.536, allocations: 7.969 kB / 0.5602 GB, free: 244 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008694/0.5447, allocations: 4.686 MB / 0.5648 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/0.5448, allocations: 7.938 kB / 0.5648 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.546, allocations: 219.7 kB / 0.565 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009969/0.547, allocations: 352.6 kB / 0.5654 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/0.5471, allocations: 15.98 kB / 0.5654 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0051/0.5522, allocations: 3.959 MB / 0.5693 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.5522, allocations: 3.984 kB / 0.5693 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004969/0.5572, allocations: 3.294 MB / 0.5725 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009887/0.5582, allocations: 450.9 kB / 0.5729 GB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/0.5585, allocations: 8 kB / 0.5729 GB, free: 2.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.5596, allocations: 75.98 kB / 0.573 GB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.5598, allocations: 64.89 kB / 0.5731 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.5599, allocations: 43.98 kB / 0.5731 GB, free: 2.793 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001638/0.5615, allocations: 1.107 MB / 0.5742 GB, free: 1.688 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001769/0.5633, allocations: 0.5077 MB / 0.5747 GB, free: 1.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004337/0.5637, allocations: 206.8 kB / 0.5749 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1078/0.6715, allocations: 2.173 MB / 0.577 GB, free: 138.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6716, allocations: 0 / 0.577 GB, free: 138.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.6731, allocations: 1.237 MB / 0.5782 GB, free: 138.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.6748, allocations: 348.4 kB / 0.5785 GB, free: 138.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00887/0.6837, allocations: 4.635 MB / 0.5831 GB, free: 137.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002222/0.686, allocations: 2.598 MB / 0.5856 GB, free: 137 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.686, allocations: 3.25 kB / 0.5856 GB, free: 137 MB / 426.7 MB Notification: Performance of Templates: time 0.03611/0.7221, allocations: 24.49 MB / 0.6095 GB, free: 136.1 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches