Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.001177/0.001177, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001133/0.001133, allocations: 169 kB / 24.91 MB, free: 8.723 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 0.9602/0.9602, allocations: 177.1 MB / 205.3 MB, free: 4.488 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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 273.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.746e-05, allocations: 2.312 kB / 273.5 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.006148/0.006175, allocations: 3.754 MB / 277.2 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003061/0.009237, allocations: 1.049 MB / 278.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004839/0.00972, allocations: 31.75 kB / 278.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.01017, allocations: 154.8 kB / 278.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.01137, allocations: 298.1 kB / 278.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.01187, allocations: 147.7 kB / 278.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.01368, allocations: 1.447 MB / 280.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.01473, allocations: 0.6431 MB / 281 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.0167, allocations: 0.9434 MB / 281.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.01819, allocations: 0.76 MB / 282.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004969/0.01869, allocations: 156 kB / 282.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.01908, allocations: 156 kB / 283 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004612/0.01954, allocations: 486.6 kB / 283.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009469/0.02048, allocations: 0.5184 MB / 284 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.02207, allocations: 1.235 MB / 285.2 MB, free: 8.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.02208, allocations: 0 / 285.2 MB, free: 8.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02208, allocations: 0 / 285.2 MB, free: 8.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.571e-05/0.02213, allocations: 0 / 285.2 MB, free: 8.566 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002724/0.02486, allocations: 1.508 MB / 286.7 MB, free: 7.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.02491, allocations: 8.031 kB / 286.7 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005942/0.0255, allocations: 212.8 kB / 287 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.02656, allocations: 0.5435 MB / 287.5 MB, free: 6.238 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.02663, allocations: 86.59 kB / 287.6 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.0268, allocations: 108.4 kB / 287.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.0282, allocations: 0.9109 MB / 288.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.02823, allocations: 0 / 288.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.02833, allocations: 48 kB / 288.6 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.02836, allocations: 28 kB / 288.7 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006659/0.02902, allocations: 251.1 kB / 288.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004251/0.03327, allocations: 2.44 MB / 291.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.0337, allocations: 292.3 kB / 291.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.03396, allocations: 158.8 kB / 291.8 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.03399, allocations: 12.44 kB / 291.8 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.03403, allocations: 35.06 kB / 291.8 MB, free: 1.664 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 3.536e-06/0.03403, allocations: 4 kB / 291.8 MB, free: 1.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.00164/0.03567, allocations: 0.7392 MB / 292.6 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.0357, allocations: 55.91 kB / 292.6 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005719/0.03628, allocations: 0.5195 MB / 293.2 MB, free: 296 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.03631, allocations: 33.7 kB / 293.2 MB, free: 256 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.0366, allocations: 493.1 kB / 293.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.03673, allocations: 182.4 kB / 293.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.03689, allocations: 102.2 kB / 294 MB, free: 15.47 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.03703, allocations: 382.6 kB / 294.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.03716, allocations: 53.28 kB / 294.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.03734, allocations: 148.4 kB / 294.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.03769, allocations: 257.9 kB / 294.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.03769, allocations: 4 kB / 294.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005888/0.03828, allocations: 331 kB / 295.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.0383, allocations: 8 kB / 295.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.03831, allocations: 4 kB / 295.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.03853, allocations: 52.83 kB / 295.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.03904, allocations: 139.8 kB / 295.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.04052, allocations: 1.623 MB / 296.9 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.04079, allocations: 15.98 kB / 296.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.04082, allocations: 16 kB / 297 MB, free: 12.3 MB / 282.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.0002962/0.04112, allocations: 152.5 kB / 297.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.04123, allocations: 71.81 kB / 297.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.04134, allocations: 83.06 kB / 297.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.04135, allocations: 4 kB / 297.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.04136, allocations: 4 kB / 297.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.04137, allocations: 0 / 297.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.04326, allocations: 1.127 MB / 298.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.04327, allocations: 3.938 kB / 298.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.04361, allocations: 108 kB / 298.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/0.04379, allocations: 67.62 kB / 298.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.04383, allocations: 12.06 kB / 298.6 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.04522, allocations: 1.694 MB / 300.3 MB, free: 8.809 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.04523, allocations: 0 / 300.3 MB, free: 8.809 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007547/0.04598, allocations: 0.4958 MB / 300.8 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.04613, allocations: 71.52 kB / 300.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/0.0462, allocations: 15.94 kB / 300.9 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.04647, allocations: 40.03 kB / 300.9 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/0.04657, allocations: 32.44 kB / 300.9 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.0466, allocations: 12 kB / 300.9 MB, free: 8.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000313/0.04691, allocations: 256.6 kB / 301.2 MB, free: 7.859 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04691, allocations: 0 / 301.2 MB, free: 7.859 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007684/0.04768, allocations: 208 kB / 301.4 MB, free: 7.656 MB / 282.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.000163/0.04784, allocations: 104.3 kB / 301.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000678/0.04852, allocations: 397.9 kB / 301.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/0.04854, allocations: 8 kB / 301.9 MB, free: 7.141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.04893, allocations: 299.9 kB / 302.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/0.04961, allocations: 174.8 kB / 302.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.05302, allocations: 1.837 MB / 304.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.05324, allocations: 306.8 kB / 304.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.0535, allocations: 81.67 kB / 304.6 MB, free: 4.363 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.05382, allocations: 209.2 kB / 304.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of SimCode: time 1.253e-06/0.05382, allocations: 0 / 304.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of Templates: time 0.01368/0.06751, allocations: 11.08 MB / 315.9 MB, free: 9.336 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.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.7682140939868987]