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.0009172/0.0009172, allocations: 85.17 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.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.0009991/0.0009991, allocations: 148.6 kB / 24.9 MB, free: 8.727 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.9131/0.9131, allocations: 173.4 MB / 201.5 MB, free: 8.727 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 1.383e-06/1.383e-06, allocations: 3.938 kB / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.134e-05, allocations: 6.109 kB / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004972/0.004994, allocations: 5.789 MB / 274.3 MB, free: 152 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.008142, allocations: 2.098 MB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005015/0.008643, allocations: 55.62 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007718/0.009415, allocations: 397.4 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.01049, allocations: 0.6016 MB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.01081, allocations: 223.7 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.01234, allocations: 2.302 MB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009881/0.01333, allocations: 1.167 MB / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.01509, allocations: 1.616 MB / 282.8 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.01625, allocations: 1.197 MB / 283.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002709/0.01652, allocations: 291.9 kB / 284.2 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.01694, allocations: 367.8 kB / 284.6 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.01733, allocations: 0.7402 MB / 285.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006111/0.01794, allocations: 0.8692 MB / 286.2 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.01937, allocations: 2.029 MB / 288.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01937, allocations: 0 / 288.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01938, allocations: 7.938 kB / 288.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.29e-05/0.0194, allocations: 0 / 288.2 MB, free: 2.113 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.09339/0.1128, allocations: 2.222 MB / 290.5 MB, free: 28.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1128, allocations: 12.48 kB / 290.5 MB, free: 28.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006699/0.1135, allocations: 336 kB / 290.8 MB, free: 28.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.1146, allocations: 0.8004 MB / 291.6 MB, free: 28.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.567e-05/0.1147, allocations: 135.5 kB / 291.7 MB, free: 28.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.1149, allocations: 176 kB / 291.9 MB, free: 28.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.1166, allocations: 1.487 MB / 293.4 MB, free: 28.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.1166, allocations: 1.031 kB / 293.4 MB, free: 28.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.396e-05/0.1167, allocations: 70.81 kB / 293.5 MB, free: 28.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.468e-05/0.1168, allocations: 101.9 kB / 293.6 MB, free: 28.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009023/0.1177, allocations: 0.5044 MB / 294.1 MB, free: 28.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005392/0.1231, allocations: 4.764 MB / 298.8 MB, free: 26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.1236, allocations: 384.8 kB / 299.2 MB, free: 25.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.1238, allocations: 174.3 kB / 299.4 MB, free: 25.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.1239, allocations: 34.98 kB / 299.4 MB, free: 25.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1239, allocations: 39.42 kB / 299.5 MB, free: 25.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 3.005e-06/0.1239, allocations: 0 / 299.5 MB, free: 25.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001494/0.1254, allocations: 0.8828 MB / 300.3 MB, free: 25.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.1255, allocations: 87.06 kB / 300.4 MB, free: 25.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008225/0.1263, allocations: 0.9273 MB / 301.3 MB, free: 25.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.1263, allocations: 35.95 kB / 301.4 MB, free: 25.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.1266, allocations: 0.8985 MB / 302.3 MB, free: 24.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.232e-05/0.1267, allocations: 206.3 kB / 302.5 MB, free: 24.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.1269, allocations: 230.4 kB / 302.7 MB, free: 24.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.1269, allocations: 357 kB / 303.1 MB, free: 23.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1271, allocations: 127.6 kB / 303.2 MB, free: 23.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.1274, allocations: 0.7688 MB / 303.9 MB, free: 23.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/0.128, allocations: 1.003 MB / 305 MB, free: 22.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.128, allocations: 6.375 kB / 305 MB, free: 22.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0009151/0.1289, allocations: 0.8465 MB / 305.8 MB, free: 21.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1289, allocations: 20.44 kB / 305.8 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.129, allocations: 21.5 kB / 305.8 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/0.1293, allocations: 145.4 kB / 306 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.1298, allocations: 317.5 kB / 306.3 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008614/0.1306, allocations: 1.758 MB / 308.1 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.1311, allocations: 84.75 kB / 308.1 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.1311, allocations: 57.66 kB / 308.2 MB, free: 20.16 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.0002328/0.1314, allocations: 209.6 kB / 308.4 MB, free: 19.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.1315, allocations: 96.61 kB / 308.5 MB, free: 19.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.1318, allocations: 366.4 kB / 308.9 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1318, allocations: 4 kB / 308.9 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1318, allocations: 4 kB / 308.9 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1319, allocations: 7.922 kB / 308.9 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.1332, allocations: 1.462 MB / 310.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.1332, allocations: 8.062 kB / 310.3 MB, free: 18.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.1334, allocations: 121.4 kB / 310.5 MB, free: 18.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/0.1337, allocations: 115.5 kB / 310.6 MB, free: 18.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.1337, allocations: 16 kB / 310.6 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007346/0.1345, allocations: 1.77 MB / 312.4 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1345, allocations: 4 kB / 312.4 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.1349, allocations: 0.6136 MB / 313 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.1351, allocations: 131.2 kB / 313.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.1352, allocations: 12 kB / 313.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.1354, allocations: 51.94 kB / 313.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.1354, allocations: 47.86 kB / 313.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.1355, allocations: 16 kB / 313.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002739/0.1357, allocations: 435.2 kB / 313.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1357, allocations: 3.828 kB / 313.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008074/0.1365, allocations: 343.9 kB / 314 MB, free: 14.56 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.000328/0.1369, allocations: 188.9 kB / 314.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006145/0.1375, allocations: 0.6326 MB / 314.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-05/0.1375, allocations: 25.8 kB / 314.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.1377, allocations: 302.4 kB / 315.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.1383, allocations: 282.3 kB / 315.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.1412, allocations: 2.716 MB / 318.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1414, allocations: 425.3 kB / 318.5 MB, free: 9.914 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003062/0.1417, allocations: 161.9 kB / 318.7 MB, free: 9.754 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/0.1421, allocations: 325 kB / 319 MB, free: 9.438 MB / 266.7 MB Notification: Performance of SimCode: time 1.443e-06/0.1421, allocations: 0 / 319 MB, free: 9.438 MB / 266.7 MB Notification: Performance of Templates: time 0.02012/0.1622, allocations: 16.79 MB / 335.8 MB, free: 8.965 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 -s gbode -gbm=radauIIA3 -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.8533956510946155]