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.0008921/0.0008921, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0009676/0.0009676, allocations: 167.1 kB / 25.7 MB, free: 8.445 MB / 18.57 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.8577/0.8577, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.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.202e-06/1.202e-06, allocations: 0 / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.625e-05, allocations: 2.312 kB / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003446/0.003462, allocations: 3.643 MB / 255.2 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.00479, allocations: 1.044 MB / 256.2 MB, free: 2.566 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.00496, allocations: 23.81 kB / 256.2 MB, free: 2.543 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.005218, allocations: 158.8 kB / 256.4 MB, free: 2.387 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005625/0.00578, allocations: 298.1 kB / 256.7 MB, free: 2.094 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.005972, allocations: 143.7 kB / 256.8 MB, free: 1.953 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009871/0.006959, allocations: 1.455 MB / 258.3 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000472/0.007431, allocations: 0.5951 MB / 258.9 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005837/0.008014, allocations: 0.9239 MB / 259.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000875/0.008889, allocations: 0.7678 MB / 260.6 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.009011, allocations: 156 kB / 260.7 MB, free: 14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.009147, allocations: 156 kB / 260.9 MB, free: 13.85 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.009406, allocations: 482.6 kB / 261.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.009757, allocations: 0.5184 MB / 261.8 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007638/0.01052, allocations: 1.219 MB / 263.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.01052, allocations: 0 / 263.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.01052, allocations: 0 / 263.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.01053, allocations: 0 / 263.1 MB, free: 11.63 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001338/0.01187, allocations: 1.492 MB / 264.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.0119, allocations: 11.98 kB / 264.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.01208, allocations: 192.7 kB / 264.8 MB, free: 9.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/0.01258, allocations: 480.8 kB / 265.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.01262, allocations: 82.59 kB / 265.3 MB, free: 9.332 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.01273, allocations: 116.4 kB / 265.4 MB, free: 9.219 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007571/0.01348, allocations: 0.9187 MB / 266.3 MB, free: 8.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.0135, allocations: 0 / 266.3 MB, free: 8.215 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.01356, allocations: 48 kB / 266.4 MB, free: 8.168 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.01358, allocations: 28 kB / 266.4 MB, free: 8.141 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.01393, allocations: 247.1 kB / 266.7 MB, free: 7.887 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/0.01659, allocations: 2.448 MB / 269.1 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.01685, allocations: 276.5 kB / 269.4 MB, free: 5.059 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.01702, allocations: 158.8 kB / 269.5 MB, free: 4.898 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.01705, allocations: 12.44 kB / 269.5 MB, free: 4.887 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.01707, allocations: 47 kB / 269.6 MB, free: 4.832 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.643e-06/0.01707, allocations: 0 / 269.6 MB, free: 4.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009552/0.01803, allocations: 0.7431 MB / 270.3 MB, free: 4.051 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.01805, allocations: 59.91 kB / 270.4 MB, free: 3.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.01837, allocations: 0.5117 MB / 270.9 MB, free: 3.457 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.0184, allocations: 37.69 kB / 270.9 MB, free: 3.414 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.01857, allocations: 477 kB / 271.4 MB, free: 2.941 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.59e-05/0.01866, allocations: 190.3 kB / 271.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/0.01876, allocations: 98.25 kB / 271.7 MB, free: 2.652 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.01885, allocations: 382.6 kB / 272.1 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.01892, allocations: 49.28 kB / 272.1 MB, free: 2.223 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.01904, allocations: 160.3 kB / 272.3 MB, free: 2.031 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.01926, allocations: 246 kB / 272.5 MB, free: 1.758 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.01926, allocations: 3.984 kB / 272.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000349/0.01961, allocations: 339 kB / 272.8 MB, free: 1.41 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.01962, allocations: 4 kB / 272.8 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.01962, allocations: 8 kB / 272.8 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.01977, allocations: 64.91 kB / 272.9 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.02001, allocations: 115.9 kB / 273 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.02117, allocations: 1.602 MB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.0213, allocations: 16 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.02133, allocations: 24.02 kB / 274.7 MB, free: 15.49 MB / 266.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.0001435/0.02147, allocations: 140.5 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.02154, allocations: 59.94 kB / 274.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.743e-05/0.02161, allocations: 82.77 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.02161, allocations: 4 kB / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.02161, allocations: 4 kB / 275 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.02162, allocations: 3.984 kB / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.0227, allocations: 1.135 MB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.0227, allocations: 8.156 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.02287, allocations: 79.89 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.02298, allocations: 59.61 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.023, allocations: 15.98 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008749/0.02388, allocations: 1.695 MB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.02388, allocations: 4 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.0243, allocations: 0.5074 MB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.02437, allocations: 59.58 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.02442, allocations: 19.98 kB / 278.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.02458, allocations: 31.98 kB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.02463, allocations: 40.36 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.02465, allocations: 12 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001745/0.02482, allocations: 252.6 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02482, allocations: 0 / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003637/0.02519, allocations: 211.9 kB / 279.1 MB, free: 10.88 MB / 266.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 9.05e-05/0.02528, allocations: 96.28 kB / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.02567, allocations: 398.5 kB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.02568, allocations: 12.06 kB / 279.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.02593, allocations: 291 kB / 279.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.02633, allocations: 171.1 kB / 280 MB, free: 9.898 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.02839, allocations: 1.837 MB / 281.9 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.02858, allocations: 298.8 kB / 282.1 MB, free: 7.691 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.02873, allocations: 77.64 kB / 282.2 MB, free: 7.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.02902, allocations: 209.2 kB / 282.4 MB, free: 7.406 MB / 266.7 MB Notification: Performance of SimCode: time 1.233e-06/0.02902, allocations: 3.938 kB / 282.4 MB, free: 7.402 MB / 266.7 MB Notification: Performance of Templates: time 0.01289/0.04191, allocations: 10.83 MB / 293.3 MB, free: 12.62 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6319704982452095]