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.0009514/0.0009514, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0008956/0.0008956, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9822/0.9822, allocations: 173.3 MB / 201.1 MB, free: 9.344 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.773e-06/1.773e-06, allocations: 0 / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.331e-05, allocations: 6.312 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005911/0.005944, allocations: 3.758 MB / 271.7 MB, free: 2.672 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.008518, allocations: 0.9968 MB / 272.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004/0.008918, allocations: 27.81 kB / 272.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.009313, allocations: 154.8 kB / 272.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.01039, allocations: 321.9 kB / 273.2 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.01073, allocations: 123.8 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00168/0.01241, allocations: 1.462 MB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.01343, allocations: 0.6396 MB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.01521, allocations: 0.959 MB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.01689, allocations: 0.7756 MB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004935/0.01739, allocations: 160 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004222/0.01781, allocations: 160 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006026/0.01841, allocations: 490.6 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001584/0.02, allocations: 0.5262 MB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.0223, allocations: 1.242 MB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.02231, allocations: 0 / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.02231, allocations: 3.938 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.65e-05/0.0224, allocations: 0 / 279.8 MB, free: 10.6 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.004376/0.02678, allocations: 1.793 MB / 281.5 MB, free: 8.762 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.997e-05/0.02687, allocations: 8.922 kB / 281.6 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005375/0.0274, allocations: 240 kB / 281.8 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.02888, allocations: 0.748 MB / 282.5 MB, free: 7.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.443e-05/0.02896, allocations: 82.62 kB / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.02915, allocations: 116.3 kB / 282.7 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.03129, allocations: 1.036 MB / 283.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.03132, allocations: 4 kB / 283.8 MB, free: 6.418 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.03144, allocations: 44 kB / 283.8 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.03147, allocations: 31.98 kB / 283.8 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.03281, allocations: 381 kB / 284.2 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007058/0.03987, allocations: 3.464 MB / 287.7 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/0.04061, allocations: 372.7 kB / 288 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006832/0.0413, allocations: 263.6 kB / 288.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.321e-05/0.04134, allocations: 12.48 kB / 288.3 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.04139, allocations: 41.89 kB / 288.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 5.751e-06/0.0414, allocations: 0 / 288.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.000991/0.04239, allocations: 396.6 kB / 288.7 MB, free: 1.277 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.04244, allocations: 59.91 kB / 288.8 MB, free: 1.207 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.04345, allocations: 0.687 MB / 289.5 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.0435, allocations: 37.7 kB / 289.5 MB, free: 476 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1377/0.1812, allocations: 0.6202 MB / 290.1 MB, free: 29.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.1815, allocations: 195.3 kB / 290.3 MB, free: 29.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.1816, allocations: 110.8 kB / 290.4 MB, free: 29.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.1819, allocations: 0.5871 MB / 291 MB, free: 28.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.1821, allocations: 75.55 kB / 291.1 MB, free: 28.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.1823, allocations: 202.4 kB / 291.3 MB, free: 28.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.1827, allocations: 318.1 kB / 291.6 MB, free: 28.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.1827, allocations: 0 / 291.6 MB, free: 28.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008313/0.1835, allocations: 420 kB / 292 MB, free: 28.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.1836, allocations: 5.375 kB / 292 MB, free: 28.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1836, allocations: 2.5 kB / 292 MB, free: 28.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.1836, allocations: 10.94 kB / 292 MB, free: 28.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.184, allocations: 146.2 kB / 292.2 MB, free: 28.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.1841, allocations: 4.859 kB / 292.2 MB, free: 28.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.1844, allocations: 62.53 kB / 292.3 MB, free: 28.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.1844, allocations: 20.72 kB / 292.3 MB, free: 28.23 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.0003422/0.1847, allocations: 186.4 kB / 292.5 MB, free: 28.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.1848, allocations: 94.8 kB / 292.5 MB, free: 28.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.979e-05/0.1849, allocations: 83.34 kB / 292.6 MB, free: 28.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.185, allocations: 11.8 kB / 292.6 MB, free: 28.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.185, allocations: 0 / 292.6 MB, free: 28.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.185, allocations: 4.406 kB / 292.6 MB, free: 28.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.187, allocations: 1.411 MB / 294.1 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.187, allocations: 1.125 kB / 294.1 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.1873, allocations: 119.5 kB / 294.2 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/0.1873, allocations: 4.359 kB / 294.2 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.1874, allocations: 12.7 kB / 294.2 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.1874, allocations: 3.25 kB / 294.2 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1874, allocations: 10.62 kB / 294.2 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006789/0.1881, allocations: 0.6264 MB / 294.8 MB, free: 27.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.1882, allocations: 90.59 kB / 294.9 MB, free: 27.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.1882, allocations: 13.67 kB / 294.9 MB, free: 27.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.1884, allocations: 45.94 kB / 295 MB, free: 27.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/0.1885, allocations: 47.86 kB / 295 MB, free: 27.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.1886, allocations: 18.44 kB / 295 MB, free: 27.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004449/0.189, allocations: 438.8 kB / 295.5 MB, free: 27.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.189, allocations: 0 / 295.5 MB, free: 27.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006091/0.1896, allocations: 288 kB / 295.7 MB, free: 27.11 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.0001272/0.1897, allocations: 112.5 kB / 295.9 MB, free: 27.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004587/0.1902, allocations: 289.7 kB / 296.1 MB, free: 27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1902, allocations: 1.125 kB / 296.1 MB, free: 27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.1904, allocations: 156.2 kB / 296.3 MB, free: 26.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.1909, allocations: 164.8 kB / 296.5 MB, free: 26.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.1938, allocations: 1.952 MB / 298.4 MB, free: 26.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1941, allocations: 366.6 kB / 298.8 MB, free: 26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003455/0.1944, allocations: 158 kB / 298.9 MB, free: 25.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1946, allocations: 52.7 kB / 299 MB, free: 25.98 MB / 266.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1946, allocations: 1.062 kB / 299 MB, free: 25.98 MB / 266.7 MB Notification: Performance of Templates: time 0.01369/0.2083, allocations: 10.24 MB / 309.2 MB, free: 20.44 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.9122176342643797]