Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001383/0.001383, 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.001437/0.001437, allocations: 214.7 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.812 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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 59.91 kB / 378.2 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2544, allocations: 53.41 MB / 431.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01139/0.2658, allocations: 8.513 MB / 440.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005859/0.2716, allocations: 2.651 MB / 442.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009927/0.2726, allocations: 91.56 kB / 442.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009767/0.2824, allocations: 3.884 MB / 446.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00339/0.2858, allocations: 0.7764 MB / 447.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.2885, allocations: 0.9337 MB / 448.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005526/0.294, allocations: 4.085 MB / 452.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01014/0.3042, allocations: 7.05 MB / 459.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00343/0.3076, allocations: 2.412 MB / 462 MB, free: 7.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004134/0.3117, allocations: 2.554 MB / 464.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001047/0.3128, allocations: 0.6641 MB / 465.3 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.3148, allocations: 0.8904 MB / 466.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.316, allocations: 1.239 MB / 467.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002701/0.3187, allocations: 1.981 MB / 469.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009695/0.3284, allocations: 8.977 MB / 478.4 MB, free: 7.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3284, allocations: 4 kB / 478.4 MB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3284, allocations: 0 / 478.4 MB, free: 7.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001789/0.3286, allocations: 0 / 478.4 MB, free: 7.605 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01317/0.3417, allocations: 5.327 MB / 483.7 MB, free: 2.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3418, allocations: 15.98 kB / 483.7 MB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008001/0.3498, allocations: 1.313 MB / 485 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006752/0.3565, allocations: 2.602 MB / 487.6 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003252/0.3569, allocations: 349.3 kB / 488 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.358, allocations: 459.9 kB / 488.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.37, allocations: 6.123 MB / 494.5 MB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.3701, allocations: 15.94 kB / 494.5 MB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004366/0.3705, allocations: 188 kB / 494.7 MB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002197/0.3707, allocations: 193.5 kB / 494.9 MB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.3812, allocations: 5.264 MB / 0.4885 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02837/0.4096, allocations: 17.77 MB / 0.5058 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00523/0.4148, allocations: 2.062 MB / 0.5078 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.4159, allocations: 0.6 MB / 0.5084 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.416, allocations: 40.97 kB / 0.5085 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.416, allocations: 43.56 kB / 0.5085 GB, free: 12.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.256e-06/0.416, allocations: 3.938 kB / 0.5085 GB, free: 12.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002397/0.4184, allocations: 1.437 MB / 0.5099 GB, free: 11.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.4185, allocations: 64.41 kB / 0.51 GB, free: 11.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.4208, allocations: 1.523 MB / 0.5114 GB, free: 9.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/0.4209, allocations: 45.69 kB / 0.5115 GB, free: 9.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001573/0.4224, allocations: 2.041 MB / 0.5135 GB, free: 7.363 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/0.4228, allocations: 365.1 kB / 0.5138 GB, free: 7.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007269/0.4236, allocations: 475.9 kB / 0.5143 GB, free: 6.531 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.4237, allocations: 353.9 kB / 0.5146 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.425, allocations: 0.8124 MB / 0.5154 GB, free: 5.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.4272, allocations: 1.941 MB / 0.5173 GB, free: 2.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003801/0.431, allocations: 2.939 MB / 0.5202 GB, free: 15.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.599e-05/0.431, allocations: 12 kB / 0.5202 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004378/0.4354, allocations: 2.802 MB / 0.5229 GB, free: 12.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.4355, allocations: 20 kB / 0.523 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-05/0.4355, allocations: 40 kB / 0.523 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.908e-05/0.4356, allocations: 56 kB / 0.523 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.4373, allocations: 0.5342 MB / 0.5236 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-05/0.4373, allocations: 75.72 kB / 0.5236 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.4387, allocations: 306.2 kB / 0.5239 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.4389, allocations: 123.9 kB / 0.524 GB, free: 11.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.002615/0.4415, allocations: 1.664 MB / 0.5257 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.4418, allocations: 147 kB / 0.5258 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.444, allocations: 1.341 MB / 0.5271 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001379/0.4454, allocations: 0.9357 MB / 0.528 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4454, allocations: 4 kB / 0.528 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.4454, allocations: 3.984 kB / 0.528 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2254/0.6708, allocations: 10.17 MB / 0.538 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/0.6708, allocations: 18.38 kB / 0.538 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007048/0.6715, allocations: 214.2 kB / 0.5382 GB, free: 95.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.781e-05/0.6716, allocations: 25.64 kB / 0.5382 GB, free: 95.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.729e-05/0.6716, allocations: 50.08 kB / 0.5383 GB, free: 95.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.95e-05/0.6717, allocations: 36.89 kB / 0.5383 GB, free: 95.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.851e-05/0.6717, allocations: 33.5 kB / 0.5383 GB, free: 95.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.6743, allocations: 2.463 MB / 0.5407 GB, free: 93.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.6749, allocations: 251.2 kB / 0.541 GB, free: 93.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.6751, allocations: 48.62 kB / 0.541 GB, free: 93.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/0.6758, allocations: 68.12 kB / 0.5411 GB, free: 93.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.6759, allocations: 137.1 kB / 0.5412 GB, free: 93.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/0.676, allocations: 57.03 kB / 0.5413 GB, free: 93.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001075/0.677, allocations: 0.9933 MB / 0.5422 GB, free: 93.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.677, allocations: 0 / 0.5422 GB, free: 93.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002221/0.6793, allocations: 0.9507 MB / 0.5432 GB, free: 93.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.0002898/0.6795, allocations: 192.3 kB / 0.5434 GB, free: 93.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.6818, allocations: 1.809 MB / 0.5451 GB, free: 92.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.6819, allocations: 3.031 kB / 0.5451 GB, free: 92.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006374/0.6825, allocations: 0.5635 MB / 0.5457 GB, free: 92.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.6845, allocations: 371.8 kB / 0.546 GB, free: 92.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009887/0.6943, allocations: 6.909 MB / 0.5528 GB, free: 88.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/0.6965, allocations: 2.536 MB / 0.5553 GB, free: 86.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001557/0.698, allocations: 0.8181 MB / 0.5561 GB, free: 85.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.6982, allocations: 121.4 kB / 0.5562 GB, free: 85.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.6982, allocations: 3.938 kB / 0.5562 GB, free: 85.45 MB / 446.1 MB Notification: Performance of Templates: time 0.02956/0.7278, allocations: 20.81 MB / 0.5765 GB, free: 65.45 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.297166708856821]