Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001623/0.001623, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001796/0.001796, allocations: 215.5 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 59.91 kB / 378.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2895, allocations: 53.4 MB / 431.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005324/0.2948, allocations: 3.49 MB / 435.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.2968, allocations: 1.036 MB / 436.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.2971, allocations: 35.81 kB / 436.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004115/0.2975, allocations: 162.8 kB / 436.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008948/0.2984, allocations: 314.3 kB / 436.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.2986, allocations: 135.8 kB / 436.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.3002, allocations: 1.436 MB / 438.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008883/0.3011, allocations: 0.6393 MB / 438.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008363/0.3019, allocations: 0.6737 MB / 439.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.3031, allocations: 0.8057 MB / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.3033, allocations: 156 kB / 440.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.3036, allocations: 164 kB / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004334/0.3041, allocations: 478.7 kB / 441.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006522/0.3047, allocations: 0.6068 MB / 441.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.3067, allocations: 2.105 MB / 443.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3068, allocations: 0 / 443.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3068, allocations: 0 / 443.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.828e-05/0.3068, allocations: 0 / 443.8 MB, free: 10.25 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003214/0.31, allocations: 1.665 MB / 445.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.31, allocations: 15.97 kB / 445.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005534/0.3106, allocations: 180 kB / 445.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.3123, allocations: 0.863 MB / 446.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.342e-05/0.3124, allocations: 90.38 kB / 446.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.3125, allocations: 108 kB / 446.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/0.3155, allocations: 1.743 MB / 448.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.3155, allocations: 0 / 448.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.3156, allocations: 44 kB / 448.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.384e-05/0.3157, allocations: 42.25 kB / 448.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.3179, allocations: 1.348 MB / 449.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006793/0.3246, allocations: 3.728 MB / 453.6 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.3257, allocations: 0.6246 MB / 454.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009371/0.3266, allocations: 0.5021 MB / 454.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.3266, allocations: 4.438 kB / 454.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.3267, allocations: 39 kB / 454.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.314e-06/0.3267, allocations: 3.938 kB / 454.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001565/0.3282, allocations: 0.8734 MB / 455.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3283, allocations: 59.84 kB / 455.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.3294, allocations: 0.8124 MB / 456.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.3294, allocations: 37.7 kB / 456.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004423/0.3298, allocations: 0.5623 MB / 457.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.33, allocations: 186.4 kB / 457.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.3302, allocations: 102.3 kB / 457.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.3304, allocations: 382.8 kB / 457.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/0.3309, allocations: 309 kB / 458.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.3314, allocations: 399.4 kB / 458.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.3324, allocations: 0.6854 MB / 459.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3324, allocations: 0 / 459.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001293/0.3337, allocations: 0.8247 MB / 460 MB, free: 9.629 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3337, allocations: 8 kB / 460 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3338, allocations: 288 / 460 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3338, allocations: 12 kB / 460 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006175/0.3344, allocations: 143.8 kB / 460.2 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.3344, allocations: 11.88 kB / 460.2 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.3348, allocations: 55.66 kB / 460.2 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.3348, allocations: 19.98 kB / 460.3 MB, free: 9.383 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.0006291/0.3354, allocations: 465.7 kB / 460.7 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3356, allocations: 79.52 kB / 460.8 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.3357, allocations: 95.08 kB / 460.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3357, allocations: 4 kB / 460.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.3357, allocations: 3.938 kB / 460.9 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3357, allocations: 3.984 kB / 460.9 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.3387, allocations: 1.684 MB / 462.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.3387, allocations: 7.938 kB / 462.6 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.3392, allocations: 115.9 kB / 462.7 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/0.3392, allocations: 7.984 kB / 462.7 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.449e-05/0.3393, allocations: 12 kB / 462.7 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.3393, allocations: 4 kB / 462.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3393, allocations: 4 kB / 462.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.3409, allocations: 1.126 MB / 463.9 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.3411, allocations: 99.42 kB / 464 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/0.3412, allocations: 16 kB / 464 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.3416, allocations: 43.95 kB / 464 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3417, allocations: 44.3 kB / 464.1 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.3417, allocations: 16 kB / 464.1 MB, free: 5.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007796/0.3425, allocations: 0.5771 MB / 464.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3425, allocations: 7.875 kB / 464.7 MB, free: 4.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007439/0.3432, allocations: 295 kB / 464.9 MB, free: 4.605 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.0001512/0.3434, allocations: 111.1 kB / 465.1 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.3445, allocations: 0.6298 MB / 465.7 MB, free: 3.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.3445, allocations: 4 kB / 465.7 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004831/0.345, allocations: 310.2 kB / 466 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008628/0.3458, allocations: 170.5 kB / 466.2 MB, free: 3.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.3496, allocations: 2.316 MB / 468.5 MB, free: 1.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000876/0.3505, allocations: 0.7567 MB / 469.2 MB, free: 232 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004907/0.3509, allocations: 209.5 kB / 469.4 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.3511, allocations: 51.48 kB / 469.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3511, allocations: 0 / 469.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Templates: time 0.02029/0.3714, allocations: 11.16 MB / 480.6 MB, free: 4.992 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.812769714742899]