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.001129/0.001129, allocations: 84 kB / 21.43 MB, free: 3.133 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.007703/0.007703, allocations: 143.6 kB / 24.68 MB, free: 8.891 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.8093/0.8093, allocations: 173.4 MB / 201.2 MB, free: 9.453 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.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 1.583e-06/1.583e-06, allocations: 0 / 319.7 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.224e-05, allocations: 2.281 kB / 319.7 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003173/0.003196, allocations: 3.458 MB / 323.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.00474, allocations: 0.9619 MB / 324.1 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.004979, allocations: 27.81 kB / 324.1 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.00524, allocations: 162.8 kB / 324.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007271/0.005967, allocations: 321.9 kB / 324.6 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.006178, allocations: 123.8 kB / 324.7 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009545/0.007132, allocations: 1.458 MB / 326.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.007686, allocations: 0.6473 MB / 326.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006441/0.00833, allocations: 0.9356 MB / 327.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006533/0.008983, allocations: 0.7287 MB / 328.5 MB, free: 13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.009105, allocations: 160 kB / 328.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.009241, allocations: 156 kB / 328.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.0095, allocations: 490.6 kB / 329.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.009841, allocations: 0.5184 MB / 329.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.01102, allocations: 2.096 MB / 331.9 MB, free: 9.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.01102, allocations: 0 / 331.9 MB, free: 9.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01102, allocations: 0 / 331.9 MB, free: 9.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.01104, allocations: 0 / 331.9 MB, free: 9.586 MB / 298.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.001679/0.01272, allocations: 1.638 MB / 333.5 MB, free: 7.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.01275, allocations: 12.92 kB / 333.5 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.0129, allocations: 148 kB / 333.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/0.01373, allocations: 0.8311 MB / 334.5 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.01377, allocations: 90.5 kB / 334.6 MB, free: 6.805 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.01388, allocations: 112.4 kB / 334.7 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.01539, allocations: 1.727 MB / 336.4 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.01541, allocations: 0 / 336.4 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.717e-05/0.01548, allocations: 48 kB / 336.5 MB, free: 4.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.01549, allocations: 24 kB / 336.5 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.0168, allocations: 1.336 MB / 337.8 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/0.02047, allocations: 3.714 MB / 341.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.02106, allocations: 0.6178 MB / 342.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/0.02161, allocations: 0.4948 MB / 342.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.02164, allocations: 4.5 kB / 342.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.02167, allocations: 39.06 kB / 342.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 2.314e-06/0.02167, allocations: 0 / 342.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009209/0.02259, allocations: 0.8752 MB / 343.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.02262, allocations: 59.91 kB / 343.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/0.02326, allocations: 0.7968 MB / 344.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.02328, allocations: 37.7 kB / 344.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.02355, allocations: 0.5507 MB / 345 MB, free: 12.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/0.02364, allocations: 186.4 kB / 345.2 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.02374, allocations: 102.3 kB / 345.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.02387, allocations: 386.7 kB / 345.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.02415, allocations: 309 kB / 346 MB, free: 11.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.02448, allocations: 403.4 kB / 346.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005965/0.02507, allocations: 0.6973 MB / 347.1 MB, free: 9.977 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02508, allocations: 0 / 347.1 MB, free: 9.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007381/0.02581, allocations: 0.817 MB / 347.9 MB, free: 9.152 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.02583, allocations: 12.22 kB / 347.9 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.02584, allocations: 8 kB / 347.9 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.02585, allocations: 7.938 kB / 347.9 MB, free: 9.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.02617, allocations: 143.8 kB / 348.1 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.02618, allocations: 7.938 kB / 348.1 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.02636, allocations: 59.64 kB / 348.1 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.02638, allocations: 20 kB / 348.2 MB, free: 8.898 MB / 314.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.0003621/0.02675, allocations: 462.4 kB / 348.6 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.02681, allocations: 79.53 kB / 348.7 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.466e-05/0.0269, allocations: 94.83 kB / 348.8 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.0269, allocations: 4 kB / 348.8 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.02691, allocations: 0 / 348.8 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.02692, allocations: 3.984 kB / 348.8 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.02847, allocations: 1.682 MB / 350.5 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.02847, allocations: 3.938 kB / 350.5 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.02872, allocations: 111.9 kB / 350.6 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.02873, allocations: 4 kB / 350.6 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.02875, allocations: 12 kB / 350.6 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.02875, allocations: 4.156 kB / 350.6 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.02875, allocations: 8 kB / 350.6 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009269/0.02968, allocations: 1.12 MB / 351.7 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.02977, allocations: 95.42 kB / 351.8 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.02982, allocations: 16 kB / 351.8 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.03001, allocations: 51.94 kB / 351.9 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.03008, allocations: 36.44 kB / 351.9 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.0301, allocations: 19.98 kB / 351.9 MB, free: 5.012 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004387/0.03054, allocations: 0.5654 MB / 352.5 MB, free: 4.453 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03054, allocations: 0 / 352.5 MB, free: 4.453 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004179/0.03096, allocations: 291 kB / 352.8 MB, free: 4.168 MB / 314.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.0001181/0.03108, allocations: 111.2 kB / 352.9 MB, free: 4.047 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006484/0.03173, allocations: 0.6307 MB / 353.5 MB, free: 3.414 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.03173, allocations: 0 / 353.5 MB, free: 3.414 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.032, allocations: 314.5 kB / 353.8 MB, free: 3.105 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.0325, allocations: 183.5 kB / 354 MB, free: 2.926 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.03461, allocations: 2.207 MB / 356.2 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.03508, allocations: 0.7251 MB / 357 MB, free: 15.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.03521, allocations: 60.5 kB / 357 MB, free: 15.84 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.03521, allocations: 0 / 357 MB, free: 15.84 MB / 330.7 MB Notification: Performance of Templates: time 0.01091/0.04613, allocations: 13.7 MB / 370.7 MB, free: 2.195 MB / 330.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=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: 5.234075455926359]