Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.001894/0.001894, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002403/0.002403, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2457, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005464/0.2512, allocations: 3.479 MB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.2534, allocations: 1.044 MB / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003034/0.2537, allocations: 31.75 kB / 436.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.2541, allocations: 154.8 kB / 437 MB, free: 2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009672/0.2551, allocations: 310.3 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.2554, allocations: 135.8 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.257, allocations: 1.416 MB / 438.9 MB, free: 144 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009682/0.258, allocations: 0.6425 MB / 439.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.259, allocations: 0.6659 MB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.2603, allocations: 0.8018 MB / 441 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.2606, allocations: 160 kB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.2609, allocations: 160 kB / 441.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000447/0.2613, allocations: 478.7 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007458/0.2621, allocations: 0.6068 MB / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002362/0.2645, allocations: 2.094 MB / 444.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.2645, allocations: 4 kB / 444.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2645, allocations: 0 / 444.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.665e-05/0.2645, allocations: 0 / 444.5 MB, free: 10.5 MB / 350.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.003333/0.2678, allocations: 1.65 MB / 446.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.2679, allocations: 12.03 kB / 446.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005328/0.2684, allocations: 188 kB / 446.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.2703, allocations: 0.8629 MB / 447.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.2704, allocations: 86.38 kB / 447.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.2705, allocations: 108 kB / 447.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/0.2735, allocations: 1.727 MB / 449.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.2735, allocations: 0 / 449.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.2736, allocations: 48 kB / 449.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.2736, allocations: 28 kB / 449.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.276, allocations: 1.328 MB / 450.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008322/0.2843, allocations: 3.716 MB / 454.2 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.2858, allocations: 0.6248 MB / 454.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.2871, allocations: 0.4904 MB / 455.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.2871, allocations: 4.438 kB / 455.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.2872, allocations: 42.98 kB / 455.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 3.808e-06/0.2872, allocations: 4 kB / 455.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001707/0.2889, allocations: 0.8694 MB / 456.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.2889, allocations: 63.83 kB / 456.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.2901, allocations: 0.8047 MB / 457.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.2901, allocations: 41.64 kB / 457.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/0.2906, allocations: 0.5545 MB / 457.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.2908, allocations: 190.4 kB / 457.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.2909, allocations: 110.3 kB / 458 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.2912, allocations: 386.7 kB / 458.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.2917, allocations: 301.1 kB / 458.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005873/0.2923, allocations: 399.3 kB / 459.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.2933, allocations: 0.6854 MB / 459.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2933, allocations: 3.938 kB / 459.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001388/0.2947, allocations: 0.821 MB / 460.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.2947, allocations: 11.98 kB / 460.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2947, allocations: 0 / 460.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.2948, allocations: 8 kB / 460.6 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.2954, allocations: 143.8 kB / 460.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.2954, allocations: 7.984 kB / 460.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.2958, allocations: 63.75 kB / 460.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.2958, allocations: 27.92 kB / 460.8 MB, free: 9.707 MB / 366.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.0006801/0.2965, allocations: 457.8 kB / 461.3 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.2966, allocations: 75.53 kB / 461.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.2968, allocations: 95.06 kB / 461.5 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2968, allocations: 4 kB / 461.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2968, allocations: 0 / 461.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2968, allocations: 0 / 461.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.3, allocations: 1.692 MB / 463.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3, allocations: 0 / 463.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.3005, allocations: 120 kB / 463.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.3005, allocations: 4 kB / 463.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.3006, allocations: 19.98 kB / 463.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.3006, allocations: 4 kB / 463.3 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3006, allocations: 0 / 463.3 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.3023, allocations: 1.126 MB / 464.4 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.3026, allocations: 99.42 kB / 464.5 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3027, allocations: 12 kB / 464.5 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.3031, allocations: 47.95 kB / 464.6 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.3032, allocations: 40.36 kB / 464.6 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.3032, allocations: 19.94 kB / 464.6 MB, free: 5.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008195/0.304, allocations: 0.5771 MB / 465.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.304, allocations: 0 / 465.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007575/0.3048, allocations: 291.1 kB / 465.5 MB, free: 4.961 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.0001665/0.305, allocations: 119.1 kB / 465.6 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.3061, allocations: 0.6337 MB / 466.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.932e-05/0.3061, allocations: 3.938 kB / 466.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005133/0.3066, allocations: 315.1 kB / 466.6 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/0.3075, allocations: 162.9 kB / 466.7 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/0.3115, allocations: 2.306 MB / 469 MB, free: 1.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008589/0.3123, allocations: 0.7251 MB / 469.8 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.3125, allocations: 55.44 kB / 469.8 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3125, allocations: 0 / 469.8 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of Templates: time 0.02323/0.3358, allocations: 13.77 MB / 483.6 MB, free: 2.836 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.322255485225469]