Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.001689/0.001689, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002036/0.002036, allocations: 215.4 kB / 24.48 MB, free: 3.941 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 2.239/2.239, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 47.92 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3433, allocations: 53.37 MB / 432.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01414/0.3575, allocations: 8.011 MB / 440.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007148/0.3646, allocations: 2.542 MB / 442.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.3665, allocations: 79.62 kB / 443 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01087/0.3774, allocations: 3.468 MB / 446.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004023/0.3814, allocations: 0.7478 MB / 447.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003366/0.3848, allocations: 0.9042 MB / 448.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006798/0.3916, allocations: 3.657 MB / 451.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.014/0.4056, allocations: 6.183 MB / 457.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.4098, allocations: 2.139 MB / 460.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00494/0.4147, allocations: 2.383 MB / 462.5 MB, free: 8.395 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00179/0.4165, allocations: 0.5859 MB / 463 MB, free: 7.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.4194, allocations: 0.8161 MB / 463.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001871/0.4213, allocations: 1.111 MB / 465 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003617/0.4249, allocations: 1.771 MB / 466.7 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.4367, allocations: 7.958 MB / 474.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4367, allocations: 4 kB / 474.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4367, allocations: 0 / 474.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000189/0.4369, allocations: 0 / 474.7 MB, free: 12.12 MB / 382.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.01906/0.456, allocations: 4.864 MB / 479.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.456, allocations: 8.031 kB / 479.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/0.4691, allocations: 1.29 MB / 480.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007355/0.4764, allocations: 2.317 MB / 483.2 MB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003996/0.4768, allocations: 316.4 kB / 483.5 MB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.4784, allocations: 412 kB / 483.9 MB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01753/0.496, allocations: 5.502 MB / 489.4 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.4962, allocations: 0 / 489.4 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00133/0.4975, allocations: 172 kB / 489.6 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002878/0.4978, allocations: 180.6 kB / 489.7 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01524/0.513, allocations: 4.796 MB / 494.5 MB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04533/0.5583, allocations: 16.32 MB / 0.4989 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006024/0.5644, allocations: 1.745 MB / 0.5006 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.5663, allocations: 0.7183 MB / 0.5013 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.5665, allocations: 44.95 kB / 0.5013 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.5666, allocations: 39.56 kB / 0.5014 GB, free: 4.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 4.538e-06/0.5666, allocations: 0 / 0.5014 GB, free: 4.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.003811/0.5704, allocations: 1.565 MB / 0.5029 GB, free: 3.137 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.5705, allocations: 60.41 kB / 0.5029 GB, free: 3.062 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/0.5733, allocations: 1.403 MB / 0.5043 GB, free: 1.641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.5734, allocations: 41.7 kB / 0.5044 GB, free: 1.594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001793/0.5752, allocations: 1.831 MB / 0.5061 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005537/0.5758, allocations: 384.9 kB / 0.5065 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/0.5768, allocations: 447.7 kB / 0.5069 GB, free: 14.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002517/0.577, allocations: 349.7 kB / 0.5073 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.5791, allocations: 0.8395 MB / 0.5081 GB, free: 13.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003224/0.5823, allocations: 1.816 MB / 0.5099 GB, free: 11.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005798/0.5881, allocations: 2.802 MB / 0.5126 GB, free: 8.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-05/0.5882, allocations: 8 kB / 0.5126 GB, free: 8.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.007248/0.5954, allocations: 2.75 MB / 0.5153 GB, free: 5.383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/0.5955, allocations: 20.94 kB / 0.5153 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-05/0.5955, allocations: 32 kB / 0.5153 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.963e-05/0.5956, allocations: 48 kB / 0.5154 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/0.5988, allocations: 0.5303 MB / 0.5159 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001006/0.5989, allocations: 67.73 kB / 0.516 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/0.6014, allocations: 294 kB / 0.5163 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003374/0.6017, allocations: 112 kB / 0.5164 GB, free: 4.289 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.003604/0.6053, allocations: 1.492 MB / 0.5178 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000423/0.6057, allocations: 127.2 kB / 0.5179 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/0.6096, allocations: 1.454 MB / 0.5194 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00237/0.612, allocations: 1.057 MB / 0.5204 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.612, allocations: 0 / 0.5204 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.612, allocations: 3.984 kB / 0.5204 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02556/0.6376, allocations: 10.18 MB / 0.5303 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-05/0.6376, allocations: 20 kB / 0.5304 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.6391, allocations: 235.5 kB / 0.5306 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.544e-05/0.6391, allocations: 24 kB / 0.5306 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.6393, allocations: 55.98 kB / 0.5307 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-05/0.6393, allocations: 39.86 kB / 0.5307 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.305e-05/0.6393, allocations: 35.81 kB / 0.5307 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004941/0.6443, allocations: 2.676 MB / 0.5333 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.6453, allocations: 266.8 kB / 0.5336 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/0.6456, allocations: 51.97 kB / 0.5336 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.647, allocations: 67.95 kB / 0.5337 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/0.6473, allocations: 151.3 kB / 0.5339 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.6475, allocations: 56 kB / 0.5339 GB, free: 1.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002117/0.6496, allocations: 0.906 MB / 0.5348 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6496, allocations: 0 / 0.5348 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.276/0.9256, allocations: 0.8751 MB / 0.5356 GB, free: 96.66 MB / 446.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.000713/0.9263, allocations: 202.6 kB / 0.5358 GB, free: 96.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00448/0.9308, allocations: 1.839 MB / 0.5376 GB, free: 96.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.85e-05/0.9308, allocations: 4.344 kB / 0.5376 GB, free: 96.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.9324, allocations: 0.616 MB / 0.5382 GB, free: 96.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/0.9358, allocations: 333.9 kB / 0.5386 GB, free: 96.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.9501, allocations: 6.458 MB / 0.5449 GB, free: 92.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003183/0.9533, allocations: 2.26 MB / 0.5471 GB, free: 92.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002599/0.9559, allocations: 0.7545 MB / 0.5478 GB, free: 92.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004186/0.9563, allocations: 119.1 kB / 0.5479 GB, free: 92.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.9563, allocations: 0 / 0.5479 GB, free: 92.11 MB / 446.1 MB Notification: Performance of Templates: time 0.04754/1.004, allocations: 20.45 MB / 0.5679 GB, free: 76.14 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.015610107002431]