Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.001076/0.001076, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001755/0.002831, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001109/0.001109, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001773/0.002881, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9804/0.9804, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2025/1.183, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.257e-05, allocations: 2.312 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.00531/0.005343, allocations: 3.702 MB / 225.7 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.007493, allocations: 1.048 MB / 226.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003372/0.007831, allocations: 23.81 kB / 226.7 MB, free: 11.26 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.008245, allocations: 166.8 kB / 226.9 MB, free: 11.1 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.009271, allocations: 290.1 kB / 227.2 MB, free: 10.81 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.009644, allocations: 139.7 kB / 227.3 MB, free: 10.68 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.01096, allocations: 1.462 MB / 228.8 MB, free: 9.207 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006792/0.01163, allocations: 0.599 MB / 229.4 MB, free: 8.555 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.01307, allocations: 1.009 MB / 230.4 MB, free: 7.547 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.01459, allocations: 0.7639 MB / 231.2 MB, free: 6.781 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002564/0.01484, allocations: 156 kB / 231.3 MB, free: 6.629 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.01512, allocations: 156 kB / 231.5 MB, free: 6.477 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.01544, allocations: 399 kB / 231.9 MB, free: 6.086 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005406/0.01598, allocations: 431.2 kB / 232.3 MB, free: 5.664 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.01711, allocations: 1.141 MB / 233.4 MB, free: 4.52 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.841e-05/0.01713, allocations: 0 / 233.4 MB, free: 4.52 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.01713, allocations: 4 kB / 233.4 MB, free: 4.516 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.901e-05/0.01718, allocations: 0 / 233.4 MB, free: 4.516 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002328/0.01951, allocations: 1.75 MB / 235.2 MB, free: 2.734 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.01955, allocations: 8.031 kB / 235.2 MB, free: 2.727 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.01981, allocations: 184.8 kB / 235.4 MB, free: 2.547 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007408/0.02055, allocations: 484.7 kB / 235.8 MB, free: 2.047 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.0206, allocations: 82.59 kB / 235.9 MB, free: 1.965 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.02074, allocations: 112.4 kB / 236 MB, free: 1.855 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.0219, allocations: 0.9109 MB / 236.9 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.02192, allocations: 0 / 236.9 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.02199, allocations: 51.94 kB / 237 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.02202, allocations: 28 kB / 237 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.02249, allocations: 251.2 kB / 237.3 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.026, allocations: 2.468 MB / 239.7 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.02637, allocations: 284.4 kB / 240 MB, free: 13.67 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.02658, allocations: 150.9 kB / 240.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.02661, allocations: 20.27 kB / 240.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/0.02668, allocations: 43.05 kB / 240.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 4.708e-06/0.02668, allocations: 0 / 240.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.001541/0.02822, allocations: 0.7509 MB / 241 MB, free: 12.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.02826, allocations: 63.91 kB / 241 MB, free: 12.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.02874, allocations: 0.5155 MB / 241.5 MB, free: 12.06 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.02878, allocations: 37.7 kB / 241.6 MB, free: 12.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.02903, allocations: 473 kB / 242 MB, free: 11.55 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.02914, allocations: 194.3 kB / 242.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.02927, allocations: 98.25 kB / 242.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.02941, allocations: 378.6 kB / 242.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.02949, allocations: 53.28 kB / 242.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.02964, allocations: 148.4 kB / 242.9 MB, free: 10.65 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.02995, allocations: 258 kB / 243.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.02996, allocations: 4 kB / 243.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005393/0.03049, allocations: 338.8 kB / 243.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.03053, allocations: 11.98 kB / 243.5 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.03054, allocations: 0 / 243.5 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.03077, allocations: 53.14 kB / 243.5 MB, free: 9.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.03124, allocations: 147.8 kB / 243.7 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.03304, allocations: 1.623 MB / 245.3 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.03333, allocations: 16 kB / 245.3 MB, free: 8.078 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.03335, allocations: 16 kB / 245.3 MB, free: 8.062 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003788/0.03373, allocations: 144.6 kB / 245.5 MB, free: 7.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.03384, allocations: 67.86 kB / 245.6 MB, free: 7.844 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.479e-05/0.03394, allocations: 86.84 kB / 245.6 MB, free: 7.758 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.03394, allocations: 4 kB / 245.6 MB, free: 7.754 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.391e-05/0.03396, allocations: 4 kB / 245.6 MB, free: 7.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.03397, allocations: 3.984 kB / 245.6 MB, free: 7.746 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.0357, allocations: 1.123 MB / 246.8 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.03571, allocations: 7.938 kB / 246.8 MB, free: 6.559 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.036, allocations: 115.8 kB / 246.9 MB, free: 6.445 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.03611, allocations: 71.67 kB / 247 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/0.03627, allocations: 67.58 kB / 247 MB, free: 6.305 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.0363, allocations: 12 kB / 247 MB, free: 6.293 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.03758, allocations: 1.706 MB / 248.7 MB, free: 4.496 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.03759, allocations: 4 kB / 248.8 MB, free: 4.492 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007134/0.0383, allocations: 0.5036 MB / 249.3 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.03842, allocations: 12 kB / 249.3 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.03871, allocations: 39.98 kB / 249.3 MB, free: 3.898 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.03882, allocations: 40.36 kB / 249.3 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.03885, allocations: 12 kB / 249.4 MB, free: 3.848 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002771/0.03912, allocations: 248.6 kB / 249.6 MB, free: 3.605 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.03912, allocations: 0 / 249.6 MB, free: 3.605 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007517/0.03988, allocations: 208 kB / 249.8 MB, free: 3.402 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002213/0.0401, allocations: 100.3 kB / 249.9 MB, free: 3.293 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007191/0.04082, allocations: 398.5 kB / 250.3 MB, free: 2.891 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.439e-05/0.04085, allocations: 12 kB / 250.3 MB, free: 2.879 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.04123, allocations: 321.4 kB / 250.6 MB, free: 2.551 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.04285, allocations: 1.696 MB / 252.3 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007092/0.04994, allocations: 2.046 MB / 254.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.05027, allocations: 317.6 kB / 254.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003642/0.05063, allocations: 85.77 kB / 254.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/0.05102, allocations: 209.2 kB / 255 MB, free: 13.79 MB / 266.7 MB Notification: Performance of SimCode: time 2.334e-06/0.05102, allocations: 0 / 255 MB, free: 13.79 MB / 266.7 MB Notification: Performance of Templates: time 0.01931/0.07033, allocations: 11.82 MB / 266.8 MB, free: 1.988 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.141369352117181]