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.001024/0.001024, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001059/0.001059, allocations: 141.3 kB / 24.89 MB, free: 9.211 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.9642/0.9642, allocations: 173.3 MB / 201.5 MB, free: 9.223 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.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 268.5 MB, free: 6.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.963e-05, allocations: 2.312 kB / 268.5 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003913/0.003933, allocations: 3.698 MB / 272.2 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.00549, allocations: 1.031 MB / 273.2 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.005674, allocations: 27.81 kB / 273.2 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.005893, allocations: 162.8 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005582/0.006451, allocations: 314 kB / 273.7 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.006633, allocations: 127.8 kB / 273.8 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009269/0.00756, allocations: 1.466 MB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005225/0.008082, allocations: 0.6552 MB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007929/0.008875, allocations: 0.959 MB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007888/0.009664, allocations: 0.7756 MB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.009851, allocations: 156 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.01001, allocations: 164 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.01028, allocations: 490.6 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004331/0.01072, allocations: 0.5223 MB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009629/0.01168, allocations: 1.246 MB / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.01168, allocations: 0 / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.01168, allocations: 0 / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.922e-05/0.01171, allocations: 3.938 kB / 280.2 MB, free: 10.36 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.001525/0.01324, allocations: 1.516 MB / 281.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.766e-05/0.01326, allocations: 12.92 kB / 281.8 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.01346, allocations: 188.8 kB / 281.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.01402, allocations: 0.5318 MB / 282.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/0.01407, allocations: 86.62 kB / 282.6 MB, free: 7.969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.01417, allocations: 116.4 kB / 282.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007724/0.01495, allocations: 0.9231 MB / 283.6 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.01496, allocations: 0 / 283.6 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.01503, allocations: 48 kB / 283.6 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.01504, allocations: 28 kB / 283.7 MB, free: 6.773 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.01541, allocations: 247.3 kB / 283.9 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/0.01794, allocations: 2.515 MB / 286.4 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.01823, allocations: 309.5 kB / 286.7 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.01849, allocations: 214.7 kB / 286.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.01851, allocations: 8.5 kB / 286.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.01854, allocations: 43.06 kB / 287 MB, free: 3.316 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 1.663e-06/0.01854, allocations: 4 kB / 287 MB, free: 3.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0003833/0.01892, allocations: 270 kB / 287.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.01895, allocations: 59.84 kB / 287.3 MB, free: 2.969 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.0193, allocations: 0.5233 MB / 287.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.01933, allocations: 37.7 kB / 287.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.01952, allocations: 481 kB / 288.3 MB, free: 1.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.796e-05/0.01961, allocations: 182.4 kB / 288.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.923e-05/0.01971, allocations: 94.23 kB / 288.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.01982, allocations: 386.6 kB / 289 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.141e-05/0.01989, allocations: 49.28 kB / 289 MB, free: 1.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.02, allocations: 143.5 kB / 289.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.02022, allocations: 245.1 kB / 289.4 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.02022, allocations: 4 kB / 289.4 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0002878/0.02051, allocations: 290.2 kB / 289.7 MB, free: 484 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.02052, allocations: 4 kB / 289.7 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.02053, allocations: 4 kB / 289.7 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.02054, allocations: 4 kB / 289.7 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.02083, allocations: 143.8 kB / 289.9 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.02083, allocations: 4.281 kB / 289.9 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.02098, allocations: 59.61 kB / 289.9 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.02101, allocations: 12 kB / 289.9 MB, free: 252 kB / 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.0001404/0.02115, allocations: 144.5 kB / 290.1 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.02121, allocations: 63.88 kB / 290.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1079/0.1291, allocations: 78.61 kB / 290.2 MB, free: 29.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1291, allocations: 3.562 kB / 290.2 MB, free: 29.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1291, allocations: 1.156 kB / 290.2 MB, free: 29.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1291, allocations: 4.172 kB / 290.2 MB, free: 29.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.1307, allocations: 1.098 MB / 291.3 MB, free: 29.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1307, allocations: 3.625 kB / 291.3 MB, free: 29.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.131, allocations: 108.6 kB / 291.4 MB, free: 29.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.131, allocations: 4.219 kB / 291.4 MB, free: 29.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.131, allocations: 15.09 kB / 291.4 MB, free: 29.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.131, allocations: 10.14 kB / 291.5 MB, free: 29.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.131, allocations: 2.469 kB / 291.5 MB, free: 29.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.1315, allocations: 470.8 kB / 291.9 MB, free: 29.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.1316, allocations: 77.5 kB / 292 MB, free: 29.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.1316, allocations: 13.61 kB / 292 MB, free: 29.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1318, allocations: 34.98 kB / 292 MB, free: 29.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.1318, allocations: 38.39 kB / 292.1 MB, free: 29.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1319, allocations: 11.58 kB / 292.1 MB, free: 29.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002374/0.1321, allocations: 252.6 kB / 292.3 MB, free: 29.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1321, allocations: 0 / 292.3 MB, free: 29.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005072/0.1326, allocations: 286 kB / 292.6 MB, free: 29.36 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.0001062/0.1327, allocations: 101.2 kB / 292.7 MB, free: 29.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.133, allocations: 225.6 kB / 292.9 MB, free: 29.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.133, allocations: 7.094 kB / 292.9 MB, free: 29.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.1331, allocations: 124.9 kB / 293.1 MB, free: 29.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.1336, allocations: 173.8 kB / 293.2 MB, free: 29.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1355, allocations: 1.869 MB / 295.1 MB, free: 28.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1358, allocations: 298.2 kB / 295.4 MB, free: 28.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.136, allocations: 87.44 kB / 295.5 MB, free: 28.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.1363, allocations: 216.6 kB / 295.7 MB, free: 28.3 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1363, allocations: 5.438 kB / 295.7 MB, free: 28.3 MB / 266.7 MB Notification: Performance of Templates: time 0.01225/0.1485, allocations: 10.33 MB / 306 MB, free: 23.9 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] 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","",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.6611128179356456]