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.001306/0.001306, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.0008874/0.0008874, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9189/0.9189, allocations: 177.1 MB / 205 MB, free: 5.605 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 1.212e-06/1.212e-06, allocations: 0 / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.081e-05, allocations: 2.312 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005187/0.005208, allocations: 5.889 MB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.008531, allocations: 2.107 MB / 281 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005663/0.009098, allocations: 59.62 kB / 281 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008151/0.009913, allocations: 393.4 kB / 281.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.01127, allocations: 0.5977 MB / 282 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.01173, allocations: 235.6 kB / 282.3 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.01387, allocations: 2.306 MB / 284.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.0152, allocations: 1.135 MB / 285.7 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.01759, allocations: 1.626 MB / 287.3 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.01921, allocations: 1.189 MB / 288.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005513/0.01977, allocations: 288 kB / 288.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006655/0.02043, allocations: 379.8 kB / 289.2 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005725/0.021, allocations: 0.748 MB / 289.9 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1288/0.1498, allocations: 0.8586 MB / 290.8 MB, free: 17.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.1519, allocations: 2.039 MB / 292.8 MB, free: 17.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1519, allocations: 1.312 kB / 292.8 MB, free: 17.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1519, allocations: 1.469 kB / 292.8 MB, free: 17.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.431e-05/0.152, allocations: 0.5312 kB / 292.8 MB, free: 17.71 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.002877/0.1549, allocations: 2.531 MB / 295.3 MB, free: 16.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.1549, allocations: 10.28 kB / 295.3 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007148/0.1556, allocations: 435.2 kB / 295.8 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.1568, allocations: 1.219 MB / 297 MB, free: 16.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.1569, allocations: 132.6 kB / 297.1 MB, free: 16.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.1571, allocations: 178.2 kB / 297.3 MB, free: 16.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.1591, allocations: 1.568 MB / 298.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.1591, allocations: 5.312 kB / 298.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.1593, allocations: 74.28 kB / 298.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.849e-05/0.1593, allocations: 98.36 kB / 299 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.1605, allocations: 0.6089 MB / 299.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005003/0.1655, allocations: 5.945 MB / 305.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005364/0.166, allocations: 404.7 kB / 306 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.1663, allocations: 209.6 kB / 306.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.1664, allocations: 40.81 kB / 306.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.1664, allocations: 45.42 kB / 306.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.934e-06/0.1664, allocations: 3.656 kB / 306.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001561/0.168, allocations: 1.283 MB / 307.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.168, allocations: 81.27 kB / 307.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008857/0.1689, allocations: 1.187 MB / 308.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.1689, allocations: 37.02 kB / 308.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.1693, allocations: 1.106 MB / 310 MB, free: 9.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.1693, allocations: 213.1 kB / 310.2 MB, free: 9.434 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.1695, allocations: 263.6 kB / 310.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.1696, allocations: 0.5469 MB / 311 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.1698, allocations: 129.5 kB / 311.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.1702, allocations: 1.103 MB / 312.2 MB, free: 7.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/0.1709, allocations: 1.317 MB / 313.5 MB, free: 6.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.1709, allocations: 10.84 kB / 313.5 MB, free: 6.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001075/0.172, allocations: 1.085 MB / 314.6 MB, free: 5.766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.172, allocations: 17.77 kB / 314.6 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.172, allocations: 20.84 kB / 314.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003788/0.1724, allocations: 148.7 kB / 314.8 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.1728, allocations: 285.2 kB / 315.1 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000931/0.1738, allocations: 2.366 MB / 317.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.1742, allocations: 83.78 kB / 317.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.77e-05/0.1742, allocations: 72 kB / 317.6 MB, free: 2.957 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.0002372/0.1745, allocations: 245.6 kB / 317.8 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.1746, allocations: 149.9 kB / 318 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004973/0.1751, allocations: 449.8 kB / 318.4 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1751, allocations: 4 kB / 318.4 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1751, allocations: 11.94 kB / 318.4 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1751, allocations: 3.984 kB / 318.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.1767, allocations: 1.905 MB / 320.4 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1768, allocations: 4 kB / 320.4 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.1769, allocations: 91.42 kB / 320.4 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003489/0.1773, allocations: 123.2 kB / 320.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.1773, allocations: 19.98 kB / 320.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.1785, allocations: 2.326 MB / 322.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1785, allocations: 0 / 322.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007696/0.1793, allocations: 0.7947 MB / 323.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.1795, allocations: 183.2 kB / 323.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/0.1796, allocations: 15.94 kB / 323.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.1799, allocations: 48 kB / 324 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.936e-05/0.18, allocations: 55.84 kB / 324 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.18, allocations: 16 kB / 324 MB, free: 12.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006328/0.1806, allocations: 0.6533 MB / 324.7 MB, free: 11.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1806, allocations: 0 / 324.7 MB, free: 11.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008551/0.1815, allocations: 343.9 kB / 325 MB, free: 11.35 MB / 282.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.0003509/0.1819, allocations: 200.1 kB / 325.2 MB, free: 11.17 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000894/0.1827, allocations: 0.7673 MB / 326 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1827, allocations: 0 / 326 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.1831, allocations: 400.2 kB / 326.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007281/0.1838, allocations: 264.3 kB / 326.6 MB, free: 9.723 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.1871, allocations: 2.808 MB / 329.4 MB, free: 6.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.1875, allocations: 0.5286 MB / 330 MB, free: 6.273 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004103/0.1879, allocations: 250.5 kB / 330.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.188, allocations: 88.48 kB / 330.3 MB, free: 5.941 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.188, allocations: 0 / 330.3 MB, free: 5.941 MB / 282.7 MB Notification: Performance of Templates: time 0.01871/0.2067, allocations: 16.46 MB / 346.8 MB, free: 5.824 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 -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.169978235848248]