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.001533/0.001532, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001909/0.001909, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 69.48 kB / 306.4 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1266, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006077/0.1328, allocations: 4.135 MB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.1349, allocations: 0.9581 MB / 362.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003966/0.1353, allocations: 12 kB / 362.1 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.1357, allocations: 63.45 kB / 362.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.1362, allocations: 154.8 kB / 362.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.1366, allocations: 143.8 kB / 362.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008213/0.1375, allocations: 0.6654 MB / 363.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.1378, allocations: 211 kB / 363.3 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004257/0.1383, allocations: 259 kB / 363.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.1386, allocations: 290.6 kB / 363.8 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.1387, allocations: 59.94 kB / 363.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.1389, allocations: 59.98 kB / 364 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.139, allocations: 127.5 kB / 364.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.1393, allocations: 306.5 kB / 364.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005817/0.1399, allocations: 0.6502 MB / 365 MB, free: 6.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1399, allocations: 0 / 365 MB, free: 6.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1399, allocations: 0 / 365 MB, free: 6.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.14, allocations: 0 / 365 MB, free: 6.309 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.001542/0.1415, allocations: 0.8579 MB / 365.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1416, allocations: 8.031 kB / 365.9 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.1419, allocations: 84.16 kB / 366 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.1424, allocations: 379.6 kB / 366.4 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.1424, allocations: 37.38 kB / 366.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.1425, allocations: 52.38 kB / 366.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008058/0.1433, allocations: 487.4 kB / 366.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1433, allocations: 0 / 366.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.1434, allocations: 24 kB / 366.9 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.1434, allocations: 12 kB / 367 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006319/0.144, allocations: 336.3 kB / 367.3 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.1467, allocations: 1.701 MB / 369 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.1472, allocations: 261 kB / 369.2 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.1474, allocations: 137.9 kB / 369.4 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.1475, allocations: 12.3 kB / 369.4 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.1475, allocations: 42.56 kB / 369.4 MB, free: 1.684 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.795e-06/0.1475, allocations: 0 / 369.4 MB, free: 1.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001884/0.1494, allocations: 0.9569 MB / 370.4 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.1495, allocations: 81.11 kB / 370.5 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.1499, allocations: 377.7 kB / 370.8 MB, free: 176 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.1499, allocations: 33.7 kB / 370.9 MB, free: 136 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2027/0.3527, allocations: 290.3 kB / 371.1 MB, free: 20.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.3529, allocations: 118.3 kB / 371.3 MB, free: 20.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.3531, allocations: 71.19 kB / 371.3 MB, free: 20.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3533, allocations: 351.6 kB / 371.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.3536, allocations: 101.7 kB / 371.8 MB, free: 19.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.3539, allocations: 195.2 kB / 372 MB, free: 19.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005229/0.3544, allocations: 309 kB / 372.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3544, allocations: 1.438 kB / 372.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001004/0.3554, allocations: 447.2 kB / 372.7 MB, free: 19.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.3555, allocations: 6.125 kB / 372.7 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3555, allocations: 2.5 kB / 372.7 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/0.3559, allocations: 85.38 kB / 372.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.3563, allocations: 82.3 kB / 372.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.3585, allocations: 3.124 MB / 376 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.3588, allocations: 21.33 kB / 376 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.3588, allocations: 16.69 kB / 376 MB, free: 16.47 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.359, allocations: 169.9 kB / 376.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.868e-05/0.3591, allocations: 44.69 kB / 376.2 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.185e-05/0.3592, allocations: 50.14 kB / 376.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3592, allocations: 7.906 kB / 376.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3592, allocations: 5.766 kB / 376.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.3592, allocations: 2.156 kB / 376.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.3606, allocations: 0.9321 MB / 377.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3606, allocations: 1.281 kB / 377.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.3608, allocations: 47.86 kB / 377.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002889/0.3611, allocations: 85.52 kB / 377.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.3612, allocations: 8 kB / 377.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.3628, allocations: 3.123 MB / 380.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3629, allocations: 3.938 kB / 380.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.3637, allocations: 0.6109 MB / 381.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.3637, allocations: 111.1 kB / 381.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.3638, allocations: 14.78 kB / 381.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.3641, allocations: 27.69 kB / 381.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.3642, allocations: 24.72 kB / 381.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.3642, allocations: 8.5 kB / 381.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.3645, allocations: 274.8 kB / 381.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3645, allocations: 4 kB / 381.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005807/0.3651, allocations: 119.6 kB / 381.7 MB, free: 11.91 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001288/0.3653, allocations: 107.5 kB / 381.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008521/0.3661, allocations: 0.5269 MB / 382.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3661, allocations: 0.9688 kB / 382.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.3667, allocations: 394.3 kB / 382.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.3672, allocations: 69.7 kB / 382.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.3688, allocations: 1.163 MB / 383.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.3691, allocations: 0.8383 MB / 384.8 MB, free: 9.684 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.3693, allocations: 43.86 kB / 384.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.3693, allocations: 35.05 kB / 384.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3694, allocations: 0 / 384.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of Templates: time 0.009729/0.3791, allocations: 4.628 MB / 389.5 MB, free: 9.172 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches