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.0009405/0.0009405, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001022/0.001022, allocations: 162.2 kB / 24.99 MB, free: 8.746 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 0.9776/0.9776, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.302e-06/1.302e-06, allocations: 0 / 273 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.416e-05, allocations: 2.312 kB / 273 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004056/0.004081, allocations: 3.769 MB / 276.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.00575, allocations: 1.067 MB / 277.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.006025, allocations: 27.81 kB / 277.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.006337, allocations: 162.8 kB / 278.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007129/0.00705, allocations: 321.9 kB / 278.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.007263, allocations: 135.8 kB / 278.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009824/0.008245, allocations: 1.466 MB / 280 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005981/0.008843, allocations: 0.6435 MB / 280.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008152/0.009658, allocations: 0.959 MB / 281.6 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007699/0.01043, allocations: 0.7834 MB / 282.4 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.01059, allocations: 160 kB / 282.5 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.01078, allocations: 168 kB / 282.7 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002985/0.01108, allocations: 494.6 kB / 283.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006053/0.01168, allocations: 0.5223 MB / 283.7 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009478/0.01263, allocations: 1.254 MB / 284.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.01263, allocations: 0 / 284.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.01263, allocations: 0 / 284.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.01265, allocations: 0 / 284.9 MB, free: 5.848 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.001833/0.01449, allocations: 1.801 MB / 286.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.01453, allocations: 8.031 kB / 286.8 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/0.01494, allocations: 264 kB / 287 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008102/0.01575, allocations: 0.7791 MB / 287.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/0.0158, allocations: 86.62 kB / 287.9 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.01591, allocations: 108.4 kB / 288 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.01709, allocations: 1.048 MB / 289 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.01711, allocations: 0 / 289 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/0.01718, allocations: 44 kB / 289.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.0172, allocations: 28 kB / 289.1 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007594/0.01796, allocations: 385 kB / 289.5 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1198/0.1378, allocations: 3.449 MB / 292.9 MB, free: 26.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.1383, allocations: 365.9 kB / 293.3 MB, free: 26.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004355/0.1387, allocations: 263 kB / 293.5 MB, free: 26.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1387, allocations: 17.03 kB / 293.6 MB, free: 26.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.1387, allocations: 44.25 kB / 293.6 MB, free: 26.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.916e-06/0.1387, allocations: 1.094 kB / 293.6 MB, free: 26.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0006391/0.1394, allocations: 400.6 kB / 294 MB, free: 26.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.1394, allocations: 60.38 kB / 294.1 MB, free: 26.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/0.14, allocations: 0.6899 MB / 294.7 MB, free: 26.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.14, allocations: 37.11 kB / 294.8 MB, free: 25.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.1403, allocations: 0.6258 MB / 295.4 MB, free: 25.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.913e-05/0.1404, allocations: 195.9 kB / 295.6 MB, free: 25.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.1405, allocations: 113.5 kB / 295.7 MB, free: 25.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1407, allocations: 0.5858 MB / 296.3 MB, free: 24.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.1408, allocations: 75.78 kB / 296.4 MB, free: 24.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.141, allocations: 203.7 kB / 296.6 MB, free: 24.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.1414, allocations: 319.8 kB / 296.9 MB, free: 24.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1414, allocations: 1.125 kB / 296.9 MB, free: 24.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005541/0.1419, allocations: 422.5 kB / 297.3 MB, free: 24.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1419, allocations: 9.578 kB / 297.3 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1419, allocations: 3.484 kB / 297.3 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.142, allocations: 4.281 kB / 297.3 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.1423, allocations: 144.5 kB / 297.4 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1423, allocations: 6.938 kB / 297.5 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.1425, allocations: 62.06 kB / 297.5 MB, free: 24.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.1426, allocations: 22.47 kB / 297.5 MB, free: 24.27 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.0001576/0.1427, allocations: 190.8 kB / 297.7 MB, free: 24.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.1428, allocations: 89.62 kB / 297.8 MB, free: 24.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.054e-05/0.1429, allocations: 84.56 kB / 297.9 MB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1429, allocations: 5.938 kB / 297.9 MB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.1429, allocations: 0 / 297.9 MB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1429, allocations: 5.812 kB / 297.9 MB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.1445, allocations: 1.419 MB / 299.3 MB, free: 23.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1445, allocations: 6.859 kB / 299.3 MB, free: 23.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.1447, allocations: 116.6 kB / 299.4 MB, free: 23.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1447, allocations: 3.531 kB / 299.4 MB, free: 23.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.1448, allocations: 13.7 kB / 299.5 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.1448, allocations: 7.766 kB / 299.5 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1448, allocations: 1.25 kB / 299.5 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/0.1454, allocations: 0.6236 MB / 300.1 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-05/0.1455, allocations: 95.19 kB / 300.2 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.1456, allocations: 18.92 kB / 300.2 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.1457, allocations: 49.52 kB / 300.3 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.1458, allocations: 39.69 kB / 300.3 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.1459, allocations: 16.28 kB / 300.3 MB, free: 22.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003848/0.1462, allocations: 438.7 kB / 300.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1462, allocations: 0 / 300.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005328/0.1468, allocations: 288.8 kB / 301 MB, free: 22.51 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 9.793e-05/0.1469, allocations: 115.7 kB / 301.1 MB, free: 22.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.1473, allocations: 288.9 kB / 301.4 MB, free: 22.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1473, allocations: 5.281 kB / 301.4 MB, free: 22.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.1474, allocations: 155.1 kB / 301.6 MB, free: 22.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.148, allocations: 168 kB / 301.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.1503, allocations: 1.956 MB / 303.7 MB, free: 21.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.1506, allocations: 369.5 kB / 304.1 MB, free: 21.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.1509, allocations: 161 kB / 304.2 MB, free: 21.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.151, allocations: 52.38 kB / 304.3 MB, free: 21.03 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.151, allocations: 0 / 304.3 MB, free: 21.03 MB / 266.7 MB Notification: Performance of Templates: time 0.01149/0.1625, allocations: 9.785 MB / 314 MB, free: 13.08 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 -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.9302951160352677]