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.001317/0.001317, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001393/0.001393, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.001655/0.001655, allocations: 51.92 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2558, allocations: 53.35 MB / 431.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005414/0.2612, allocations: 3.829 MB / 435.4 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.2634, allocations: 1.09 MB / 436.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.2637, allocations: 31.75 kB / 436.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.2641, allocations: 158.8 kB / 436.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008643/0.265, allocations: 314.3 kB / 437 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.2652, allocations: 139.8 kB / 437.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.2668, allocations: 1.416 MB / 438.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009344/0.2677, allocations: 0.6616 MB / 439.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008357/0.2685, allocations: 0.6581 MB / 439.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.2696, allocations: 0.794 MB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.2698, allocations: 160 kB / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.2701, allocations: 167.9 kB / 441 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004382/0.2706, allocations: 470.7 kB / 441.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008389/0.2714, allocations: 0.7428 MB / 442.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.2736, allocations: 2.086 MB / 444.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2736, allocations: 0 / 444.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2736, allocations: 4 kB / 444.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.552e-05/0.2736, allocations: 0 / 444.3 MB, free: 10.17 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.003038/0.2766, allocations: 1.646 MB / 446 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2767, allocations: 8.031 kB / 446 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005003/0.2772, allocations: 180 kB / 446.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.2788, allocations: 0.8707 MB / 447 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.408e-05/0.2789, allocations: 86.38 kB / 447.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.279, allocations: 112 kB / 447.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.2815, allocations: 1.572 MB / 448.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.2815, allocations: 0 / 448.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.2816, allocations: 48 kB / 448.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.2817, allocations: 28 kB / 448.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.2839, allocations: 1.336 MB / 450.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006752/0.2906, allocations: 4.203 MB / 454.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009813/0.2916, allocations: 0.6324 MB / 455 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009004/0.2925, allocations: 0.4904 MB / 455.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.453e-05/0.2925, allocations: 4.438 kB / 455.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.2926, allocations: 47 kB / 455.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 1.904e-06/0.2926, allocations: 0 / 455.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.00218/0.2947, allocations: 0.8849 MB / 456.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.2948, allocations: 55.84 kB / 456.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.2965, allocations: 0.8321 MB / 457.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/0.2965, allocations: 45.64 kB / 457.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006189/0.2971, allocations: 0.5545 MB / 457.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.2974, allocations: 186.4 kB / 458.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.2976, allocations: 102.3 kB / 458.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002695/0.2979, allocations: 386.8 kB / 458.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007644/0.2986, allocations: 301.1 kB / 458.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008429/0.2995, allocations: 399.4 kB / 459.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.3011, allocations: 0.6853 MB / 460 MB, free: 10.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3011, allocations: 0 / 460 MB, free: 10.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00211/0.3032, allocations: 0.8287 MB / 460.8 MB, free: 9.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3032, allocations: 4 kB / 460.8 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3032, allocations: 4 kB / 460.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.3032, allocations: 4 kB / 460.8 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/0.3042, allocations: 152.1 kB / 460.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.3043, allocations: 4 kB / 461 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.3048, allocations: 71.53 kB / 461 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/0.3049, allocations: 20 kB / 461 MB, free: 9.035 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.0008826/0.3058, allocations: 465.7 kB / 461.5 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.3059, allocations: 75.53 kB / 461.6 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.3062, allocations: 91.08 kB / 461.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3062, allocations: 8 kB / 461.7 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3062, allocations: 0 / 461.7 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.3062, allocations: 7.922 kB / 461.7 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/0.3107, allocations: 1.917 MB / 463.6 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3107, allocations: 0 / 463.6 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007888/0.3115, allocations: 119.9 kB / 463.7 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.3115, allocations: 4 kB / 463.7 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.3116, allocations: 16.16 kB / 463.7 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.3116, allocations: 7.938 kB / 463.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3116, allocations: 0 / 463.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.3138, allocations: 1.13 MB / 464.9 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.3142, allocations: 103.4 kB / 465 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.3143, allocations: 15.98 kB / 465 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006782/0.315, allocations: 51.89 kB / 465 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.3152, allocations: 36.31 kB / 465.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.3152, allocations: 19.98 kB / 465.1 MB, free: 4.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001301/0.3165, allocations: 0.6004 MB / 465.7 MB, free: 4.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3165, allocations: 0 / 465.7 MB, free: 4.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009591/0.3175, allocations: 287.1 kB / 466 MB, free: 4.004 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.0002459/0.3177, allocations: 123.1 kB / 466.1 MB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.3194, allocations: 0.6297 MB / 466.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.3194, allocations: 0 / 466.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008327/0.3202, allocations: 311.1 kB / 467 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.3217, allocations: 190.8 kB / 467.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005747/0.3274, allocations: 2.3 MB / 469.5 MB, free: 416 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.329, allocations: 1.344 MB / 470.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007873/0.3298, allocations: 213.8 kB / 471.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.33, allocations: 51.44 kB / 471.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.33, allocations: 0 / 471.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of Templates: time 0.02644/0.3565, allocations: 10.64 MB / 481.8 MB, free: 4.254 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/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_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: 4.7443169970065355]