Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 98.66 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.001036/0.001036, allocations: 178.9 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.532/1.532, allocations: 205.4 MB / 224 MB, free: 13.16 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.0005114/0.0005114, allocations: 12 kB / 280.7 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1218, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005914/0.1278, allocations: 4.707 MB / 333 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.131, allocations: 1.766 MB / 334.8 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.1313, allocations: 23.94 kB / 334.8 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004839/0.1318, allocations: 206.8 kB / 335 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.1334, allocations: 0.7206 MB / 335.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.1339, allocations: 235.5 kB / 336 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008236/0.1348, allocations: 0.6203 MB / 336.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002677/0.1375, allocations: 1.456 MB / 338.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.1379, allocations: 310.8 kB / 338.4 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.1385, allocations: 434.3 kB / 338.8 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.677e-05/0.1386, allocations: 44 kB / 338.8 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004425/0.139, allocations: 171.8 kB / 339 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1391, allocations: 151.4 kB / 339.1 MB, free: 9.195 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.1393, allocations: 177.3 kB / 339.3 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009304/0.1403, allocations: 0.9386 MB / 340.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1403, allocations: 0 / 340.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1403, allocations: 4 kB / 340.3 MB, free: 8.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1403, allocations: 0 / 340.3 MB, free: 8.07 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003051/0.1434, allocations: 1.249 MB / 341.5 MB, free: 6.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1434, allocations: 8.031 kB / 341.5 MB, free: 6.762 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006689/0.1501, allocations: 0.9707 MB / 342.5 MB, free: 5.789 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006513/0.1508, allocations: 453.6 kB / 342.9 MB, free: 5.305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.838e-05/0.1508, allocations: 78.17 kB / 343 MB, free: 5.227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.151, allocations: 104 kB / 343.1 MB, free: 5.125 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.1529, allocations: 1.117 MB / 344.2 MB, free: 3.969 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.1529, allocations: 3.906 kB / 344.2 MB, free: 3.965 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.631e-05/0.153, allocations: 44 kB / 344.3 MB, free: 3.922 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.153, allocations: 28 kB / 344.3 MB, free: 3.895 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.1549, allocations: 1.14 MB / 345.4 MB, free: 2.758 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005238/0.1602, allocations: 3.972 MB / 349.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/0.1636, allocations: 3.763 MB / 353.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.1637, allocations: 89.66 kB / 353.3 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.1637, allocations: 47.11 kB / 353.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 3.186e-06/0.1637, allocations: 3.938 kB / 353.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001397/0.1651, allocations: 0.7642 MB / 354.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.1652, allocations: 119.3 kB / 354.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.1656, allocations: 324.3 kB / 354.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.1656, allocations: 33.7 kB / 354.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.1659, allocations: 442 kB / 355 MB, free: 8.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.1661, allocations: 248.4 kB / 355.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.1661, allocations: 20 kB / 355.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1663, allocations: 362.7 kB / 355.6 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/0.1667, allocations: 249.9 kB / 355.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.1674, allocations: 0.5552 MB / 356.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.1679, allocations: 339.1 kB / 356.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.1679, allocations: 4 kB / 356.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001354/0.1693, allocations: 0.8994 MB / 357.6 MB, free: 5.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.1693, allocations: 15.98 kB / 357.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.1693, allocations: 8 kB / 357.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.1694, allocations: 20 kB / 357.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/0.1701, allocations: 231.6 kB / 357.9 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.302e-05/0.1702, allocations: 23.92 kB / 357.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.1706, allocations: 111 kB / 358 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.055e-05/0.1707, allocations: 47.98 kB / 358.1 MB, free: 4.969 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0003027/0.171, allocations: 241.4 kB / 358.3 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.1711, allocations: 39.53 kB / 358.3 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.1723, allocations: 0.7016 MB / 359 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.1723, allocations: 8 kB / 359.1 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1723, allocations: 0 / 359.1 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.1724, allocations: 3.984 kB / 359.1 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.1746, allocations: 1.598 MB / 360.7 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1747, allocations: 0 / 360.7 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/0.1752, allocations: 151.8 kB / 360.8 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1753, allocations: 4 kB / 360.8 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.1753, allocations: 16 kB / 360.8 MB, free: 2.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.1753, allocations: 4 kB / 360.8 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1753, allocations: 0 / 360.8 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.1769, allocations: 1.204 MB / 362 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.1771, allocations: 136.3 kB / 362.2 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.1771, allocations: 16 kB / 362.2 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.1775, allocations: 31.92 kB / 362.2 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.154e-05/0.1776, allocations: 44.59 kB / 362.3 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.1776, allocations: 24.06 kB / 362.3 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002062/0.1778, allocations: 211.1 kB / 362.5 MB, free: 448 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1779, allocations: 0 / 362.5 MB, free: 448 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008159/0.1787, allocations: 247 kB / 362.7 MB, free: 200 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (78): * Single equations (assignments): 78 * 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.0002667/0.1789, allocations: 147 kB / 362.9 MB, free: 40 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.1801, allocations: 0.6947 MB / 363.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1801, allocations: 4 kB / 363.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.1805, allocations: 328.1 kB / 363.9 MB, free: 15.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.1809, allocations: 29.09 kB / 363.9 MB, free: 14.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.1835, allocations: 1.719 MB / 365.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.1841, allocations: 0.94 MB / 366.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003824/0.1845, allocations: 92.89 kB / 366.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.1847, allocations: 55.42 kB / 366.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1847, allocations: 0 / 366.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of Templates: time 0.009715/0.1944, allocations: 4.64 MB / 371.4 MB, free: 7.477 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches