Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009132/0.0009132, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002394, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000979/0.000979, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002348, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.083/1.083, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09401/1.177, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.358e-06/1.073e-05, allocations: 5.406 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003254/0.003265, allocations: 3.793 MB / 249 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.004916, allocations: 1.055 MB / 250 MB, free: 8.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.005165, allocations: 31.75 kB / 250.1 MB, free: 8.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.005415, allocations: 162.8 kB / 250.2 MB, free: 8.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006345/0.006049, allocations: 317.9 kB / 250.5 MB, free: 8.188 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.006535, allocations: 131.8 kB / 250.7 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.007603, allocations: 1.474 MB / 252.2 MB, free: 6.578 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006295/0.008233, allocations: 0.6431 MB / 252.8 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.009471, allocations: 1.028 MB / 253.8 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008303/0.0103, allocations: 0.7561 MB / 254.6 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.0105, allocations: 156 kB / 254.7 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.01074, allocations: 164 kB / 254.9 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.011, allocations: 391 kB / 255.3 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.01139, allocations: 435.2 kB / 255.7 MB, free: 2.977 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008807/0.01227, allocations: 1.164 MB / 256.9 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.01228, allocations: 0 / 256.9 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01228, allocations: 4 kB / 256.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.754e-05/0.01231, allocations: 0 / 256.9 MB, free: 1.805 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.00214/0.01445, allocations: 1.769 MB / 258.6 MB, free: 4 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.01449, allocations: 8.672 kB / 258.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000368/0.01486, allocations: 297.8 kB / 258.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006249/0.01548, allocations: 0.5395 MB / 259.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.01552, allocations: 82.59 kB / 259.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.01563, allocations: 116.4 kB / 259.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008824/0.01651, allocations: 0.9845 MB / 260.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.01653, allocations: 0 / 260.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.058e-05/0.01659, allocations: 44 kB / 260.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-05/0.01664, allocations: 50.2 kB / 260.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.01702, allocations: 247.3 kB / 261 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.01946, allocations: 2.448 MB / 263.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.01973, allocations: 275.6 kB / 263.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.01989, allocations: 133.5 kB / 263.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.01991, allocations: 8.375 kB / 263.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.01994, allocations: 46.86 kB / 263.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.583e-06/0.01994, allocations: 4 kB / 263.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009279/0.02087, allocations: 0.6937 MB / 264.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.02089, allocations: 59.84 kB / 264.6 MB, free: 9.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.02147, allocations: 0.531 MB / 265.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.0215, allocations: 41.7 kB / 265.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.02167, allocations: 481 kB / 265.7 MB, free: 8.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.658e-05/0.02174, allocations: 170.5 kB / 265.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/0.02184, allocations: 94.25 kB / 265.9 MB, free: 8.348 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.02193, allocations: 386.6 kB / 266.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.02201, allocations: 41.3 kB / 266.4 MB, free: 7.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.02212, allocations: 161.2 kB / 266.5 MB, free: 7.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.02233, allocations: 254.8 kB / 266.8 MB, free: 7.441 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.02233, allocations: 0 / 266.8 MB, free: 7.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003315/0.02267, allocations: 331 kB / 267.1 MB, free: 7.109 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.02268, allocations: 8 kB / 267.1 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.02268, allocations: 4 kB / 267.1 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.02282, allocations: 57.02 kB / 267.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.02315, allocations: 143.7 kB / 267.3 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008919/0.02404, allocations: 1.619 MB / 268.9 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.02417, allocations: 16.09 kB / 268.9 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.02419, allocations: 27.86 kB / 269 MB, free: 5.148 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * 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.0001352/0.02433, allocations: 144.5 kB / 269.1 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.02439, allocations: 59.94 kB / 269.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/0.02446, allocations: 75.08 kB / 269.2 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.02446, allocations: 8.031 kB / 269.2 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.02446, allocations: 4 kB / 269.2 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.02447, allocations: 3.984 kB / 269.2 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009175/0.02539, allocations: 0.9607 MB / 270.2 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.02539, allocations: 0 / 270.2 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.0256, allocations: 107.8 kB / 270.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.02567, allocations: 63.53 kB / 270.4 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.02577, allocations: 63.69 kB / 270.4 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.02579, allocations: 12 kB / 270.5 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.02689, allocations: 1.699 MB / 272.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.02689, allocations: 0 / 272.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.02728, allocations: 476.3 kB / 272.6 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.02732, allocations: 12 kB / 272.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.02747, allocations: 32.05 kB / 272.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.02753, allocations: 39.92 kB / 272.7 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.02754, allocations: 8 kB / 272.7 MB, free: 1.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.02772, allocations: 248.6 kB / 272.9 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02772, allocations: 0 / 272.9 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003598/0.02808, allocations: 212 kB / 273.2 MB, free: 0.7734 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * 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 8.996e-05/0.02817, allocations: 92.34 kB / 273.2 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003873/0.02855, allocations: 390.6 kB / 273.6 MB, free: 284 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.808e-05/0.02857, allocations: 19.94 kB / 273.6 MB, free: 264 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.02886, allocations: 320.9 kB / 274 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008252/0.02968, allocations: 1.692 MB / 275.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/0.03533, allocations: 2.017 MB / 277.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.03554, allocations: 321.8 kB / 278 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.03569, allocations: 85.67 kB / 278.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.036, allocations: 209.2 kB / 278.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.036, allocations: 4 kB / 278.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of Templates: time 0.1056/0.1416, allocations: 11.7 MB / 290 MB, free: 36.67 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8028847109526396]