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.001611/0.001611, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001784/0.001784, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.407/1.407, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001687/0.001687, allocations: 51.92 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2703, allocations: 52.19 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005827/0.2761, allocations: 3.811 MB / 427.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.2785, allocations: 1.001 MB / 428.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000512/0.279, allocations: 31.75 kB / 428.7 MB, free: 9.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.2795, allocations: 158.8 kB / 428.9 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.2806, allocations: 310.4 kB / 429.2 MB, free: 9.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.281, allocations: 127.8 kB / 429.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.2828, allocations: 1.409 MB / 430.7 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.2839, allocations: 0.6552 MB / 431.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009752/0.2849, allocations: 0.6542 MB / 432 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.2863, allocations: 0.7979 MB / 432.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000349/0.2867, allocations: 160 kB / 433 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.2871, allocations: 160 kB / 433.1 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.2876, allocations: 466.7 kB / 433.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009032/0.2885, allocations: 0.7428 MB / 434.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.2909, allocations: 2.068 MB / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2909, allocations: 0 / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.2909, allocations: 4 kB / 436.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.474e-05/0.2909, allocations: 7.938 kB / 436.4 MB, free: 2.055 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.003468/0.2944, allocations: 1.646 MB / 438.1 MB, free: 380 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.2944, allocations: 12.03 kB / 438.1 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.2947, allocations: 148 kB / 438.2 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.2964, allocations: 0.8319 MB / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.736e-05/0.2964, allocations: 86.38 kB / 439.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.2966, allocations: 108 kB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.2994, allocations: 1.572 MB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.2994, allocations: 4 kB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.2995, allocations: 44 kB / 440.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.2995, allocations: 31.98 kB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.3019, allocations: 1.336 MB / 442.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007539/0.3095, allocations: 4.222 MB / 446.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.3105, allocations: 0.6154 MB / 447.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000893/0.3114, allocations: 0.4917 MB / 447.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.3114, allocations: 8.438 kB / 447.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.3115, allocations: 39 kB / 447.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.114e-06/0.3115, allocations: 0 / 447.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001536/0.313, allocations: 0.8772 MB / 448.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.3131, allocations: 55.84 kB / 448.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3142, allocations: 0.8243 MB / 449.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.3142, allocations: 37.7 kB / 449.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/0.3147, allocations: 0.5585 MB / 450 MB, free: 4.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.3149, allocations: 186.4 kB / 450.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.315, allocations: 106.3 kB / 450.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.3153, allocations: 382.8 kB / 450.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.3158, allocations: 305.1 kB / 450.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/0.3163, allocations: 399.3 kB / 451.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.3174, allocations: 0.6854 MB / 452 MB, free: 2.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3174, allocations: 0 / 452 MB, free: 2.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001527/0.3189, allocations: 0.8248 MB / 452.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3189, allocations: 8 kB / 452.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3189, allocations: 0 / 452.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.319, allocations: 8 kB / 452.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/0.3196, allocations: 152.1 kB / 453 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3196, allocations: 4 kB / 453 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/0.3201, allocations: 67.53 kB / 453 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.3201, allocations: 20 kB / 453.1 MB, free: 1.008 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.0007537/0.3209, allocations: 458.4 kB / 453.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.321, allocations: 75.53 kB / 453.6 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.3212, allocations: 95.08 kB / 453.7 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3212, allocations: 7.938 kB / 453.7 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3212, allocations: 4 kB / 453.7 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.3212, allocations: 7.922 kB / 453.7 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003416/0.3246, allocations: 1.925 MB / 455.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3247, allocations: 0 / 455.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.3252, allocations: 123.8 kB / 455.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.3252, allocations: 4 kB / 455.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.3252, allocations: 12 kB / 455.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.443e-06/0.3252, allocations: 8.156 kB / 455.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3252, allocations: 0 / 455.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.327, allocations: 1.138 MB / 456.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.3273, allocations: 95.5 kB / 457 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.976e-05/0.3274, allocations: 11.98 kB / 457 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.3278, allocations: 47.95 kB / 457.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.3279, allocations: 44.3 kB / 457.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.3279, allocations: 16 kB / 457.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008341/0.3288, allocations: 0.5927 MB / 457.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3288, allocations: 0 / 457.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007967/0.3296, allocations: 287 kB / 458 MB, free: 11.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.0001609/0.3297, allocations: 119.1 kB / 458.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.3309, allocations: 0.6376 MB / 458.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3309, allocations: 0 / 458.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.3314, allocations: 310.2 kB / 459 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009287/0.3323, allocations: 175.7 kB / 459.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.3362, allocations: 2.321 MB / 461.5 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.3372, allocations: 1.316 MB / 462.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.3375, allocations: 51.44 kB / 462.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3375, allocations: 0 / 462.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of Templates: time 0.0216/0.3591, allocations: 13.42 MB / 476.3 MB, free: 9.602 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.072912920964882]