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.00159/0.00159, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001247/0.001247, allocations: 164.3 kB / 25.6 MB, free: 8.895 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/1, allocations: 177.1 MB / 206 MB, free: 4.5 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.763e-06/1.763e-06, allocations: 0 / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.871e-05, allocations: 3.25 kB / 274.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003603/0.003622, allocations: 3.704 MB / 277.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.005038, allocations: 1.074 MB / 279 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.005234, allocations: 27.81 kB / 279 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.005492, allocations: 162.8 kB / 279.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006127/0.006104, allocations: 321.9 kB / 279.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.006301, allocations: 131.8 kB / 279.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009336/0.007235, allocations: 1.462 MB / 281 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005596/0.007794, allocations: 0.6513 MB / 281.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007156/0.00851, allocations: 0.9629 MB / 282.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007291/0.009239, allocations: 0.7834 MB / 283.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.009385, allocations: 160 kB / 283.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.009563, allocations: 160 kB / 283.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002819/0.009845, allocations: 498.6 kB / 284.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.01023, allocations: 0.5223 MB / 284.8 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.01141, allocations: 1.254 MB / 286 MB, free: 8.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01141, allocations: 4 kB / 286 MB, free: 8.535 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01141, allocations: 0 / 286 MB, free: 8.535 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.01143, allocations: 0 / 286 MB, free: 8.535 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.001634/0.01306, allocations: 1.742 MB / 287.8 MB, free: 6.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.01309, allocations: 8.031 kB / 287.8 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/0.01343, allocations: 264 kB / 288 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006964/0.01413, allocations: 0.7205 MB / 288.7 MB, free: 5.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.01418, allocations: 82.62 kB / 288.8 MB, free: 5.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.01429, allocations: 116.4 kB / 288.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009077/0.01519, allocations: 0.9697 MB / 289.9 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.01521, allocations: 0 / 289.9 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/0.01528, allocations: 48 kB / 290 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.01529, allocations: 28 kB / 290 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.0157, allocations: 287.2 kB / 290.3 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003234/0.01894, allocations: 3.148 MB / 293.4 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.01927, allocations: 351.3 kB / 293.8 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.01956, allocations: 233.7 kB / 294 MB, free: 260 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.01958, allocations: 8.5 kB / 294 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.01961, allocations: 41.89 kB / 294 MB, free: 200 kB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.013e-06/0.01961, allocations: 0 / 294 MB, free: 200 kB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0004518/0.02006, allocations: 368.5 kB / 294.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.02009, allocations: 59.91 kB / 294.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.02054, allocations: 0.6671 MB / 295.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.02057, allocations: 37.7 kB / 295.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.02087, allocations: 0.6429 MB / 295.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.603e-05/0.02097, allocations: 190.4 kB / 296 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.02108, allocations: 119.9 kB / 296.1 MB, free: 14.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.02126, allocations: 0.5858 MB / 296.7 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.02134, allocations: 57.27 kB / 296.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.02148, allocations: 187.8 kB / 296.9 MB, free: 13.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.02173, allocations: 290.6 kB / 297.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.02174, allocations: 15.81 kB / 297.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003854/0.02212, allocations: 381 kB / 297.6 MB, free: 12.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.02214, allocations: 8 kB / 297.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.02214, allocations: 0 / 297.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.02216, allocations: 4 kB / 297.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.02246, allocations: 139.8 kB / 297.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.02247, allocations: 4 kB / 297.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.02263, allocations: 55.94 kB / 297.8 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.02265, allocations: 15.98 kB / 297.8 MB, free: 12.25 MB / 282.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.0001657/0.02281, allocations: 192.3 kB / 298 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/0.0229, allocations: 95.53 kB / 298.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.778e-05/0.02297, allocations: 79.08 kB / 298.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.02298, allocations: 4 kB / 298.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.02298, allocations: 0 / 298.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.02299, allocations: 3.984 kB / 298.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.02452, allocations: 1.382 MB / 299.6 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.02452, allocations: 7.984 kB / 299.6 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.02478, allocations: 111.8 kB / 299.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.02479, allocations: 7.938 kB / 299.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.02481, allocations: 8.156 kB / 299.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.02481, allocations: 8 kB / 299.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.02482, allocations: 4 kB / 299.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.02533, allocations: 0.5878 MB / 300.3 MB, free: 9.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.658e-05/0.02542, allocations: 87.36 kB / 300.4 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/0.02547, allocations: 16 kB / 300.4 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.02566, allocations: 35.98 kB / 300.4 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.02572, allocations: 36.42 kB / 300.5 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.02574, allocations: 12 kB / 300.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002615/0.026, allocations: 402.9 kB / 300.9 MB, free: 9.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.026, allocations: 0 / 300.9 MB, free: 9.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004928/0.0265, allocations: 295 kB / 301.2 MB, free: 8.789 MB / 282.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.0001314/0.02663, allocations: 115.1 kB / 301.3 MB, free: 8.668 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.02695, allocations: 259.5 kB / 301.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.02695, allocations: 0 / 301.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.02708, allocations: 143.4 kB / 301.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.02761, allocations: 167.3 kB / 301.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.03012, allocations: 1.951 MB / 303.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.03036, allocations: 366.7 kB / 304.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000218/0.03058, allocations: 85.69 kB / 304.2 MB, free: 5.625 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/0.03092, allocations: 254.1 kB / 304.5 MB, free: 5.375 MB / 282.7 MB Notification: Performance of SimCode: time 1.293e-06/0.03092, allocations: 0 / 304.5 MB, free: 5.375 MB / 282.7 MB Notification: Performance of Templates: time 0.01457/0.04549, allocations: 10.62 MB / 315.1 MB, free: 10.96 MB / 298.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.813137869350612]