Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [: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 trunk/package.mo): time 0.00112/0.00112, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008682/0.0008684, allocations: 89.38 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.031e-05/1.033e-05, allocations: 4 kB / 343.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.09906, allocations: 51.47 MB / 394.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2706/0.3697, allocations: 87.16 MB / 481.8 MB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.3699, allocations: 81.2 kB / 481.9 MB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05983/0.4298, allocations: 27.52 MB / 0.4974 GB, free: 15.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.348e-05/0.4298, allocations: 16 kB / 0.4975 GB, free: 15.79 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002193/0.432, allocations: 1.036 MB / 0.4985 GB, free: 14.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4321, allocations: 12.02 kB / 0.4985 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003408/0.4355, allocations: 0.5207 MB / 0.499 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/0.4362, allocations: 431.8 kB / 0.4994 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.4362, allocations: 32 kB / 0.4994 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.4363, allocations: 52 kB / 0.4995 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001372/0.4377, allocations: 0.824 MB / 0.5003 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.4389, allocations: 0.7752 MB / 0.501 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.439, allocations: 0 / 0.501 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.6e-05/0.439, allocations: 3.984 kB / 0.501 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.4391, allocations: 24 kB / 0.5011 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004768/0.4438, allocations: 3.394 MB / 0.5044 GB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008147/0.4447, allocations: 0.5841 MB / 0.505 GB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.445, allocations: 236.5 kB / 0.5052 GB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.4452, allocations: 178.8 kB / 0.5054 GB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.4452, allocations: 39.22 kB / 0.5054 GB, free: 7.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.304e-06/0.4452, allocations: 4 kB / 0.5054 GB, free: 7.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001095/0.4463, allocations: 0.5034 MB / 0.5059 GB, free: 6.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.4464, allocations: 115.5 kB / 0.506 GB, free: 6.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.4466, allocations: 212 kB / 0.5062 GB, free: 6.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.4466, allocations: 25.7 kB / 0.5062 GB, free: 6.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.4468, allocations: 374.6 kB / 0.5066 GB, free: 6.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.447, allocations: 216.8 kB / 0.5068 GB, free: 5.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.447, allocations: 0 / 0.5068 GB, free: 5.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4471, allocations: 346.8 kB / 0.5071 GB, free: 5.488 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.4474, allocations: 197.6 kB / 0.5073 GB, free: 5.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.4478, allocations: 399.7 kB / 0.5077 GB, free: 4.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006786/0.4485, allocations: 287 kB / 0.508 GB, free: 4.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4485, allocations: 0 / 0.508 GB, free: 4.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00123/0.4497, allocations: 0.6911 MB / 0.5086 GB, free: 3.836 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.4498, allocations: 4.125 kB / 0.5086 GB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.4498, allocations: 12 kB / 0.5086 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.4498, allocations: 13.03 kB / 0.5087 GB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/0.4506, allocations: 187.7 kB / 0.5088 GB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.4506, allocations: 15.94 kB / 0.5089 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004307/0.451, allocations: 71.2 kB / 0.5089 GB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.4511, allocations: 39.98 kB / 0.509 GB, free: 3.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.4512, allocations: 124.6 kB / 0.5091 GB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.4514, allocations: 35.53 kB / 0.5091 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.4526, allocations: 0.6213 MB / 0.5097 GB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4526, allocations: 11.91 kB / 0.5097 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4526, allocations: 4 kB / 0.5097 GB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.4527, allocations: 3.984 kB / 0.5097 GB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.4548, allocations: 1.36 MB / 0.5111 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4549, allocations: 0 / 0.5111 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.4555, allocations: 143.9 kB / 0.5112 GB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.4555, allocations: 4 kB / 0.5112 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.4556, allocations: 0 / 0.5112 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.4556, allocations: 4 kB / 0.5112 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.4556, allocations: 7.844 kB / 0.5112 GB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001471/0.4571, allocations: 1.083 MB / 0.5123 GB, free: 4 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.4572, allocations: 132.4 kB / 0.5124 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/0.4573, allocations: 3.906 kB / 0.5124 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.4577, allocations: 15.98 kB / 0.5124 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.4578, allocations: 40.66 kB / 0.5125 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.4578, allocations: 20 kB / 0.5125 GB, free: 15.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001565/0.458, allocations: 156.5 kB / 0.5126 GB, free: 15.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007965/0.4588, allocations: 219.1 kB / 0.5128 GB, free: 15.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002975/0.4591, allocations: 159.1 kB / 0.513 GB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008836/0.46, allocations: 0.5574 MB / 0.5135 GB, free: 14.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.46, allocations: 1.5 kB / 0.5135 GB, free: 14.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.4604, allocations: 282.4 kB / 0.5138 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.4607, allocations: 16.05 kB / 0.5138 GB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.4626, allocations: 0.9067 MB / 0.5147 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/0.4632, allocations: 0.9742 MB / 0.5157 GB, free: 12.46 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4632, allocations: 0 / 0.5157 GB, free: 12.46 MB / 394.7 MB Notification: Performance of Templates: time 0.01144/0.4747, allocations: 6.252 MB / 0.5218 GB, free: 6.273 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches