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.0009547/0.0009547, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0008632/0.0008632, allocations: 172.2 kB / 24.92 MB, free: 9.113 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.946/0.946, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.282e-06/1.282e-06, allocations: 0 / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.47e-05, allocations: 6.312 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004958/0.004973, allocations: 3.722 MB / 277.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.007165, allocations: 1.102 MB / 278.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003107/0.007476, allocations: 31.75 kB / 278.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.007839, allocations: 158.8 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008896/0.008729, allocations: 326 kB / 278.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.009021, allocations: 139.8 kB / 278.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004674/0.0137, allocations: 1.466 MB / 280.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009583/0.01465, allocations: 0.6669 MB / 281 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.01597, allocations: 0.9589 MB / 282 MB, free: 8.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.01716, allocations: 0.7873 MB / 282.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.0174, allocations: 160 kB / 282.9 MB, free: 7.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.01767, allocations: 160 kB / 283.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004288/0.0181, allocations: 498.6 kB / 283.6 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006264/0.01873, allocations: 0.5262 MB / 284.1 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.02007, allocations: 1.246 MB / 285.3 MB, free: 5.309 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.02008, allocations: 0 / 285.3 MB, free: 5.309 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02008, allocations: 0 / 285.3 MB, free: 5.309 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.0201, allocations: 0 / 285.3 MB, free: 5.309 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.002263/0.02236, allocations: 1.535 MB / 286.9 MB, free: 3.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.0224, allocations: 8.031 kB / 286.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004968/0.02289, allocations: 212.8 kB / 287.1 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008842/0.02378, allocations: 0.5513 MB / 287.7 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/0.02384, allocations: 86.56 kB / 287.7 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.024, allocations: 112.4 kB / 287.8 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.02517, allocations: 0.9309 MB / 288.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.02519, allocations: 0 / 288.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.725e-05/0.02529, allocations: 44 kB / 288.8 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.02532, allocations: 28 kB / 288.8 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005615/0.02588, allocations: 259.3 kB / 289.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1061/0.132, allocations: 2.505 MB / 291.6 MB, free: 24.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.1323, allocations: 303.7 kB / 291.9 MB, free: 24.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.1327, allocations: 211.8 kB / 292.1 MB, free: 24.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.1327, allocations: 13.59 kB / 292.1 MB, free: 24.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.1327, allocations: 39.34 kB / 292.2 MB, free: 24.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.705e-06/0.1327, allocations: 2.719 kB / 292.2 MB, free: 24.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0004378/0.1331, allocations: 270.9 kB / 292.4 MB, free: 24.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.1332, allocations: 58.06 kB / 292.5 MB, free: 24.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004069/0.1336, allocations: 0.5228 MB / 293 MB, free: 24.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1336, allocations: 37.39 kB / 293 MB, free: 24.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.1338, allocations: 488.2 kB / 293.5 MB, free: 24.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.1338, allocations: 183.2 kB / 293.7 MB, free: 24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.995e-05/0.1339, allocations: 96.78 kB / 293.8 MB, free: 23.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.134, allocations: 387.1 kB / 294.2 MB, free: 23.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.992e-05/0.1341, allocations: 49.3 kB / 294.2 MB, free: 23.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1342, allocations: 149 kB / 294.4 MB, free: 23.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.1344, allocations: 246.3 kB / 294.6 MB, free: 23.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1344, allocations: 4.656 kB / 294.6 MB, free: 23.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003344/0.1348, allocations: 287.5 kB / 294.9 MB, free: 23.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1348, allocations: 5.5 kB / 294.9 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1348, allocations: 3.297 kB / 294.9 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1348, allocations: 6.281 kB / 294.9 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.1351, allocations: 139.6 kB / 295 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1351, allocations: 9.828 kB / 295.1 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.1353, allocations: 45.53 kB / 295.1 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.1354, allocations: 17.81 kB / 295.1 MB, free: 23.43 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.000155/0.1355, allocations: 143.7 kB / 295.3 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.347e-05/0.1356, allocations: 62.98 kB / 295.3 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.716e-05/0.1357, allocations: 84.27 kB / 295.4 MB, free: 23.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1357, allocations: 5.484 kB / 295.4 MB, free: 23.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1357, allocations: 1.859 kB / 295.4 MB, free: 23.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1357, allocations: 2.297 kB / 295.4 MB, free: 23.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.137, allocations: 1.103 MB / 296.5 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.137, allocations: 1.219 kB / 296.5 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.1372, allocations: 110.4 kB / 296.6 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1372, allocations: 14.53 kB / 296.6 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.1373, allocations: 13.33 kB / 296.6 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1373, allocations: 5.031 kB / 296.7 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1373, allocations: 2.125 kB / 296.7 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.1377, allocations: 474.4 kB / 297.1 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.1377, allocations: 80.8 kB / 297.2 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.1378, allocations: 13.02 kB / 297.2 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.138, allocations: 36.55 kB / 297.2 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.138, allocations: 37.08 kB / 297.3 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.138, allocations: 11.88 kB / 297.3 MB, free: 22.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002102/0.1382, allocations: 252.9 kB / 297.5 MB, free: 22.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1382, allocations: 0 / 297.5 MB, free: 22.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.1387, allocations: 286.1 kB / 297.8 MB, free: 22.61 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.0001028/0.1388, allocations: 100.1 kB / 297.9 MB, free: 22.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.139, allocations: 227.3 kB / 298.1 MB, free: 22.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.139, allocations: 10.94 kB / 298.1 MB, free: 22.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.1392, allocations: 123.3 kB / 298.3 MB, free: 22.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.1396, allocations: 164.1 kB / 298.4 MB, free: 22.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.1416, allocations: 1.886 MB / 300.3 MB, free: 21.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.1418, allocations: 301.4 kB / 300.6 MB, free: 21.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.142, allocations: 87.59 kB / 300.7 MB, free: 21.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.1423, allocations: 219.8 kB / 300.9 MB, free: 21.51 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1423, allocations: 0 / 300.9 MB, free: 21.51 MB / 266.7 MB Notification: Performance of Templates: time 0.01119/0.1535, allocations: 10.35 MB / 311.3 MB, free: 15 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.6240786220878363]