Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 102.1 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00158/0.00158, allocations: 204.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002465, allocations: 8 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1152, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003818/0.1191, allocations: 3.297 MB / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1207, allocations: 0.9276 MB / 362.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.1209, allocations: 8 kB / 362.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.121, allocations: 67.44 kB / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.1214, allocations: 211.4 kB / 362.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1217, allocations: 99.89 kB / 362.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005117/0.1223, allocations: 459.5 kB / 363.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.1225, allocations: 162.3 kB / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003655/0.1229, allocations: 223.2 kB / 363.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.1232, allocations: 250.9 kB / 363.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.1233, allocations: 32 kB / 363.8 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1234, allocations: 39.94 kB / 363.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.452e-05/0.1235, allocations: 103.5 kB / 363.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1236, allocations: 129.4 kB / 364 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.124, allocations: 474.8 kB / 364.5 MB, free: 7.445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.124, allocations: 0 / 364.5 MB, free: 7.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.124, allocations: 0 / 364.5 MB, free: 7.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.124, allocations: 0 / 364.5 MB, free: 7.445 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001264/0.1253, allocations: 0.7831 MB / 365.3 MB, free: 6.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1254, allocations: 16.03 kB / 365.3 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.1257, allocations: 83.23 kB / 365.4 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.1261, allocations: 354.6 kB / 365.7 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.1261, allocations: 37 kB / 365.8 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-05/0.1262, allocations: 48 kB / 365.8 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.127, allocations: 487.1 kB / 366.3 MB, free: 5.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.127, allocations: 0 / 366.3 MB, free: 5.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.1271, allocations: 20 kB / 366.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1271, allocations: 12 kB / 366.3 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000616/0.1277, allocations: 332.3 kB / 366.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.1303, allocations: 1.709 MB / 368.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.1308, allocations: 273 kB / 368.6 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.1308, allocations: 4 kB / 368.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1308, allocations: 38.56 kB / 368.6 MB, free: 3.059 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.473e-06/0.1308, allocations: 0 / 368.6 MB, free: 3.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001848/0.1327, allocations: 0.9653 MB / 369.6 MB, free: 2.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.1328, allocations: 85.05 kB / 369.7 MB, free: 1.914 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.1332, allocations: 377.7 kB / 370.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.1332, allocations: 29.7 kB / 370.1 MB, free: 1.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.1334, allocations: 299.4 kB / 370.4 MB, free: 1.199 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.049e-05/0.1335, allocations: 114.3 kB / 370.5 MB, free: 1.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.1335, allocations: 4 kB / 370.5 MB, free: 1.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1337, allocations: 358.8 kB / 370.9 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.1339, allocations: 100.8 kB / 371 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.1341, allocations: 194.8 kB / 371.1 MB, free: 408 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.1344, allocations: 132.4 kB / 371.3 MB, free: 280 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1344, allocations: 0 / 371.3 MB, free: 280 kB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.2148/0.3492, allocations: 447.9 kB / 371.7 MB, free: 18.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.3493, allocations: 8.812 kB / 371.7 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/0.3494, allocations: 5.984 kB / 371.7 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004847/0.3499, allocations: 83.48 kB / 371.8 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.3502, allocations: 78.95 kB / 371.9 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.3526, allocations: 2.875 MB / 374.8 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.353, allocations: 19.95 kB / 374.8 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.353, allocations: 16.95 kB / 374.8 MB, free: 16.33 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.3533, allocations: 168.3 kB / 375 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3534, allocations: 47.47 kB / 375 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.3535, allocations: 44.7 kB / 375 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3535, allocations: 3.719 kB / 375.1 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3535, allocations: 3 kB / 375.1 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3535, allocations: 2.75 kB / 375.1 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.3551, allocations: 0.9406 MB / 376 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3551, allocations: 1.062 kB / 376 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.3553, allocations: 51.3 kB / 376 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003222/0.3557, allocations: 86.7 kB / 376.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.3557, allocations: 7.266 kB / 376.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.3578, allocations: 2.867 MB / 379 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3578, allocations: 1 kB / 379 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.3589, allocations: 0.6392 MB / 379.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.793e-05/0.359, allocations: 114.9 kB / 379.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.359, allocations: 14.8 kB / 379.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.3594, allocations: 35.58 kB / 379.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.3595, allocations: 24.8 kB / 379.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.3595, allocations: 11.36 kB / 379.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003573/0.3599, allocations: 270.3 kB / 380.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3599, allocations: 1.375 kB / 380.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006148/0.3605, allocations: 115.1 kB / 380.2 MB, free: 12.72 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.3606, allocations: 111.4 kB / 380.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008861/0.3615, allocations: 0.5139 MB / 380.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3615, allocations: 5.625 kB / 380.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.3621, allocations: 393.4 kB / 381.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.3625, allocations: 60.98 kB / 381.3 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.3642, allocations: 1.171 MB / 382.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.3646, allocations: 0.8547 MB / 383.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.3648, allocations: 43.78 kB / 383.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/0.3649, allocations: 30.66 kB / 383.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3649, allocations: 0 / 383.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of Templates: time 0.01129/0.3762, allocations: 4.227 MB / 387.6 MB, free: 10.21 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches