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.001414/0.001414, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001566/0.001566, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.5/1.5, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.1..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.1..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.722e-05, allocations: 6.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007992/0.008019, allocations: 5.32 MB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004378/0.0124, allocations: 2.029 MB / 279.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000821/0.01322, allocations: 47.69 kB / 279.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.01449, allocations: 397.3 kB / 280.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.01655, allocations: 0.5977 MB / 280.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.0172, allocations: 243.7 kB / 280.9 MB, free: 9.141 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003091/0.02029, allocations: 2.306 MB / 283.2 MB, free: 6.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001995/0.02229, allocations: 1.123 MB / 284.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003541/0.02583, allocations: 1.597 MB / 286 MB, free: 4.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.02796, allocations: 1.087 MB / 287.1 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006279/0.02859, allocations: 288 kB / 287.3 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.02959, allocations: 367.9 kB / 287.7 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009986/0.03059, allocations: 0.7401 MB / 288.4 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.03233, allocations: 0.8537 MB / 289.3 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1166/0.1489, allocations: 3.85 MB / 293.1 MB, free: 19.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1489, allocations: 0 / 293.1 MB, free: 19.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1489, allocations: 0 / 293.1 MB, free: 19.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.284e-05/0.149, allocations: 1.219 kB / 293.1 MB, free: 19.15 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.004813/0.1538, allocations: 2.348 MB / 295.5 MB, free: 18.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1539, allocations: 8.906 kB / 295.5 MB, free: 18.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.1552, allocations: 439.5 kB / 295.9 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.1574, allocations: 1.372 MB / 297.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.37e-05/0.1575, allocations: 131.2 kB / 297.4 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.1578, allocations: 179 kB / 297.6 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/0.1617, allocations: 2.746 MB / 300.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.1618, allocations: 3.938 kB / 300.4 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.1619, allocations: 73.94 kB / 300.4 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.943e-05/0.162, allocations: 98.41 kB / 300.5 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.165, allocations: 2.107 MB / 302.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008076/0.1731, allocations: 6.468 MB / 309.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009979/0.1741, allocations: 0.7108 MB / 309.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005582/0.1747, allocations: 445.7 kB / 310.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.1748, allocations: 38.95 kB / 310.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.1748, allocations: 42.92 kB / 310.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.943e-06/0.1749, allocations: 0 / 310.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.003344/0.1782, allocations: 2.15 MB / 312.5 MB, free: 9.559 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.1782, allocations: 85.61 kB / 312.6 MB, free: 9.457 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.1795, allocations: 1.356 MB / 313.9 MB, free: 8.086 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.1796, allocations: 41.45 kB / 314 MB, free: 8.043 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.1799, allocations: 1.015 MB / 315 MB, free: 7.023 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.976e-05/0.18, allocations: 209.3 kB / 315.2 MB, free: 6.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.1803, allocations: 234.8 kB / 315.4 MB, free: 6.586 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.096e-05/0.1804, allocations: 357.9 kB / 315.8 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.1809, allocations: 461.3 kB / 316.2 MB, free: 5.781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007326/0.1816, allocations: 1.114 MB / 317.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.183, allocations: 1.62 MB / 318.9 MB, free: 2.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.183, allocations: 11.61 kB / 318.9 MB, free: 2.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002444/0.1855, allocations: 1.75 MB / 320.7 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1855, allocations: 16 kB / 320.7 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.1855, allocations: 24 kB / 320.7 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007866/0.1863, allocations: 185.1 kB / 320.9 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000764/0.1871, allocations: 284.6 kB / 321.2 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/0.1897, allocations: 2.216 MB / 323.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.1908, allocations: 91.81 kB / 323.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.1909, allocations: 72 kB / 323.6 MB, free: 13.97 MB / 282.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.001354/0.1922, allocations: 0.7081 MB / 324.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/0.1926, allocations: 147.2 kB / 324.4 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.1943, allocations: 0.8267 MB / 325.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.1943, allocations: 10.92 kB / 325.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.1944, allocations: 7.938 kB / 325.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1944, allocations: 0 / 325.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004214/0.1986, allocations: 2.077 MB / 327.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.1986, allocations: 4 kB / 327.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.199, allocations: 94.8 kB / 327.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007639/0.1998, allocations: 164.9 kB / 327.6 MB, free: 9.934 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.1998, allocations: 12 kB / 327.6 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.2026, allocations: 2.174 MB / 329.8 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.2026, allocations: 4 kB / 329.8 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.2053, allocations: 1.331 MB / 331.1 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/0.2058, allocations: 187.2 kB / 331.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.206, allocations: 23.61 kB / 331.3 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.2066, allocations: 43.97 kB / 331.4 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.2067, allocations: 55.8 kB / 331.4 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.2068, allocations: 19.98 kB / 331.4 MB, free: 5.957 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001636/0.2084, allocations: 0.8994 MB / 332.3 MB, free: 5.051 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2084, allocations: 0 / 332.3 MB, free: 5.051 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001662/0.2101, allocations: 350.9 kB / 332.7 MB, free: 4.711 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.0005272/0.2106, allocations: 191.9 kB / 332.9 MB, free: 4.531 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.2128, allocations: 1.124 MB / 334 MB, free: 3.398 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2128, allocations: 0 / 334 MB, free: 3.398 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008906/0.2137, allocations: 0.5004 MB / 334.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.2152, allocations: 275.1 kB / 334.8 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006616/0.2218, allocations: 3.228 MB / 338 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.2232, allocations: 1.123 MB / 339.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0009407/0.2242, allocations: 301.1 kB / 339.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.2244, allocations: 84.48 kB / 339.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of SimCode: time 2.034e-06/0.2244, allocations: 0 / 339.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Templates: time 0.03214/0.2565, allocations: 15.7 MB / 355.2 MB, free: 14.42 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.894612462026998]