Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.002639/0.002639, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002878/0.002878, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 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.507/1.507, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.663e-05/3.847e-05, allocations: 6.25 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01226/0.0123, allocations: 8.778 MB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005561/0.01786, allocations: 2.538 MB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008954/0.01876, allocations: 79.62 kB / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009446/0.0282, allocations: 3.983 MB / 282.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.03193, allocations: 0.92 MB / 283.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.03407, allocations: 0.7857 MB / 284.4 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005188/0.03925, allocations: 3.777 MB / 288.2 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.124/0.1632, allocations: 6.131 MB / 294.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.1674, allocations: 3.2 MB / 297.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003278/0.1706, allocations: 2.281 MB / 299.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009182/0.1716, allocations: 0.5871 MB / 300.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.173, allocations: 0.7902 MB / 301.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007553/0.1738, allocations: 1.151 MB / 302.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.1752, allocations: 1.543 MB / 303.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006149/0.1813, allocations: 8.039 MB / 311.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1813, allocations: 4.906 kB / 311.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1813, allocations: 0 / 311.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001677/0.1815, allocations: 0 / 311.9 MB, free: 8.547 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01159/0.1931, allocations: 5.626 MB / 317.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1931, allocations: 8.031 kB / 317.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006917/0.2001, allocations: 1.787 MB / 319.3 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/0.204, allocations: 2.162 MB / 321.5 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.2041, allocations: 309.6 kB / 321.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006297/0.2048, allocations: 414.9 kB / 322.2 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.2155, allocations: 5.019 MB / 327.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.67e-05/0.2156, allocations: 8 kB / 327.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004037/0.216, allocations: 168 kB / 327.4 MB, free: 11.01 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004987/0.2165, allocations: 176.6 kB / 327.6 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008871/0.2253, allocations: 4.308 MB / 331.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04147/0.2668, allocations: 24.52 MB / 356.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/0.2711, allocations: 1.643 MB / 358 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.2724, allocations: 0.6453 MB / 358.7 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.2726, allocations: 44.02 kB / 358.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/0.2726, allocations: 46.33 kB / 358.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=100): time 2.915e-06/0.2726, allocations: 0 / 358.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.002739/0.2754, allocations: 1.378 MB / 360.2 MB, free: 9.445 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.2754, allocations: 68.39 kB / 360.2 MB, free: 9.367 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/0.2787, allocations: 2.044 MB / 362.3 MB, free: 7.305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/0.2788, allocations: 41.7 kB / 362.3 MB, free: 7.258 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002308/0.2811, allocations: 2.032 MB / 364.3 MB, free: 5.215 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005908/0.2817, allocations: 401.5 kB / 364.7 MB, free: 4.828 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009538/0.2826, allocations: 0.5679 MB / 365.3 MB, free: 4.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004013/0.283, allocations: 0.5629 MB / 365.9 MB, free: 3.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.2843, allocations: 0.7068 MB / 366.6 MB, free: 2.969 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002858/0.2871, allocations: 2.274 MB / 368.8 MB, free: 52 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0047/0.2918, allocations: 3.198 MB / 372 MB, free: 12.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.183e-05/0.2919, allocations: 8 kB / 372 MB, free: 12.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004658/0.2965, allocations: 2.617 MB / 374.7 MB, free: 9.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.734e-05/0.2966, allocations: 24.12 kB / 374.7 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.411e-05/0.2967, allocations: 36 kB / 374.7 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.03e-05/0.2967, allocations: 48 kB / 374.8 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.2985, allocations: 0.5244 MB / 375.3 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.998e-05/0.2986, allocations: 69.28 kB / 375.4 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.3001, allocations: 290 kB / 375.6 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.3003, allocations: 124 kB / 375.8 MB, free: 8.879 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002961/0.3032, allocations: 1.43 MB / 377.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.3036, allocations: 167.1 kB / 377.4 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/0.3062, allocations: 1.356 MB / 378.7 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001535/0.3077, allocations: 0.8923 MB / 379.6 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3077, allocations: 0 / 379.6 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.3077, allocations: 3.984 kB / 379.6 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02006/0.3278, allocations: 10.95 MB / 390.6 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.201e-05/0.3278, allocations: 20.94 kB / 390.6 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009142/0.3287, allocations: 229.7 kB / 390.8 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.744e-05/0.3288, allocations: 28 kB / 390.8 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-05/0.3289, allocations: 55.98 kB / 390.9 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.253e-05/0.3289, allocations: 35.2 kB / 390.9 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.87e-05/0.3289, allocations: 33.94 kB / 391 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004337/0.3333, allocations: 2.681 MB / 393.6 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007407/0.334, allocations: 250.8 kB / 393.9 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.3342, allocations: 52.02 kB / 393.9 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/0.335, allocations: 71.94 kB / 394 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.3352, allocations: 144.9 kB / 394.1 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.951e-05/0.3353, allocations: 56 kB / 394.2 MB, free: 5.812 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001768/0.3371, allocations: 1.058 MB / 395.3 MB, free: 4.746 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3371, allocations: 0 / 395.3 MB, free: 4.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002733/0.3398, allocations: 0.8832 MB / 396.1 MB, free: 3.859 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003979/0.3402, allocations: 212.2 kB / 396.3 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003594/0.3438, allocations: 1.891 MB / 398.2 MB, free: 1.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/0.3438, allocations: 4 kB / 398.2 MB, free: 1.898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.3448, allocations: 0.6005 MB / 398.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.347, allocations: 352 kB / 399.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.3592, allocations: 6.415 MB / 405.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002887/0.3621, allocations: 2.029 MB / 407.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001822/0.3639, allocations: 0.6713 MB / 408.3 MB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.3642, allocations: 116.5 kB / 408.4 MB, free: 7.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3642, allocations: 0 / 408.4 MB, free: 7.34 MB / 362.7 MB Notification: Performance of Templates: time 0.03474/0.399, allocations: 15.67 MB / 424.1 MB, free: 7.965 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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: 5.119710359023884]