Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.001013/0.001013, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001118/0.001118, allocations: 161.9 kB / 25.33 MB, free: 8.59 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.9864/0.9864, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 3.938 kB / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.382e-05, allocations: 2.312 kB / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.0107/0.01073, allocations: 3.709 MB / 254.7 MB, free: 3.793 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.01301, allocations: 1.056 MB / 255.8 MB, free: 2.73 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003563/0.01657, allocations: 27.81 kB / 255.8 MB, free: 2.703 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.01697, allocations: 154.8 kB / 256 MB, free: 2.551 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009708/0.01794, allocations: 314 kB / 256.3 MB, free: 2.242 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.01827, allocations: 147.6 kB / 256.4 MB, free: 2.098 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.01974, allocations: 1.494 MB / 257.9 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008193/0.02056, allocations: 0.5956 MB / 258.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.0219, allocations: 0.9434 MB / 259.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.02312, allocations: 0.7795 MB / 260.2 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003057/0.02342, allocations: 160 kB / 260.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.02371, allocations: 160 kB / 260.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004112/0.02412, allocations: 490.6 kB / 261 MB, free: 13.45 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007365/0.02485, allocations: 0.5301 MB / 261.6 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.02626, allocations: 1.235 MB / 262.8 MB, free: 11.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.882e-06/0.02627, allocations: 0 / 262.8 MB, free: 11.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.02627, allocations: 4 kB / 262.8 MB, free: 11.67 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.216e-05/0.02632, allocations: 0 / 262.8 MB, free: 11.67 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002447/0.02877, allocations: 1.777 MB / 264.6 MB, free: 9.852 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.02881, allocations: 11.98 kB / 264.6 MB, free: 9.84 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003106/0.02912, allocations: 236 kB / 264.8 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.03017, allocations: 0.6933 MB / 265.5 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.03023, allocations: 86.62 kB / 265.6 MB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.0304, allocations: 108.4 kB / 265.7 MB, free: 8.695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.03214, allocations: 1.052 MB / 266.8 MB, free: 7.555 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.03216, allocations: 0 / 266.8 MB, free: 7.555 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.685e-05/0.03226, allocations: 48 kB / 266.8 MB, free: 7.508 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.03229, allocations: 24 kB / 266.8 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.03334, allocations: 389 kB / 267.2 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.0377, allocations: 3.46 MB / 270.7 MB, free: 3.508 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.0382, allocations: 366 kB / 271 MB, free: 3.141 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/0.03863, allocations: 258 kB / 271.3 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.03868, allocations: 12.5 kB / 271.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.03873, allocations: 41.89 kB / 271.3 MB, free: 2.824 MB / 250.7 MB Notification: Performance of pre-optimization done (n=51): time 3.927e-06/0.03873, allocations: 3.938 kB / 271.3 MB, free: 2.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.0006873/0.03942, allocations: 396.6 kB / 271.7 MB, free: 2.426 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.03945, allocations: 63.91 kB / 271.8 MB, free: 2.352 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/0.0401, allocations: 0.6831 MB / 272.5 MB, free: 1.652 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.04013, allocations: 29.7 kB / 272.5 MB, free: 1.617 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.04045, allocations: 0.6275 MB / 273.1 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.04056, allocations: 190.4 kB / 273.3 MB, free: 0.793 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.04069, allocations: 116 kB / 273.4 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.04091, allocations: 0.5898 MB / 274 MB, free: 72 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.04106, allocations: 69.27 kB / 274.1 MB, free: 4 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.04128, allocations: 215.8 kB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.04167, allocations: 310.7 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.04168, allocations: 4 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006902/0.04237, allocations: 421.1 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.0424, allocations: 11.98 kB / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.0424, allocations: 0 / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.04243, allocations: 8 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.04282, allocations: 135.9 kB / 275.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.04284, allocations: 15.92 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.04309, allocations: 55.61 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.04312, allocations: 20 kB / 275.2 MB, free: 14.74 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.0002528/0.04337, allocations: 196.5 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.04348, allocations: 91.53 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.544e-05/0.04357, allocations: 78.83 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.04358, allocations: 4 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.04359, allocations: 4 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.0436, allocations: 3.984 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.04549, allocations: 1.414 MB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.0455, allocations: 7.938 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.0458, allocations: 111.9 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.465e-06/0.04581, allocations: 4 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.04585, allocations: 11.98 kB / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.04586, allocations: 4 kB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.04586, allocations: 0 / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000686/0.04655, allocations: 0.6311 MB / 277.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.04671, allocations: 91.38 kB / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.04677, allocations: 19.97 kB / 277.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.04697, allocations: 47.95 kB / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.04705, allocations: 40.42 kB / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.04707, allocations: 16 kB / 278 MB, free: 11.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003675/0.04744, allocations: 438.9 kB / 278.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04744, allocations: 4 kB / 278.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006281/0.04807, allocations: 291.1 kB / 278.7 MB, free: 11.14 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.0001896/0.04826, allocations: 107.2 kB / 278.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.04873, allocations: 291.1 kB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.04874, allocations: 3.938 kB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.04892, allocations: 160.2 kB / 279.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.04957, allocations: 166.8 kB / 279.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.05319, allocations: 1.966 MB / 281.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.05348, allocations: 362.7 kB / 281.8 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003561/0.05384, allocations: 153.5 kB / 281.9 MB, free: 7.852 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.05397, allocations: 56.48 kB / 282 MB, free: 7.797 MB / 266.7 MB Notification: Performance of SimCode: time 2.715e-06/0.05397, allocations: 3.938 kB / 282 MB, free: 7.793 MB / 266.7 MB Notification: Performance of Templates: time 0.01633/0.0703, allocations: 9.708 MB / 291.7 MB, free: 14.14 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/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: 3.1194626255892217]