Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.0009228/0.0009228, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009956/0.0009956, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 273.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.973e-05, allocations: 5.969 kB / 273.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003574/0.003594, allocations: 3.765 MB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.004977, allocations: 1.105 MB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.005151, allocations: 31.81 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.005401, allocations: 158.8 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005726/0.005974, allocations: 314 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.006157, allocations: 139.8 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.007197, allocations: 1.47 MB / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.007728, allocations: 0.6708 MB / 281.1 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006494/0.008377, allocations: 0.9589 MB / 282.1 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006642/0.009041, allocations: 0.7795 MB / 282.9 MB, free: 7.676 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.009178, allocations: 164 kB / 283 MB, free: 7.516 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.009363, allocations: 160 kB / 283.2 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.009633, allocations: 494.6 kB / 283.7 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.009971, allocations: 0.5262 MB / 284.2 MB, free: 6.348 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008306/0.0108, allocations: 1.25 MB / 285.4 MB, free: 5.094 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.0108, allocations: 0 / 285.4 MB, free: 5.094 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.0108, allocations: 0 / 285.4 MB, free: 5.094 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.01081, allocations: 3.938 kB / 285.4 MB, free: 5.09 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.00167/0.01248, allocations: 1.527 MB / 287 MB, free: 3.531 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.01251, allocations: 8.031 kB / 287 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003114/0.01283, allocations: 208.8 kB / 287.2 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005902/0.01342, allocations: 0.559 MB / 287.7 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.01346, allocations: 82.62 kB / 287.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.01357, allocations: 112.4 kB / 287.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007914/0.01436, allocations: 0.9192 MB / 288.8 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.01438, allocations: 7.984 kB / 288.9 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.01444, allocations: 47.98 kB / 288.9 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.01445, allocations: 28 kB / 288.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.01482, allocations: 255.3 kB / 289.2 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1239/0.1387, allocations: 2.51 MB / 291.7 MB, free: 24.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.1391, allocations: 298.4 kB / 292 MB, free: 24.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.1394, allocations: 225.3 kB / 292.2 MB, free: 24.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1395, allocations: 9.188 kB / 292.2 MB, free: 24.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1395, allocations: 39.86 kB / 292.2 MB, free: 24.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 1.944e-06/0.1395, allocations: 0 / 292.2 MB, free: 24.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0004522/0.1399, allocations: 274.7 kB / 292.5 MB, free: 24.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.14, allocations: 58.8 kB / 292.6 MB, free: 24.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/0.1405, allocations: 0.5229 MB / 293.1 MB, free: 24.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.1405, allocations: 36.7 kB / 293.1 MB, free: 24.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.1407, allocations: 488.7 kB / 293.6 MB, free: 24.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.1408, allocations: 180.8 kB / 293.8 MB, free: 23.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.1409, allocations: 95.28 kB / 293.9 MB, free: 23.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.141, allocations: 390.9 kB / 294.3 MB, free: 23.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.141, allocations: 51.27 kB / 294.3 MB, free: 23.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1412, allocations: 146.6 kB / 294.5 MB, free: 23.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.1414, allocations: 244.8 kB / 294.7 MB, free: 23.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1414, allocations: 2.344 kB / 294.7 MB, free: 23.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003634/0.1418, allocations: 288.9 kB / 295 MB, free: 23.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1418, allocations: 5.75 kB / 295 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1418, allocations: 2.375 kB / 295 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1418, allocations: 6.031 kB / 295 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.1423, allocations: 184 kB / 295.2 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1423, allocations: 13.98 kB / 295.2 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.1425, allocations: 53.12 kB / 295.2 MB, free: 23.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.1425, allocations: 16.47 kB / 295.2 MB, free: 23.35 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.1427, allocations: 142.8 kB / 295.4 MB, free: 23.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.1428, allocations: 64.39 kB / 295.5 MB, free: 23.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.999e-05/0.1428, allocations: 83.58 kB / 295.5 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1429, allocations: 9.422 kB / 295.5 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1429, allocations: 0 / 295.5 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1429, allocations: 7.938 kB / 295.5 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.1442, allocations: 1.1 MB / 296.6 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1442, allocations: 3.219 kB / 296.7 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.1446, allocations: 154.3 kB / 296.8 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1446, allocations: 4.156 kB / 296.8 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.1446, allocations: 12.88 kB / 296.8 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1446, allocations: 4.438 kB / 296.8 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1446, allocations: 7.219 kB / 296.8 MB, free: 22.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.1451, allocations: 464.3 kB / 297.3 MB, free: 22.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.1451, allocations: 85.59 kB / 297.4 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.1452, allocations: 12.36 kB / 297.4 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.1454, allocations: 38.64 kB / 297.4 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.1454, allocations: 36.66 kB / 297.5 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.1455, allocations: 12.69 kB / 297.5 MB, free: 22.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002735/0.1457, allocations: 253.3 kB / 297.7 MB, free: 22.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1457, allocations: 0 / 297.7 MB, free: 22.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005329/0.1463, allocations: 291.3 kB / 298 MB, free: 22.52 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.1464, allocations: 101 kB / 298.1 MB, free: 22.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.1467, allocations: 225.3 kB / 298.3 MB, free: 22.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/0.1468, allocations: 8.594 kB / 298.3 MB, free: 22.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1469, allocations: 125.6 kB / 298.4 MB, free: 22.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.1474, allocations: 166.2 kB / 298.6 MB, free: 22.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.1497, allocations: 1.882 MB / 300.5 MB, free: 21.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.15, allocations: 303.6 kB / 300.8 MB, free: 21.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.1502, allocations: 88.06 kB / 300.9 MB, free: 21.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/0.1506, allocations: 217 kB / 301.1 MB, free: 21.43 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1506, allocations: 0 / 301.1 MB, free: 21.43 MB / 266.7 MB Notification: Performance of Templates: time 0.01243/0.163, allocations: 10.66 MB / 311.7 MB, free: 14.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.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.7429262748919427]