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.001289/0.001289, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001378/0.001378, allocations: 185 kB / 24.46 MB, free: 3.863 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.429/1.429, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.001773/0.001773, allocations: 47.92 kB / 371.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2643, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005299/0.2696, allocations: 3.476 MB / 427.3 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.2718, allocations: 0.9581 MB / 428.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.2722, allocations: 31.75 kB / 428.3 MB, free: 10 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.2725, allocations: 154.8 kB / 428.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009234/0.2734, allocations: 310.4 kB / 428.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.2737, allocations: 131.8 kB / 428.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.2752, allocations: 1.405 MB / 430.3 MB, free: 8.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008863/0.276, allocations: 0.6393 MB / 430.9 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008203/0.2769, allocations: 0.6698 MB / 431.6 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.2781, allocations: 0.7939 MB / 432.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002336/0.2783, allocations: 160 kB / 432.5 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.2786, allocations: 160 kB / 432.7 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004236/0.279, allocations: 470.7 kB / 433.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006817/0.2797, allocations: 0.6029 MB / 433.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.2819, allocations: 2.086 MB / 435.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2819, allocations: 0 / 435.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2819, allocations: 4 kB / 435.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.552e-05/0.282, allocations: 3.984 kB / 435.8 MB, free: 2.387 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.003484/0.2854, allocations: 1.642 MB / 437.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.2855, allocations: 15.97 kB / 437.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.2858, allocations: 144 kB / 437.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.2876, allocations: 0.8358 MB / 438.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.974e-05/0.2877, allocations: 86.38 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.2878, allocations: 112 kB / 438.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/0.2908, allocations: 1.723 MB / 440.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.2908, allocations: 0 / 440.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.2909, allocations: 52 kB / 440.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.2909, allocations: 24 kB / 440.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.2933, allocations: 1.332 MB / 441.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006958/0.3002, allocations: 3.72 MB / 445.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009873/0.3012, allocations: 0.6262 MB / 446.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009252/0.3022, allocations: 495.5 kB / 446.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.3022, allocations: 8.438 kB / 446.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.3022, allocations: 43 kB / 446.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.915e-06/0.3022, allocations: 0 / 446.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001527/0.3038, allocations: 0.8732 MB / 447.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.3038, allocations: 59.84 kB / 447.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.3049, allocations: 0.793 MB / 448.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.3049, allocations: 37.7 kB / 448.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/0.3054, allocations: 0.5662 MB / 449 MB, free: 4.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.3055, allocations: 186.4 kB / 449.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.3057, allocations: 106.3 kB / 449.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.3059, allocations: 390.7 kB / 449.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.3064, allocations: 301.1 kB / 450 MB, free: 3.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.307, allocations: 399.3 kB / 450.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.308, allocations: 0.6854 MB / 451 MB, free: 2.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.308, allocations: 0 / 451 MB, free: 2.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001349/0.3093, allocations: 0.821 MB / 451.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3093, allocations: 8 kB / 451.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3094, allocations: 4 kB / 451.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3094, allocations: 4 kB / 451.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.31, allocations: 147.8 kB / 452 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.31, allocations: 4 kB / 452 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.3104, allocations: 67.83 kB / 452.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.3104, allocations: 19.94 kB / 452.1 MB, free: 1.691 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.0006545/0.3111, allocations: 462.4 kB / 452.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.3112, allocations: 75.53 kB / 452.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.3114, allocations: 90.83 kB / 452.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3114, allocations: 8 kB / 452.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3114, allocations: 0 / 452.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.505e-06/0.3114, allocations: 3.984 kB / 452.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.3145, allocations: 1.676 MB / 454.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3145, allocations: 7.938 kB / 454.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.315, allocations: 124 kB / 454.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.315, allocations: 4 kB / 454.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.315, allocations: 8 kB / 454.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.315, allocations: 8 kB / 454.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.315, allocations: 4 kB / 454.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.3167, allocations: 1.126 MB / 455.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.3169, allocations: 95.42 kB / 455.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.004e-05/0.317, allocations: 16 kB / 455.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.3174, allocations: 55.88 kB / 455.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/0.3175, allocations: 36.38 kB / 455.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.3176, allocations: 23.92 kB / 455.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007703/0.3183, allocations: 0.5654 MB / 456.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3183, allocations: 0 / 456.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007637/0.3191, allocations: 287.1 kB / 456.7 MB, free: 12.95 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.0001938/0.3193, allocations: 123.1 kB / 456.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.3204, allocations: 0.6298 MB / 457.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3204, allocations: 0 / 457.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005026/0.3209, allocations: 315.1 kB / 457.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/0.3218, allocations: 162.9 kB / 458 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.3258, allocations: 2.305 MB / 460.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007988/0.3266, allocations: 0.7289 MB / 461 MB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.3268, allocations: 51.44 kB / 461 MB, free: 8.543 MB / 366.1 MB Notification: Performance of SimCode: time 1.402e-06/0.3268, allocations: 0 / 461 MB, free: 8.543 MB / 366.1 MB Notification: Performance of Templates: time 0.0216/0.3484, allocations: 13.66 MB / 474.7 MB, free: 10.93 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/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: 8.201418241020292]