Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 95.69 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 179.6 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006792/0.0006796, allocations: 12 kB / 280.7 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.128, allocations: 47.57 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004021/0.132, allocations: 3.231 MB / 331.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.1337, allocations: 0.9245 MB / 332.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.1339, allocations: 8 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.134, allocations: 63.5 kB / 332.5 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004072/0.1345, allocations: 211.3 kB / 332.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.1348, allocations: 95.88 kB / 332.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005417/0.1354, allocations: 463.4 kB / 333.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.1357, allocations: 158.3 kB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.1359, allocations: 223.2 kB / 333.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.1362, allocations: 250.9 kB / 333.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.1363, allocations: 32 kB / 333.9 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.1364, allocations: 32 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-05/0.1365, allocations: 103.5 kB / 334.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1366, allocations: 121.5 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.137, allocations: 474.8 kB / 334.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.137, allocations: 0 / 334.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.501e-06/0.137, allocations: 0 / 334.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.137, allocations: 3.938 kB / 334.7 MB, free: 13.71 MB / 286.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.001313/0.1384, allocations: 0.7909 MB / 335.5 MB, free: 12.88 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1384, allocations: 8.031 kB / 335.5 MB, free: 12.87 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.1385, allocations: 59.34 kB / 335.5 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005218/0.1391, allocations: 350.6 kB / 335.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.1391, allocations: 40.95 kB / 335.9 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.1392, allocations: 55.91 kB / 336 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.14, allocations: 475.2 kB / 336.4 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.14, allocations: 0 / 336.4 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/0.14, allocations: 24 kB / 336.4 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.1401, allocations: 12 kB / 336.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006969/0.1408, allocations: 336.3 kB / 336.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.1435, allocations: 1.713 MB / 338.5 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.144, allocations: 261.1 kB / 338.8 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.1441, allocations: 4 kB / 338.8 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1441, allocations: 46.5 kB / 338.8 MB, free: 9.348 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.1441, allocations: 0 / 338.8 MB, free: 9.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.002103/0.1462, allocations: 0.9702 MB / 339.8 MB, free: 8.301 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.1463, allocations: 85.11 kB / 339.9 MB, free: 8.199 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.1467, allocations: 381.6 kB / 340.2 MB, free: 7.816 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.1468, allocations: 33.7 kB / 340.3 MB, free: 7.777 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.147, allocations: 291.4 kB / 340.5 MB, free: 7.484 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.008e-05/0.1471, allocations: 110.4 kB / 340.7 MB, free: 7.375 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.1471, allocations: 8 kB / 340.7 MB, free: 7.367 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1473, allocations: 350.8 kB / 341 MB, free: 7.016 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.1475, allocations: 104.8 kB / 341.1 MB, free: 6.914 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.1478, allocations: 194.7 kB / 341.3 MB, free: 6.688 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.1481, allocations: 132.9 kB / 341.4 MB, free: 6.559 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1481, allocations: 0 / 341.4 MB, free: 6.559 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007829/0.1489, allocations: 457 kB / 341.9 MB, free: 6.102 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1489, allocations: 8 kB / 341.9 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1489, allocations: 4 kB / 341.9 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003542/0.1493, allocations: 89.66 kB / 342 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.1496, allocations: 83.84 kB / 342.1 MB, free: 5.914 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/0.1527, allocations: 2.865 MB / 344.9 MB, free: 2.785 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.1531, allocations: 23.98 kB / 344.9 MB, free: 2.762 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.1532, allocations: 16 kB / 345 MB, free: 2.746 MB / 286.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.0003433/0.1535, allocations: 169.7 kB / 345.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.1536, allocations: 47.39 kB / 345.2 MB, free: 2.523 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.719e-05/0.1537, allocations: 43.47 kB / 345.2 MB, free: 2.48 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1537, allocations: 4 kB / 345.2 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/0.1538, allocations: 7.984 kB / 345.2 MB, free: 2.469 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1538, allocations: 0 / 345.2 MB, free: 2.469 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.1554, allocations: 0.9356 MB / 346.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1555, allocations: 0 / 346.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.1557, allocations: 47.98 kB / 346.2 MB, free: 1.426 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003238/0.156, allocations: 81.53 kB / 346.3 MB, free: 1.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.156, allocations: 11.98 kB / 346.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.1583, allocations: 2.869 MB / 349.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.1583, allocations: 12.14 kB / 349.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009437/0.1593, allocations: 0.6379 MB / 349.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1594, allocations: 116.6 kB / 349.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.1595, allocations: 8 kB / 349.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.1598, allocations: 35.97 kB / 350 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.1599, allocations: 23.97 kB / 350 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.1599, allocations: 12 kB / 350 MB, free: 13.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003403/0.1603, allocations: 271.2 kB / 350.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.1603, allocations: 0 / 350.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007152/0.161, allocations: 116 kB / 350.4 MB, free: 12.93 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.000241/0.1613, allocations: 115.1 kB / 350.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.1623, allocations: 0.5208 MB / 351 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1624, allocations: 0 / 351 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005969/0.163, allocations: 389.5 kB / 351.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.1634, allocations: 57.5 kB / 351.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.1652, allocations: 1.168 MB / 352.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.1657, allocations: 0.8431 MB / 353.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000183/0.1659, allocations: 47.28 kB / 353.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.1659, allocations: 35.38 kB / 353.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1659, allocations: 0 / 353.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of Templates: time 0.008973/0.1749, allocations: 4.213 MB / 357.8 MB, free: 5.434 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches