Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 172.5 kB / 24.91 MB, free: 8.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 4 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.343e-05, allocations: 5.125 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004966/0.004989, allocations: 5.807 MB / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.007614, allocations: 2.161 MB / 281.5 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003007/0.007915, allocations: 51.69 kB / 281.5 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.00857, allocations: 417.2 kB / 281.9 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008297/0.009399, allocations: 0.586 MB / 282.5 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.00966, allocations: 231.7 kB / 282.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.01104, allocations: 2.326 MB / 285 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009122/0.01195, allocations: 1.166 MB / 286.2 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.01344, allocations: 1.609 MB / 287.8 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.01446, allocations: 1.2 MB / 289 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002273/0.01468, allocations: 288 kB / 289.3 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.01509, allocations: 383.7 kB / 289.7 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004181/0.01551, allocations: 0.7441 MB / 290.4 MB, free: 208 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1405/0.1561, allocations: 0.8652 MB / 291.3 MB, free: 18.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002823/0.1589, allocations: 2.035 MB / 293.3 MB, free: 17.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.1589, allocations: 0.6094 kB / 293.3 MB, free: 17.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1589, allocations: 1.125 kB / 293.3 MB, free: 17.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001155/0.159, allocations: 2.844 kB / 293.3 MB, free: 17.93 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004446/0.1634, allocations: 2.232 MB / 295.6 MB, free: 16.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1635, allocations: 8.688 kB / 295.6 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009981/0.1645, allocations: 362.7 kB / 295.9 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.1659, allocations: 0.8192 MB / 296.7 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.964e-05/0.1659, allocations: 135.6 kB / 296.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.1662, allocations: 176.5 kB / 297 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.1683, allocations: 1.495 MB / 298.5 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.1684, allocations: 5.062 kB / 298.5 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.1685, allocations: 73.14 kB / 298.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.1686, allocations: 94.42 kB / 298.7 MB, free: 16.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009402/0.1695, allocations: 0.5033 MB / 299.2 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006027/0.1756, allocations: 4.759 MB / 304 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.1761, allocations: 390.5 kB / 304.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.1764, allocations: 168.6 kB / 304.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.1765, allocations: 33.5 kB / 304.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1765, allocations: 45.06 kB / 304.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.624e-06/0.1765, allocations: 2.766 kB / 304.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001562/0.1781, allocations: 0.8866 MB / 305.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1781, allocations: 85.52 kB / 305.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007423/0.1789, allocations: 0.9204 MB / 306.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.1789, allocations: 37.95 kB / 306.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.1792, allocations: 0.9006 MB / 307.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.647e-05/0.1793, allocations: 204.6 kB / 307.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.1795, allocations: 230.1 kB / 307.9 MB, free: 12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.01e-05/0.1796, allocations: 358.8 kB / 308.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.1798, allocations: 125.3 kB / 308.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.1801, allocations: 0.7768 MB / 309.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006884/0.1808, allocations: 0.9992 MB / 310.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.1808, allocations: 7.938 kB / 310.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001049/0.1819, allocations: 0.8459 MB / 311 MB, free: 9.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1819, allocations: 20.69 kB / 311 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.1819, allocations: 26.47 kB / 311 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004216/0.1824, allocations: 144.8 kB / 311.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.183, allocations: 315.9 kB / 311.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.1842, allocations: 1.763 MB / 313.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005652/0.1847, allocations: 81.73 kB / 313.3 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-05/0.1848, allocations: 58.31 kB / 313.4 MB, free: 8.227 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002925/0.1851, allocations: 198.4 kB / 313.5 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.1853, allocations: 99.06 kB / 313.6 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.1857, allocations: 374.3 kB / 314 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1857, allocations: 3.594 kB / 314 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1857, allocations: 3.375 kB / 314 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1857, allocations: 7.922 kB / 314 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.1874, allocations: 1.467 MB / 315.5 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1874, allocations: 4 kB / 315.5 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.1877, allocations: 111.4 kB / 315.6 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003628/0.188, allocations: 132 kB / 315.7 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.1881, allocations: 14.94 kB / 315.7 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009516/0.189, allocations: 1.762 MB / 317.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.189, allocations: 6.734 kB / 317.5 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.1896, allocations: 0.6219 MB / 318.1 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.1898, allocations: 123.2 kB / 318.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.1899, allocations: 20.06 kB / 318.3 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.1903, allocations: 39.97 kB / 318.3 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.1904, allocations: 54.89 kB / 318.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.1904, allocations: 12 kB / 318.4 MB, free: 3.703 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003835/0.1908, allocations: 442.3 kB / 318.8 MB, free: 3.312 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1908, allocations: 0 / 318.8 MB, free: 3.312 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001015/0.1918, allocations: 354.9 kB / 319.2 MB, free: 2.969 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003316/0.1921, allocations: 179.8 kB / 319.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006869/0.1928, allocations: 0.6283 MB / 320 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-05/0.1928, allocations: 21.81 kB / 320 MB, free: 2.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.1931, allocations: 311.5 kB / 320.3 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008326/0.194, allocations: 268.9 kB / 320.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.1976, allocations: 2.734 MB / 323.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.198, allocations: 429.3 kB / 323.7 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004081/0.1985, allocations: 154.1 kB / 323.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/0.199, allocations: 325 kB / 324.2 MB, free: 13.9 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.199, allocations: 4 kB / 324.2 MB, free: 13.9 MB / 282.7 MB Notification: Performance of Templates: time 0.02594/0.225, allocations: 16.82 MB / 341 MB, free: 13.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.059257180429995]