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.001811/0.001811, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002263/0.002263, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 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.483/1.483, allocations: 225.7 MB / 252.5 MB, free: 12.83 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.001609/0.001609, allocations: 47.92 kB / 370.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2486, allocations: 52.19 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005282/0.2539, allocations: 3.465 MB / 426.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.2561, allocations: 0.9619 MB / 427.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.2563, allocations: 27.81 kB / 427.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.2567, allocations: 162.8 kB / 427.7 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009362/0.2576, allocations: 306.3 kB / 428 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.2579, allocations: 123.8 kB / 428.1 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001825/0.2598, allocations: 1.408 MB / 429.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009545/0.2607, allocations: 0.6421 MB / 430.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008631/0.2616, allocations: 0.662 MB / 430.8 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.2629, allocations: 0.7979 MB / 431.6 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.2631, allocations: 160 kB / 431.8 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.2635, allocations: 160 kB / 431.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004818/0.264, allocations: 470.7 kB / 432.4 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007315/0.2647, allocations: 0.6029 MB / 433 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.2668, allocations: 2.082 MB / 435.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2668, allocations: 8 kB / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2668, allocations: 0 / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.2668, allocations: 3.938 kB / 435.1 MB, free: 2.41 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.003308/0.2702, allocations: 1.649 MB / 436.7 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.2702, allocations: 12.03 kB / 436.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.2705, allocations: 144 kB / 436.9 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.272, allocations: 0.8396 MB / 437.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.502e-05/0.2721, allocations: 86.38 kB / 437.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.2723, allocations: 108 kB / 437.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.275, allocations: 1.723 MB / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.275, allocations: 4 kB / 439.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.2751, allocations: 51.98 kB / 439.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.2751, allocations: 24 kB / 439.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.2775, allocations: 1.332 MB / 441 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006733/0.2842, allocations: 3.72 MB / 444.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.2853, allocations: 0.6148 MB / 445.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009066/0.2862, allocations: 499.5 kB / 445.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.2862, allocations: 8.438 kB / 445.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.2863, allocations: 46.94 kB / 445.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.625e-06/0.2863, allocations: 0 / 445.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001564/0.2878, allocations: 0.8733 MB / 446.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.2879, allocations: 55.84 kB / 446.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.2891, allocations: 0.7969 MB / 447.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.2891, allocations: 37.7 kB / 447.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004902/0.2896, allocations: 0.5623 MB / 448.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.2898, allocations: 186.4 kB / 448.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.2899, allocations: 106.3 kB / 448.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.2902, allocations: 386.7 kB / 448.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.2906, allocations: 301.1 kB / 449.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/0.2913, allocations: 399.3 kB / 449.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.2923, allocations: 0.6893 MB / 450.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2923, allocations: 3.938 kB / 450.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001443/0.2938, allocations: 0.817 MB / 451.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2938, allocations: 8 kB / 451.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.2938, allocations: 4 kB / 451.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.2938, allocations: 4 kB / 451.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006106/0.2944, allocations: 147.8 kB / 451.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/0.2945, allocations: 11.92 kB / 451.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.2949, allocations: 59.91 kB / 451.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.2949, allocations: 31.86 kB / 451.4 MB, free: 1.707 MB / 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.0006916/0.2956, allocations: 458.4 kB / 451.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.2957, allocations: 75.53 kB / 451.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.2959, allocations: 94.81 kB / 452 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.2959, allocations: 8 kB / 452 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.2959, allocations: 0 / 452 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2959, allocations: 0 / 452 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.299, allocations: 1.672 MB / 453.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.299, allocations: 11.98 kB / 453.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.2995, allocations: 120 kB / 453.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.2995, allocations: 4 kB / 453.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.2996, allocations: 11.98 kB / 453.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.2996, allocations: 4 kB / 453.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.2996, allocations: 4 kB / 453.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.3012, allocations: 1.126 MB / 454.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.3014, allocations: 95.42 kB / 455 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/0.3015, allocations: 16 kB / 455 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.3019, allocations: 43.95 kB / 455.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.302, allocations: 44.36 kB / 455.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.3021, allocations: 19.94 kB / 455.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008062/0.3029, allocations: 0.5654 MB / 455.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3029, allocations: 0 / 455.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007792/0.3037, allocations: 287.1 kB / 456 MB, free: 12.98 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.0001714/0.3038, allocations: 127.1 kB / 456.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.3049, allocations: 0.6259 MB / 456.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3049, allocations: 0 / 456.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.3054, allocations: 315 kB / 457 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.3063, allocations: 170.9 kB / 457.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.3106, allocations: 2.296 MB / 459.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.3116, allocations: 0.7523 MB / 460.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005442/0.3121, allocations: 205.4 kB / 460.5 MB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.3123, allocations: 51.44 kB / 460.5 MB, free: 8.355 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3123, allocations: 4 kB / 460.5 MB, free: 8.352 MB / 366.1 MB Notification: Performance of Templates: time 0.02093/0.3332, allocations: 11.11 MB / 471.6 MB, free: 13.44 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.713297016918659]