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.001809/0.001809, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.002124/0.002124, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.424/1.424, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.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 0.001491/0.001491, allocations: 55.91 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2307, allocations: 52.12 MB / 420.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01141/0.2421, allocations: 9.204 MB / 430.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004383/0.2465, allocations: 2.589 MB / 432.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004665/0.2469, allocations: 67.81 kB / 432.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007934/0.2549, allocations: 3.765 MB / 436.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.257, allocations: 0.9044 MB / 437.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.2586, allocations: 0.79 MB / 438.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003738/0.2624, allocations: 3.638 MB / 441.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00777/0.2702, allocations: 5.888 MB / 447.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.2727, allocations: 2.092 MB / 449.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002907/0.2756, allocations: 2.383 MB / 452.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006934/0.2763, allocations: 0.582 MB / 452.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.2776, allocations: 0.8006 MB / 453.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009694/0.2785, allocations: 1.103 MB / 454.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002241/0.2808, allocations: 2.28 MB / 456.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00762/0.2884, allocations: 7.916 MB / 464.9 MB, free: 2.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2884, allocations: 0 / 464.9 MB, free: 2.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2884, allocations: 0 / 464.9 MB, free: 2.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001365/0.2885, allocations: 0 / 464.9 MB, free: 2.945 MB / 366.1 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.01076/0.2993, allocations: 4.929 MB / 469.8 MB, free: 13.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2993, allocations: 11.89 kB / 469.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007242/0.3066, allocations: 1.294 MB / 471.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/0.3103, allocations: 2.311 MB / 473.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/0.3105, allocations: 316.4 kB / 473.7 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006187/0.3111, allocations: 408 kB / 474.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009242/0.3204, allocations: 5.473 MB / 479.6 MB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.404e-05/0.3205, allocations: 15.89 kB / 479.6 MB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003997/0.3209, allocations: 171.9 kB / 479.8 MB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/0.321, allocations: 176.6 kB / 479.9 MB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007771/0.3288, allocations: 4.8 MB / 484.7 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02567/0.3545, allocations: 19.09 MB / 0.492 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00495/0.3594, allocations: 3.79 MB / 0.4957 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.3607, allocations: 0.7119 MB / 0.4964 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.3608, allocations: 114.1 kB / 0.4965 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.3609, allocations: 47.56 kB / 0.4966 GB, free: 5.984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.086e-06/0.3609, allocations: 0 / 0.4966 GB, free: 5.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.00249/0.3634, allocations: 1.562 MB / 0.4981 GB, free: 4.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.3634, allocations: 64.41 kB / 0.4982 GB, free: 4.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.3653, allocations: 1.338 MB / 0.4995 GB, free: 2.984 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.3653, allocations: 41.7 kB / 0.4995 GB, free: 2.938 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.3666, allocations: 1.819 MB / 0.5013 GB, free: 1.098 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/0.3669, allocations: 384.9 kB / 0.5017 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006437/0.3676, allocations: 451.7 kB / 0.5021 GB, free: 276 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3677, allocations: 353.8 kB / 0.5024 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.369, allocations: 0.8279 MB / 0.5032 GB, free: 15.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/0.3711, allocations: 1.827 MB / 0.505 GB, free: 12.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003312/0.3744, allocations: 2.79 MB / 0.5077 GB, free: 9.512 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/0.3744, allocations: 12 kB / 0.5077 GB, free: 9.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004081/0.3785, allocations: 2.739 MB / 0.5104 GB, free: 6.758 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.3786, allocations: 23.44 kB / 0.5104 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.032e-05/0.3786, allocations: 32 kB / 0.5105 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-05/0.3787, allocations: 48 kB / 0.5105 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.3803, allocations: 0.5186 MB / 0.511 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.617e-05/0.3804, allocations: 71.72 kB / 0.5111 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.3816, allocations: 294.2 kB / 0.5114 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.3817, allocations: 116 kB / 0.5115 GB, free: 5.668 MB / 430.1 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.002114/0.3838, allocations: 1.488 MB / 0.5129 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.384, allocations: 127.2 kB / 0.5131 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.3863, allocations: 1.462 MB / 0.5145 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001469/0.3878, allocations: 1.033 MB / 0.5155 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3878, allocations: 4 kB / 0.5155 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.3878, allocations: 3.984 kB / 0.5155 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.4037, allocations: 12.3 MB / 0.5275 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-05/0.4038, allocations: 20 kB / 0.5275 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008067/0.4046, allocations: 235.5 kB / 0.5278 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.728e-05/0.4046, allocations: 28.75 kB / 0.5278 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.608e-05/0.4047, allocations: 48 kB / 0.5278 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.378e-05/0.4047, allocations: 47.8 kB / 0.5279 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-05/0.4047, allocations: 31.88 kB / 0.5279 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/0.4081, allocations: 2.656 MB / 0.5305 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005358/0.4086, allocations: 335.9 kB / 0.5308 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.4088, allocations: 47.98 kB / 0.5309 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007374/0.4095, allocations: 76 kB / 0.5309 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.4097, allocations: 151.2 kB / 0.5311 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.387e-05/0.4098, allocations: 56 kB / 0.5311 GB, free: 492 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001252/0.4111, allocations: 0.9062 MB / 0.532 GB, free: 15.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4111, allocations: 0 / 0.532 GB, free: 15.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002487/0.4135, allocations: 0.8793 MB / 0.5329 GB, free: 14.68 MB / 462.1 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.0003424/0.4139, allocations: 210.6 kB / 0.5331 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.4167, allocations: 1.84 MB / 0.5349 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.4167, allocations: 4 kB / 0.5349 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008889/0.4176, allocations: 0.6108 MB / 0.5355 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.4195, allocations: 348 kB / 0.5358 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.4296, allocations: 6.491 MB / 0.5422 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002702/0.4323, allocations: 2.805 MB / 0.5449 GB, free: 2.012 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001713/0.434, allocations: 0.7654 MB / 0.5456 GB, free: 1.238 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.4343, allocations: 107.4 kB / 0.5457 GB, free: 1.133 MB / 462.1 MB Notification: Performance of SimCode: time 1.213e-06/0.4343, allocations: 0 / 0.5457 GB, free: 1.133 MB / 462.1 MB Notification: Performance of Templates: time 0.2138/0.6481, allocations: 18.05 MB / 0.5634 GB, free: 112.2 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] 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.075711981393397]