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.001753/0.001753, allocations: 116.9 kB / 18.41 MB, free: 4.516 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.002169/0.002169, allocations: 186.9 kB / 21.34 MB, free: 1.59 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.488/1.488, allocations: 222.9 MB / 247 MB, free: 4.188 MB / 190.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.001568/0.001568, allocations: 47.92 kB / 358.7 MB, free: 8.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09227/0.09385, allocations: 49.44 MB / 408.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005085/0.09897, allocations: 3.785 MB / 411.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.101, allocations: 0.9814 MB / 412.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.1013, allocations: 23.94 kB / 412.9 MB, free: 2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.1017, allocations: 150.8 kB / 413 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000805/0.1025, allocations: 290.4 kB / 413.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.1028, allocations: 119.9 kB / 413.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.1042, allocations: 1.416 MB / 414.8 MB, free: 28 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.1056, allocations: 1.221 MB / 416.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007862/0.1064, allocations: 0.6425 MB / 416.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.1075, allocations: 0.7783 MB / 417.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.1077, allocations: 156 kB / 417.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.108, allocations: 160 kB / 417.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004482/0.1085, allocations: 466.7 kB / 418.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008661/0.1094, allocations: 0.735 MB / 419 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.1115, allocations: 2.079 MB / 421.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1115, allocations: 4 kB / 421.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1115, allocations: 0 / 421.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.852e-05/0.1115, allocations: 0 / 421.1 MB, free: 9.75 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.003279/0.1148, allocations: 1.713 MB / 422.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1149, allocations: 8.031 kB / 422.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/0.1151, allocations: 152 kB / 422.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.1165, allocations: 0.8973 MB / 423.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-05/0.1166, allocations: 86.38 kB / 423.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.1168, allocations: 112 kB / 424 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.1194, allocations: 1.572 MB / 425.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.1194, allocations: 0 / 425.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.1195, allocations: 48 kB / 425.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.1196, allocations: 28 kB / 425.7 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.1218, allocations: 1.332 MB / 427 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1945/0.3163, allocations: 4.284 MB / 431.3 MB, free: 20.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009587/0.3173, allocations: 1.329 MB / 432.6 MB, free: 19.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/0.3181, allocations: 0.5233 MB / 433.1 MB, free: 19.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.3181, allocations: 6 kB / 433.2 MB, free: 19.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3182, allocations: 43.25 kB / 433.2 MB, free: 19.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 3.546e-06/0.3182, allocations: 4.062 kB / 433.2 MB, free: 19.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001368/0.3195, allocations: 0.8722 MB / 434.1 MB, free: 19.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.3196, allocations: 62.56 kB / 434.1 MB, free: 19.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009269/0.3205, allocations: 0.8205 MB / 435 MB, free: 19.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.3206, allocations: 36.11 kB / 435 MB, free: 19.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.3209, allocations: 0.5593 MB / 435.5 MB, free: 19.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.321, allocations: 187.8 kB / 435.7 MB, free: 19.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.3212, allocations: 103.3 kB / 435.8 MB, free: 19.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3213, allocations: 384.8 kB / 436.2 MB, free: 18.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/0.3219, allocations: 299.5 kB / 436.5 MB, free: 18.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005786/0.3225, allocations: 399 kB / 436.9 MB, free: 18.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009482/0.3234, allocations: 0.6894 MB / 437.6 MB, free: 18.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3235, allocations: 1.094 kB / 437.6 MB, free: 18.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001253/0.3247, allocations: 0.8234 MB / 438.4 MB, free: 18.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3247, allocations: 9.781 kB / 438.4 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3248, allocations: 5.562 kB / 438.4 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.3248, allocations: 6.469 kB / 438.4 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/0.3254, allocations: 146.9 kB / 438.6 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3254, allocations: 5.828 kB / 438.6 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.3258, allocations: 63.91 kB / 438.6 MB, free: 18.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.3258, allocations: 24.39 kB / 438.7 MB, free: 18.6 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.0005564/0.3264, allocations: 463.2 kB / 439.1 MB, free: 18.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.3265, allocations: 80.88 kB / 439.2 MB, free: 18.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.3267, allocations: 92.47 kB / 439.3 MB, free: 18.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3267, allocations: 3.75 kB / 439.3 MB, free: 18.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.3267, allocations: 1.531 kB / 439.3 MB, free: 18.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3267, allocations: 2.625 kB / 439.3 MB, free: 18.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.3295, allocations: 1.942 MB / 441.2 MB, free: 18.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3295, allocations: 2.188 kB / 441.2 MB, free: 18.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.33, allocations: 118.5 kB / 441.3 MB, free: 18.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.33, allocations: 7.281 kB / 441.4 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.3301, allocations: 12.88 kB / 441.4 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.3301, allocations: 11.56 kB / 441.4 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3301, allocations: 2.266 kB / 441.4 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.3315, allocations: 1.124 MB / 442.5 MB, free: 17.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.3317, allocations: 172.4 kB / 442.7 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-05/0.3318, allocations: 17.75 kB / 442.7 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.3322, allocations: 47.53 kB / 442.7 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-05/0.3323, allocations: 44.34 kB / 442.8 MB, free: 17.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.3324, allocations: 17.2 kB / 442.8 MB, free: 17.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007384/0.3331, allocations: 0.5896 MB / 443.4 MB, free: 17.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3331, allocations: 0 / 443.4 MB, free: 17.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007488/0.3339, allocations: 290 kB / 443.7 MB, free: 17.57 MB / 350.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.0001374/0.334, allocations: 113 kB / 443.8 MB, free: 17.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.3352, allocations: 0.6554 MB / 444.4 MB, free: 17.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3352, allocations: 1.469 kB / 444.4 MB, free: 17.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.3356, allocations: 322 kB / 444.8 MB, free: 17.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008691/0.3365, allocations: 185 kB / 444.9 MB, free: 17.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.3398, allocations: 2.306 MB / 447.2 MB, free: 16.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008142/0.3406, allocations: 1.32 MB / 448.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.3408, allocations: 55.45 kB / 448.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3408, allocations: 3.938 kB / 448.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of Templates: time 0.01777/0.3586, allocations: 13.38 MB / 462 MB, free: 9.055 MB / 350.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.3786961970618]