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.0008184/0.0008184, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.001974, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001006/0.001006, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.002322, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9233/0.9233, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08154/1.005, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.583e-06/1.583e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.763e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006984/0.007002, allocations: 5.836 MB / 250.5 MB, free: 8.348 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.01117, allocations: 2.172 MB / 252.7 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005666/0.01174, allocations: 55.62 kB / 252.8 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006462/0.01239, allocations: 409.3 kB / 253.2 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009486/0.01334, allocations: 0.5977 MB / 253.8 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.01363, allocations: 235.6 kB / 254 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.01503, allocations: 2.326 MB / 256.3 MB, free: 2.543 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008891/0.01592, allocations: 1.159 MB / 257.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.01761, allocations: 1.74 MB / 259.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.01869, allocations: 1.197 MB / 260.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.01894, allocations: 288 kB / 260.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.01939, allocations: 375.8 kB / 261.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003555/0.01974, allocations: 0.6079 MB / 261.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000523/0.02027, allocations: 0.7137 MB / 262.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.02167, allocations: 1.92 MB / 264.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.02168, allocations: 0 / 264.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.02168, allocations: 4 kB / 264.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.081e-05/0.02171, allocations: 0 / 264.3 MB, free: 10.49 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.00239/0.0241, allocations: 2.668 MB / 267 MB, free: 7.789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.02413, allocations: 8.031 kB / 267 MB, free: 7.781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000647/0.02478, allocations: 437.7 kB / 267.4 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009291/0.02571, allocations: 0.8212 MB / 268.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.359e-05/0.02577, allocations: 139.8 kB / 268.4 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.02593, allocations: 180.3 kB / 268.6 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.0273, allocations: 1.492 MB / 270 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.02732, allocations: 0 / 270 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.02742, allocations: 75.98 kB / 270.1 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.558e-05/0.02749, allocations: 91.58 kB / 270.2 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.02816, allocations: 0.502 MB / 270.7 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1138/0.1419, allocations: 4.794 MB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.1425, allocations: 374.5 kB / 275.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.1427, allocations: 167.8 kB / 276 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.1428, allocations: 32.92 kB / 276.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1429, allocations: 47.09 kB / 276.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.685e-06/0.1429, allocations: 0.6875 kB / 276.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.002035/0.1449, allocations: 0.8987 MB / 277 MB, free: 14.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.1449, allocations: 60.03 kB / 277.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.1462, allocations: 0.9263 MB / 278 MB, free: 14.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.1462, allocations: 36.39 kB / 278 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.1466, allocations: 0.9009 MB / 278.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.654e-05/0.1467, allocations: 206.9 kB / 279.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.1469, allocations: 229.2 kB / 279.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.147, allocations: 360.9 kB / 279.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.1472, allocations: 130.4 kB / 279.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.1475, allocations: 0.7691 MB / 280.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009494/0.1485, allocations: 1.072 MB / 281.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/0.1485, allocations: 9.844 kB / 281.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001329/0.1498, allocations: 0.8439 MB / 282.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.1498, allocations: 14.62 kB / 282.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/0.1499, allocations: 22.2 kB / 282.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004577/0.1503, allocations: 150.1 kB / 282.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.151, allocations: 327.8 kB / 283 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.1523, allocations: 1.766 MB / 284.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/0.153, allocations: 86.75 kB / 284.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/0.1531, allocations: 54.97 kB / 284.9 MB, free: 10.31 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.0003942/0.1535, allocations: 209.9 kB / 285.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.1537, allocations: 104.8 kB / 285.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005268/0.1542, allocations: 367.5 kB / 285.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1542, allocations: 5.594 kB / 285.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1542, allocations: 2.25 kB / 285.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1542, allocations: 3 kB / 285.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.1561, allocations: 1.469 MB / 287.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1561, allocations: 3.312 kB / 287.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.1564, allocations: 123.5 kB / 287.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.1566, allocations: 137 kB / 287.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003667/0.157, allocations: 120 kB / 287.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.157, allocations: 15.25 kB / 287.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009428/0.158, allocations: 1.767 MB / 289.2 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.158, allocations: 12.91 kB / 289.3 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005893/0.1586, allocations: 0.6196 MB / 289.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.688e-05/0.1587, allocations: 12.84 kB / 289.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.1589, allocations: 41.8 kB / 289.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/0.159, allocations: 49.52 kB / 290 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.159, allocations: 18.23 kB / 290 MB, free: 7.891 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004423/0.1595, allocations: 440.2 kB / 290.4 MB, free: 7.848 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1595, allocations: 9.641 kB / 290.4 MB, free: 7.844 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001259/0.1607, allocations: 345 kB / 290.8 MB, free: 7.84 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.0003641/0.1611, allocations: 185 kB / 290.9 MB, free: 7.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007746/0.1619, allocations: 0.649 MB / 291.6 MB, free: 7.617 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.59e-05/0.1619, allocations: 32.16 kB / 291.6 MB, free: 7.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.1622, allocations: 332.3 kB / 292 MB, free: 7.484 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.1633, allocations: 2.731 MB / 294.7 MB, free: 4.773 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.1738, allocations: 2.889 MB / 297.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1742, allocations: 432.7 kB / 298 MB, free: 3.395 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004646/0.1746, allocations: 163.5 kB / 298.2 MB, free: 3.352 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.175, allocations: 321.8 kB / 298.5 MB, free: 3.297 MB / 266.7 MB Notification: Performance of SimCode: time 1.853e-06/0.175, allocations: 0 / 298.5 MB, free: 3.297 MB / 266.7 MB Notification: Performance of Templates: time 0.02321/0.1983, allocations: 16.95 MB / 315.4 MB, free: 4.902 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.024854109622538]