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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008948/0.0008948, allocations: 89.27 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.103e-05, allocations: 4 kB / 350.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09806/0.09811, allocations: 51.49 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4466/0.5448, allocations: 87.91 MB / 489.9 MB, free: 1.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.545, allocations: 77.89 kB / 490 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06499/0.61, allocations: 28.23 MB / 0.5061 GB, free: 6.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6101, allocations: 0 / 0.5061 GB, free: 6.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.659e-05/0.6101, allocations: 16 kB / 0.5061 GB, free: 6.688 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.002601/0.6127, allocations: 1.024 MB / 0.5071 GB, free: 5.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.6128, allocations: 9.25 kB / 0.5071 GB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00315/0.616, allocations: 0.4946 MB / 0.5076 GB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.6167, allocations: 416.8 kB / 0.508 GB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.6168, allocations: 77.61 kB / 0.5081 GB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.617, allocations: 95.91 kB / 0.5082 GB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.6188, allocations: 0.9354 MB / 0.5091 GB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.6188, allocations: 4 kB / 0.5091 GB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.998e-05/0.6189, allocations: 40 kB / 0.5091 GB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.6189, allocations: 28 kB / 0.5091 GB, free: 3.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.6205, allocations: 0.8669 MB / 0.51 GB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005452/0.626, allocations: 3.558 MB / 0.5135 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/0.6282, allocations: 2.222 MB / 0.5156 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.6286, allocations: 261.8 kB / 0.5159 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.6288, allocations: 180.4 kB / 0.5161 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.6288, allocations: 39.12 kB / 0.5161 GB, free: 11.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=65): time 2.555e-06/0.6289, allocations: 0 / 0.5161 GB, free: 11.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.0008737/0.6297, allocations: 494.6 kB / 0.5166 GB, free: 11.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.6298, allocations: 115.3 kB / 0.5167 GB, free: 11.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.6301, allocations: 242.8 kB / 0.5169 GB, free: 10.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.6301, allocations: 41.64 kB / 0.5169 GB, free: 10.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.6304, allocations: 378.6 kB / 0.5173 GB, free: 10.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.6305, allocations: 224.8 kB / 0.5175 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.6306, allocations: 12 kB / 0.5175 GB, free: 10.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6307, allocations: 354.9 kB / 0.5179 GB, free: 9.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.631, allocations: 201.5 kB / 0.5181 GB, free: 9.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.6315, allocations: 397.2 kB / 0.5184 GB, free: 9.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.6319, allocations: 271.1 kB / 0.5187 GB, free: 8.941 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.6319, allocations: 4 kB / 0.5187 GB, free: 8.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001076/0.633, allocations: 0.6975 MB / 0.5194 GB, free: 8.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.633, allocations: 8 kB / 0.5194 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.6331, allocations: 8 kB / 0.5194 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/0.6331, allocations: 12.56 kB / 0.5194 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/0.6338, allocations: 188.2 kB / 0.5196 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/0.6338, allocations: 19.98 kB / 0.5196 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/0.6343, allocations: 83.17 kB / 0.5197 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.6343, allocations: 31.98 kB / 0.5197 GB, free: 7.887 MB / 394.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.0001371/0.6345, allocations: 152.7 kB / 0.5199 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.6346, allocations: 41.41 kB / 0.5199 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.6356, allocations: 0.6047 MB / 0.5205 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.6356, allocations: 12 kB / 0.5205 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6356, allocations: 0 / 0.5205 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.6356, allocations: 7.984 kB / 0.5205 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.6378, allocations: 1.436 MB / 0.5219 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6379, allocations: 4 kB / 0.5219 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005675/0.6384, allocations: 143.8 kB / 0.5221 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.6385, allocations: 0 / 0.5221 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.6385, allocations: 23.98 kB / 0.5221 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.6385, allocations: 4 kB / 0.5221 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6385, allocations: 0 / 0.5221 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.6398, allocations: 1.083 MB / 0.5231 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.6399, allocations: 128.5 kB / 0.5233 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.64, allocations: 12 kB / 0.5233 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.6403, allocations: 28.05 kB / 0.5233 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.6404, allocations: 40.5 kB / 0.5233 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.6405, allocations: 24 kB / 0.5234 GB, free: 4.039 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.6407, allocations: 187.1 kB / 0.5235 GB, free: 3.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6407, allocations: 0 / 0.5235 GB, free: 3.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007508/0.6414, allocations: 235.8 kB / 0.5238 GB, free: 3.625 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.0003158/0.6417, allocations: 202.7 kB / 0.524 GB, free: 3.426 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008852/0.6426, allocations: 0.5609 MB / 0.5245 GB, free: 2.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6427, allocations: 0 / 0.5245 GB, free: 2.867 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.643, allocations: 287.6 kB / 0.5248 GB, free: 2.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.6434, allocations: 34.44 kB / 0.5248 GB, free: 2.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.6451, allocations: 0.921 MB / 0.5257 GB, free: 1.605 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.6456, allocations: 0.9204 MB / 0.5266 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003567/0.646, allocations: 76.39 kB / 0.5267 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.6461, allocations: 47.44 kB / 0.5267 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6461, allocations: 3.938 kB / 0.5267 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of Templates: time 0.009805/0.6559, allocations: 4.745 MB / 0.5314 GB, free: 11.85 MB / 410.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