Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 55.91 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2792, allocations: 52.12 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005346/0.2845, allocations: 3.822 MB / 424.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.2863, allocations: 1.009 MB / 425.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.2866, allocations: 19.94 kB / 425.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.2869, allocations: 162.8 kB / 425.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.288, allocations: 294.4 kB / 426.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.2883, allocations: 123.8 kB / 426.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.29, allocations: 1.412 MB / 427.7 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009429/0.2909, allocations: 0.6548 MB / 428.3 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008122/0.2917, allocations: 0.6386 MB / 429 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.2928, allocations: 0.7861 MB / 429.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.293, allocations: 160 kB / 429.9 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.2932, allocations: 160 kB / 430.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.2937, allocations: 474.6 kB / 430.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000777/0.2944, allocations: 0.7389 MB / 431.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.2965, allocations: 2.076 MB / 433.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.545e-05/0.2966, allocations: 4 kB / 433.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2966, allocations: 0 / 433.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.2966, allocations: 0 / 433.4 MB, free: 2.492 MB / 334.1 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.003115/0.2997, allocations: 1.721 MB / 435.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2997, allocations: 12.03 kB / 435.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.3, allocations: 152 kB / 435.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.3014, allocations: 0.8835 MB / 436.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-05/0.3014, allocations: 88.69 kB / 436.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.3016, allocations: 112 kB / 436.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.3042, allocations: 1.564 MB / 437.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.3042, allocations: 0 / 437.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.3043, allocations: 48 kB / 437.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.3043, allocations: 28 kB / 438 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.3066, allocations: 1.343 MB / 439.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006794/0.3134, allocations: 4.273 MB / 443.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.3147, allocations: 1.304 MB / 444.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009022/0.3156, allocations: 0.4907 MB / 445.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.3157, allocations: 8.422 kB / 445.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.3157, allocations: 42.94 kB / 445.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.505e-06/0.3157, allocations: 0 / 445.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001505/0.3172, allocations: 0.8733 MB / 446.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.3173, allocations: 59.84 kB / 446.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.3184, allocations: 0.832 MB / 447.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.3184, allocations: 33.7 kB / 447.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.3188, allocations: 0.5584 MB / 447.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.319, allocations: 178.5 kB / 447.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.3192, allocations: 110.2 kB / 448.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.3194, allocations: 382.8 kB / 448.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.3199, allocations: 300.9 kB / 448.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005536/0.3204, allocations: 394.5 kB / 449.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.3214, allocations: 0.6864 MB / 449.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3214, allocations: 4 kB / 449.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001378/0.3228, allocations: 0.83 MB / 450.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3228, allocations: 8.281 kB / 450.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3228, allocations: 4 kB / 450.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3229, allocations: 8 kB / 450.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/0.3235, allocations: 147.8 kB / 450.8 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.3235, allocations: 4 kB / 450.8 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.3238, allocations: 71.52 kB / 450.9 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.3239, allocations: 16 kB / 450.9 MB, free: 376 kB / 350.1 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.0006347/0.3245, allocations: 465.5 kB / 451.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.3246, allocations: 79.47 kB / 451.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.3248, allocations: 91.08 kB / 451.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3248, allocations: 4 kB / 451.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3248, allocations: 0 / 451.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.3248, allocations: 3.984 kB / 451.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.3279, allocations: 1.946 MB / 453.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3279, allocations: 3.938 kB / 453.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005099/0.3285, allocations: 124 kB / 453.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.3285, allocations: 3.938 kB / 453.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.3285, allocations: 16 kB / 453.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.3285, allocations: 3.984 kB / 453.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3285, allocations: 7.938 kB / 453.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.3301, allocations: 1.118 MB / 454.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.3303, allocations: 176.5 kB / 454.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.172e-05/0.3304, allocations: 15.94 kB / 454.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.3308, allocations: 51.95 kB / 455 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.3309, allocations: 40.31 kB / 455 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.331, allocations: 16 kB / 455 MB, free: 12.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008236/0.3318, allocations: 0.5888 MB / 455.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3318, allocations: 0 / 455.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007391/0.3325, allocations: 287.1 kB / 455.9 MB, free: 11.22 MB / 366.1 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.0001806/0.3327, allocations: 122.1 kB / 456 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.3338, allocations: 0.6262 MB / 456.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3338, allocations: 0.5625 kB / 456.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004997/0.3343, allocations: 314.3 kB / 456.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008963/0.3352, allocations: 191 kB / 457.1 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/0.339, allocations: 2.303 MB / 459.4 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.3401, allocations: 1.336 MB / 460.8 MB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000487/0.3406, allocations: 209.8 kB / 461 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.3407, allocations: 55.42 kB / 461 MB, free: 5.992 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3407, allocations: 0 / 461 MB, free: 5.992 MB / 366.1 MB Notification: Performance of Templates: time 0.01896/0.3597, allocations: 10.4 MB / 471.4 MB, free: 11.71 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4728574538603425]