Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 78.19 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 151.8 kB / 24.8 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9841/0.9841, allocations: 173.3 MB / 201.4 MB, free: 9.195 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.146e-05, allocations: 6.25 kB / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006033/0.006065, allocations: 5.734 MB / 274.1 MB, free: 416 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.008877, allocations: 2.037 MB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003617/0.009239, allocations: 51.69 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.009942, allocations: 393.4 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009224/0.01086, allocations: 0.6055 MB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.01114, allocations: 215.7 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.01261, allocations: 2.302 MB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009855/0.0136, allocations: 1.139 MB / 280.9 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.01522, allocations: 1.602 MB / 282.5 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.01638, allocations: 1.204 MB / 283.7 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003959/0.01677, allocations: 288 kB / 284 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.01723, allocations: 363.9 kB / 284.3 MB, free: 6.168 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004048/0.01764, allocations: 0.7518 MB / 285.1 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005792/0.01821, allocations: 0.8615 MB / 285.9 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.01959, allocations: 2.037 MB / 288 MB, free: 2.508 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01959, allocations: 0 / 288 MB, free: 2.508 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01959, allocations: 0 / 288 MB, free: 2.508 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.01961, allocations: 0 / 288 MB, free: 2.508 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.1135/0.1331, allocations: 2.482 MB / 290.4 MB, free: 28.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1331, allocations: 10.92 kB / 290.5 MB, free: 28.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.1343, allocations: 409.2 kB / 290.9 MB, free: 28.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.1358, allocations: 1.118 MB / 292 MB, free: 28.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1359, allocations: 136.5 kB / 292.1 MB, free: 28.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/0.1362, allocations: 174.5 kB / 292.3 MB, free: 28.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.1382, allocations: 1.455 MB / 293.7 MB, free: 27.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.1383, allocations: 3.938 kB / 293.7 MB, free: 27.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.972e-05/0.1384, allocations: 75.55 kB / 293.8 MB, free: 27.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.841e-05/0.1384, allocations: 94.08 kB / 293.9 MB, free: 27.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009067/0.1393, allocations: 479.3 kB / 294.4 MB, free: 27.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006033/0.1454, allocations: 5.917 MB / 300.3 MB, free: 24.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.1459, allocations: 368.5 kB / 300.6 MB, free: 24.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.1461, allocations: 189.2 kB / 300.8 MB, free: 24.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.1462, allocations: 34.02 kB / 300.9 MB, free: 24.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1462, allocations: 49.36 kB / 300.9 MB, free: 24.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.054e-06/0.1462, allocations: 4 kB / 300.9 MB, free: 24.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001445/0.1477, allocations: 0.9934 MB / 301.9 MB, free: 24.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/0.1477, allocations: 82.83 kB / 302 MB, free: 24.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008986/0.1486, allocations: 1.154 MB / 303.1 MB, free: 23.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1486, allocations: 33.23 kB / 303.2 MB, free: 23.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.149, allocations: 1.11 MB / 304.3 MB, free: 22.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.362e-05/0.1491, allocations: 218.5 kB / 304.5 MB, free: 22.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.1493, allocations: 261.9 kB / 304.8 MB, free: 22.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.1494, allocations: 0.5502 MB / 305.3 MB, free: 22.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1495, allocations: 96.95 kB / 305.4 MB, free: 22.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.1499, allocations: 1.083 MB / 306.5 MB, free: 20.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/0.1506, allocations: 1.285 MB / 307.8 MB, free: 19.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.1506, allocations: 7.344 kB / 307.8 MB, free: 19.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0009715/0.1516, allocations: 1.012 MB / 308.8 MB, free: 19.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1516, allocations: 14.94 kB / 308.8 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.1516, allocations: 22.56 kB / 308.8 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003449/0.1519, allocations: 147.3 kB / 309 MB, free: 19.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.1524, allocations: 286.3 kB / 309.2 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008607/0.1532, allocations: 2.325 MB / 311.6 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.1536, allocations: 83.83 kB / 311.7 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.1537, allocations: 56 kB / 311.7 MB, free: 16.65 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.0002113/0.1539, allocations: 252 kB / 312 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.154, allocations: 155.1 kB / 312.1 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.1544, allocations: 412.5 kB / 312.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1544, allocations: 4 kB / 312.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1544, allocations: 0 / 312.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1544, allocations: 7.922 kB / 312.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.156, allocations: 1.863 MB / 314.4 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.156, allocations: 3.375 kB / 314.4 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.1561, allocations: 100.2 kB / 314.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/0.1564, allocations: 119.7 kB / 314.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.1564, allocations: 15.98 kB / 314.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007402/0.1572, allocations: 2.275 MB / 316.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1572, allocations: 0 / 316.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.1577, allocations: 0.7598 MB / 317.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.1579, allocations: 174.3 kB / 317.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.1579, allocations: 12 kB / 317.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.1582, allocations: 43.97 kB / 317.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.1582, allocations: 47.8 kB / 317.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.1582, allocations: 16 kB / 317.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003351/0.1586, allocations: 0.5981 MB / 318.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1586, allocations: 0 / 318.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006976/0.1593, allocations: 347.9 kB / 318.9 MB, free: 9.324 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.0002467/0.1595, allocations: 193 kB / 319.1 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005372/0.1601, allocations: 0.7221 MB / 319.8 MB, free: 8.402 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1601, allocations: 4 kB / 319.8 MB, free: 8.398 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.1603, allocations: 382 kB / 320.2 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.1609, allocations: 283.2 kB / 320.4 MB, free: 7.734 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.1634, allocations: 2.778 MB / 323.2 MB, free: 4.863 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.1636, allocations: 0.5246 MB / 323.7 MB, free: 4.312 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002792/0.1639, allocations: 162 kB / 323.9 MB, free: 4.152 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/0.1643, allocations: 360.3 kB / 324.3 MB, free: 3.801 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1643, allocations: 0 / 324.3 MB, free: 3.801 MB / 266.7 MB Notification: Performance of Templates: time 0.02203/0.1864, allocations: 16.78 MB / 341 MB, free: 3.344 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.9561433028429747]