Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001771/0.001771, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00222/0.00222, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2391, allocations: 53.41 MB / 431.6 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01098/0.2501, allocations: 8.008 MB / 439.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005018/0.2551, allocations: 2.55 MB / 442.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005997/0.2557, allocations: 71.69 kB / 442.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008079/0.2638, allocations: 3.457 MB / 445.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.266, allocations: 0.7532 MB / 446.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.2681, allocations: 0.8991 MB / 447.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004251/0.2723, allocations: 3.661 MB / 451 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00939/0.2817, allocations: 6.113 MB / 457.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003464/0.2852, allocations: 2.151 MB / 459.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003446/0.2886, allocations: 2.289 MB / 461.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008655/0.2895, allocations: 0.5859 MB / 462.2 MB, free: 7.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.2911, allocations: 0.7967 MB / 463 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.2922, allocations: 1.11 MB / 464.1 MB, free: 5.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.2945, allocations: 1.771 MB / 465.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009022/0.3035, allocations: 7.969 MB / 473.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3035, allocations: 3.938 kB / 473.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3035, allocations: 0 / 473.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001659/0.3037, allocations: 4 kB / 473.8 MB, free: 12.16 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.0123/0.3159, allocations: 4.861 MB / 478.7 MB, free: 7.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.316, allocations: 15.98 kB / 478.7 MB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008141/0.3241, allocations: 1.286 MB / 480 MB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005509/0.3296, allocations: 2.309 MB / 482.3 MB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003499/0.33, allocations: 308.4 kB / 482.6 MB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/0.3312, allocations: 415.9 kB / 483 MB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/0.3442, allocations: 5.51 MB / 488.5 MB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.3444, allocations: 0 / 488.5 MB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007177/0.3451, allocations: 172 kB / 488.7 MB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.3453, allocations: 180.6 kB / 488.9 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009948/0.3552, allocations: 4.796 MB / 493.7 MB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02947/0.3847, allocations: 16.31 MB / 0.498 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/0.389, allocations: 1.744 MB / 0.4997 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.3904, allocations: 0.7184 MB / 0.5004 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.3906, allocations: 44.95 kB / 0.5005 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/0.3906, allocations: 47.5 kB / 0.5005 GB, free: 4.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 4.008e-06/0.3906, allocations: 0 / 0.5005 GB, free: 4.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002738/0.3934, allocations: 1.569 MB / 0.502 GB, free: 3.176 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.3934, allocations: 64.41 kB / 0.5021 GB, free: 3.098 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/0.3957, allocations: 1.4 MB / 0.5035 GB, free: 1.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.602e-05/0.3958, allocations: 45.7 kB / 0.5035 GB, free: 1.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.3972, allocations: 1.827 MB / 0.5053 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003988/0.3976, allocations: 373 kB / 0.5057 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006763/0.3983, allocations: 459.7 kB / 0.5061 GB, free: 14.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3984, allocations: 349.9 kB / 0.5064 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.3998, allocations: 0.8356 MB / 0.5072 GB, free: 13.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.402, allocations: 1.819 MB / 0.509 GB, free: 11.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/0.4057, allocations: 2.798 MB / 0.5118 GB, free: 8.195 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.948e-05/0.4057, allocations: 12 kB / 0.5118 GB, free: 8.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004534/0.4102, allocations: 2.746 MB / 0.5145 GB, free: 5.426 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.4103, allocations: 20.94 kB / 0.5145 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.117e-05/0.4103, allocations: 32 kB / 0.5145 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-05/0.4104, allocations: 48 kB / 0.5145 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.4121, allocations: 0.5264 MB / 0.5151 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.988e-05/0.4122, allocations: 67.78 kB / 0.5151 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4135, allocations: 286 kB / 0.5154 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.4137, allocations: 120 kB / 0.5155 GB, free: 4.336 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.002412/0.4161, allocations: 1.492 MB / 0.517 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.4164, allocations: 131.1 kB / 0.5171 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.4188, allocations: 1.457 MB / 0.5185 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001585/0.4204, allocations: 1.045 MB / 0.5195 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.934e-06/0.4204, allocations: 0 / 0.5195 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.4204, allocations: 7.969 kB / 0.5195 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/0.4368, allocations: 10.18 MB / 0.5295 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.475e-05/0.4368, allocations: 20 kB / 0.5295 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008749/0.4377, allocations: 231.5 kB / 0.5297 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.111e-05/0.4377, allocations: 31.94 kB / 0.5298 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/0.4378, allocations: 51.98 kB / 0.5298 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.543e-05/0.4379, allocations: 43.8 kB / 0.5299 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.972e-05/0.4379, allocations: 35.88 kB / 0.5299 GB, free: 5.246 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003641/0.4415, allocations: 2.672 MB / 0.5325 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007222/0.4423, allocations: 270.7 kB / 0.5328 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/0.4425, allocations: 51.98 kB / 0.5328 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009044/0.4434, allocations: 67.94 kB / 0.5329 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.4436, allocations: 151.3 kB / 0.533 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.372e-05/0.4437, allocations: 52 kB / 0.5331 GB, free: 1.676 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001497/0.4452, allocations: 0.9098 MB / 0.534 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4452, allocations: 3.938 kB / 0.534 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.2077/0.6529, allocations: 0.8783 MB / 0.5348 GB, free: 96.55 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.0006005/0.6535, allocations: 194.1 kB / 0.535 GB, free: 96.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003161/0.6567, allocations: 1.842 MB / 0.5368 GB, free: 96.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.216e-05/0.6567, allocations: 3.219 kB / 0.5368 GB, free: 96.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008649/0.6575, allocations: 0.6167 MB / 0.5374 GB, free: 96.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.6597, allocations: 331.9 kB / 0.5377 GB, free: 96.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009413/0.6691, allocations: 6.451 MB / 0.544 GB, free: 92.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/0.6709, allocations: 2.258 MB / 0.5462 GB, free: 92.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001542/0.6725, allocations: 0.7582 MB / 0.547 GB, free: 92.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.6727, allocations: 120.7 kB / 0.5471 GB, free: 92 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6727, allocations: 3.172 kB / 0.5471 GB, free: 92 MB / 446.1 MB Notification: Performance of Templates: time 0.02812/0.7009, allocations: 19.38 MB / 0.566 GB, free: 77.12 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.3288683239370584]