Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001842/0.001842, allocations: 78.64 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002091/0.002091, allocations: 153.7 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.433/1.433, allocations: 173.3 MB / 200.4 MB, free: 12.9 MB / 190.1 MB " [Timeout remaining time 178] 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.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 1.344 kB / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.424e-05, allocations: 3.125 kB / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.0041/0.004124, allocations: 3.452 MB / 322.4 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.005778, allocations: 0.9605 MB / 323.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.006012, allocations: 28.38 kB / 323.3 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.006333, allocations: 162.8 kB / 323.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000812/0.007145, allocations: 320.5 kB / 323.8 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.0074, allocations: 122.4 kB / 323.9 MB, free: 244 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.008903, allocations: 1.463 MB / 325.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.009916, allocations: 0.6413 MB / 326 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.01114, allocations: 0.9512 MB / 327 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.01235, allocations: 0.7246 MB / 327.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.01263, allocations: 159.7 kB / 327.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.01293, allocations: 159.3 kB / 328 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005219/0.01346, allocations: 484 kB / 328.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000727/0.01418, allocations: 0.5125 MB / 329 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002338/0.01652, allocations: 2.105 MB / 331.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01653, allocations: 3.938 kB / 331.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01653, allocations: 1.094 kB / 331.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.01655, allocations: 4 kB / 331.1 MB, free: 12.81 MB / 302.1 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.003157/0.01971, allocations: 1.635 MB / 332.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.01974, allocations: 13.95 kB / 332.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.02, allocations: 147.7 kB / 332.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.02147, allocations: 0.8289 MB / 333.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.408e-05/0.02155, allocations: 84.66 kB / 333.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.02173, allocations: 109.5 kB / 333.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.02442, allocations: 1.724 MB / 335.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.02445, allocations: 3.938 kB / 335.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.02456, allocations: 46.09 kB / 335.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.02458, allocations: 31.44 kB / 335.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.02674, allocations: 1.326 MB / 337.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007096/0.03384, allocations: 3.72 MB / 340.8 MB, free: 5.523 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.03504, allocations: 0.6286 MB / 341.4 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.03606, allocations: 498.7 kB / 341.9 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.03609, allocations: 8.5 kB / 341.9 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.03614, allocations: 39.06 kB / 342 MB, free: 4.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.555e-06/0.03614, allocations: 4 kB / 342 MB, free: 4.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001779/0.03792, allocations: 0.879 MB / 342.8 MB, free: 3.453 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.03797, allocations: 55.91 kB / 342.9 MB, free: 3.387 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.03927, allocations: 0.793 MB / 343.7 MB, free: 2.582 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.03934, allocations: 37.7 kB / 343.7 MB, free: 2.539 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004961/0.03984, allocations: 0.5545 MB / 344.3 MB, free: 1.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.04002, allocations: 190.4 kB / 344.5 MB, free: 1.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.04022, allocations: 106.3 kB / 344.6 MB, free: 1.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.04047, allocations: 386.7 kB / 344.9 MB, free: 1.293 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/0.04102, allocations: 301.1 kB / 345.2 MB, free: 1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/0.04163, allocations: 395.4 kB / 345.6 MB, free: 0.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.04282, allocations: 0.6895 MB / 346.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.04282, allocations: 0 / 346.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001596/0.04442, allocations: 0.8327 MB / 347.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.04444, allocations: 8 kB / 347.2 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.04445, allocations: 0 / 347.2 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.04448, allocations: 8 kB / 347.2 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.04521, allocations: 147.8 kB / 347.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.04523, allocations: 4 kB / 347.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.04574, allocations: 59.64 kB / 347.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.04579, allocations: 24.09 kB / 347.4 MB, free: 14.78 MB / 318.1 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.0008074/0.04659, allocations: 466.4 kB / 347.8 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.04673, allocations: 79.47 kB / 347.9 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.04691, allocations: 86.83 kB / 348 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.04692, allocations: 8 kB / 348 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.04693, allocations: 0 / 348 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.04694, allocations: 3.984 kB / 348 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.05004, allocations: 1.682 MB / 349.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.05004, allocations: 7.938 kB / 349.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005392/0.05058, allocations: 119.8 kB / 349.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.05059, allocations: 8.156 kB / 349.8 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.05063, allocations: 12 kB / 349.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.05064, allocations: 4 kB / 349.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.05064, allocations: 3.938 kB / 349.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.05228, allocations: 1.12 MB / 351 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.05246, allocations: 95.44 kB / 351.1 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.05256, allocations: 11.98 kB / 351.1 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.05298, allocations: 51.95 kB / 351.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.0531, allocations: 44.36 kB / 351.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.05314, allocations: 16 kB / 351.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001041/0.05418, allocations: 0.5693 MB / 351.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.05418, allocations: 0 / 351.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008164/0.055, allocations: 287.1 kB / 352 MB, free: 10.04 MB / 318.1 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.0001897/0.05519, allocations: 115.2 kB / 352.1 MB, free: 9.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.05626, allocations: 0.6345 MB / 352.8 MB, free: 9.277 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.05626, allocations: 0 / 352.8 MB, free: 9.277 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.05675, allocations: 311.5 kB / 353.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008848/0.05763, allocations: 179.3 kB / 353.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.06138, allocations: 2.194 MB / 355.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008215/0.0622, allocations: 0.7484 MB / 356.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004882/0.06269, allocations: 209.5 kB / 356.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.06285, allocations: 52.5 kB / 356.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of SimCode: time 8.11e-07/0.06286, allocations: 3.938 kB / 356.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of Templates: time 0.01828/0.08114, allocations: 9.752 MB / 366.2 MB, free: 11.94 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.56982171908021]