Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001822/0.001822, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002109/0.002109, allocations: 214.1 kB / 24.48 MB, free: 3.84 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 1.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 39.94 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2202, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01115/0.2314, allocations: 8.517 MB / 440.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005313/0.2367, allocations: 2.643 MB / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008389/0.2375, allocations: 91.56 kB / 443.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009042/0.2465, allocations: 3.89 MB / 447.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.2492, allocations: 0.7751 MB / 448.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.2514, allocations: 0.9323 MB / 449.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004766/0.2562, allocations: 4.089 MB / 453.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009846/0.266, allocations: 7.044 MB / 460.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003491/0.2695, allocations: 2.428 MB / 462.8 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004614/0.2741, allocations: 2.55 MB / 465.3 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0015/0.2756, allocations: 0.6641 MB / 466 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.2778, allocations: 0.8826 MB / 466.8 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.2791, allocations: 1.243 MB / 468.1 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002758/0.2818, allocations: 1.988 MB / 470.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.2928, allocations: 8.972 MB / 479.1 MB, free: 7.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2928, allocations: 0 / 479.1 MB, free: 7.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2928, allocations: 0 / 479.1 MB, free: 7.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001982/0.293, allocations: 0 / 479.1 MB, free: 7.773 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.01417/0.3072, allocations: 5.331 MB / 484.4 MB, free: 2.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3072, allocations: 8.031 kB / 484.4 MB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008013/0.3152, allocations: 1.313 MB / 485.7 MB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006187/0.3214, allocations: 2.594 MB / 488.3 MB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.3218, allocations: 357.3 kB / 488.6 MB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/0.3229, allocations: 452 kB / 489.1 MB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/0.3357, allocations: 6.134 MB / 495.2 MB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.3358, allocations: 7.953 kB / 495.2 MB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004804/0.3363, allocations: 188 kB / 495.4 MB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002178/0.3365, allocations: 197.5 kB / 495.6 MB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.3469, allocations: 5.268 MB / 0.4891 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0315/0.3784, allocations: 17.76 MB / 0.5065 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005372/0.3838, allocations: 2.069 MB / 0.5085 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.3849, allocations: 0.6001 MB / 0.5091 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.385, allocations: 36.95 kB / 0.5091 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.3851, allocations: 47.56 kB / 0.5092 GB, free: 12.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.376e-06/0.3851, allocations: 0 / 0.5092 GB, free: 12.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002472/0.3876, allocations: 1.437 MB / 0.5106 GB, free: 11.28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.3876, allocations: 60.41 kB / 0.5106 GB, free: 11.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/0.3901, allocations: 1.531 MB / 0.5121 GB, free: 9.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.814e-05/0.3901, allocations: 41.7 kB / 0.5122 GB, free: 9.613 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.3917, allocations: 2.037 MB / 0.5142 GB, free: 7.555 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.392, allocations: 365.1 kB / 0.5145 GB, free: 7.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007202/0.3928, allocations: 479.9 kB / 0.515 GB, free: 6.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.393, allocations: 357.9 kB / 0.5153 GB, free: 6.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.3943, allocations: 0.8084 MB / 0.5161 GB, free: 5.551 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.3966, allocations: 1.948 MB / 0.518 GB, free: 3.043 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/0.4004, allocations: 2.931 MB / 0.5209 GB, free: 15.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.668e-05/0.4004, allocations: 12 kB / 0.5209 GB, free: 15.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004791/0.4052, allocations: 2.802 MB / 0.5236 GB, free: 12.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.4052, allocations: 20 kB / 0.5236 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-05/0.4053, allocations: 40 kB / 0.5237 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.976e-05/0.4054, allocations: 52 kB / 0.5237 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.4072, allocations: 0.542 MB / 0.5242 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.29e-05/0.4072, allocations: 79.7 kB / 0.5243 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.4087, allocations: 302.3 kB / 0.5246 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/0.4089, allocations: 124 kB / 0.5247 GB, free: 11.59 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.002547/0.4114, allocations: 1.668 MB / 0.5263 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.4117, allocations: 135.1 kB / 0.5265 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.4141, allocations: 1.345 MB / 0.5278 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001439/0.4155, allocations: 0.9357 MB / 0.5287 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4155, allocations: 0 / 0.5287 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.4155, allocations: 3.984 kB / 0.5287 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.193/0.6085, allocations: 10.18 MB / 0.5386 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/0.6085, allocations: 19.31 kB / 0.5387 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007561/0.6092, allocations: 214.1 kB / 0.5389 GB, free: 95.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.407e-05/0.6093, allocations: 25.5 kB / 0.5389 GB, free: 95.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/0.6093, allocations: 48.75 kB / 0.5389 GB, free: 95.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.951e-05/0.6094, allocations: 41.61 kB / 0.539 GB, free: 95.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.766e-05/0.6094, allocations: 31.41 kB / 0.539 GB, free: 95.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.612, allocations: 2.465 MB / 0.5414 GB, free: 93.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005671/0.6125, allocations: 253.1 kB / 0.5417 GB, free: 93.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.6127, allocations: 44.44 kB / 0.5417 GB, free: 93.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000689/0.6134, allocations: 63.77 kB / 0.5418 GB, free: 93.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.6135, allocations: 140 kB / 0.5419 GB, free: 93.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.6136, allocations: 53.64 kB / 0.5419 GB, free: 93.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001033/0.6146, allocations: 0.9896 MB / 0.5429 GB, free: 93.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6146, allocations: 0 / 0.5429 GB, free: 93.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002191/0.6168, allocations: 0.9585 MB / 0.5439 GB, free: 93.29 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.0002591/0.6171, allocations: 197.9 kB / 0.544 GB, free: 93.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002115/0.6192, allocations: 1.806 MB / 0.5458 GB, free: 92.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.6192, allocations: 3.906 kB / 0.5458 GB, free: 92.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.6198, allocations: 0.5612 MB / 0.5464 GB, free: 92.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.6217, allocations: 388.3 kB / 0.5467 GB, free: 92.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007809/0.6295, allocations: 6.786 MB / 0.5534 GB, free: 88.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/0.6314, allocations: 2.448 MB / 0.5557 GB, free: 86.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.6317, allocations: 138.8 kB / 0.5559 GB, free: 86.3 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6317, allocations: 7.938 kB / 0.5559 GB, free: 86.29 MB / 446.1 MB Notification: Performance of Templates: time 0.03924/0.6709, allocations: 40.51 MB / 0.5954 GB, free: 46.85 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 10.450725357979536]