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.001593/0.001593, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001399/0.001399, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.438/1.438, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001554/0.001554, allocations: 51.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2101, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01103/0.2211, allocations: 8.521 MB / 440.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004917/0.226, allocations: 2.651 MB / 443.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.2266, allocations: 91.56 kB / 443.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008938/0.2355, allocations: 3.894 MB / 447.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.2376, allocations: 0.7762 MB / 448.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.2397, allocations: 0.927 MB / 449.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004267/0.2439, allocations: 4.085 MB / 453.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009497/0.2534, allocations: 7.117 MB / 460.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.2563, allocations: 2.412 MB / 462.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003112/0.2594, allocations: 2.663 MB / 465.5 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008113/0.2602, allocations: 0.664 MB / 466.1 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.2617, allocations: 0.8943 MB / 467 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.2628, allocations: 1.243 MB / 468.3 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002052/0.2648, allocations: 1.988 MB / 470.3 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008434/0.2733, allocations: 8.974 MB / 479.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2733, allocations: 3.938 kB / 479.2 MB, free: 7.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.2733, allocations: 4 kB / 479.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.301e-05/0.2734, allocations: 0 / 479.2 MB, free: 7.562 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.01148/0.2848, allocations: 5.321 MB / 484.6 MB, free: 2.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2849, allocations: 8.031 kB / 484.6 MB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008294/0.2932, allocations: 1.317 MB / 485.9 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005184/0.2984, allocations: 2.606 MB / 488.5 MB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.2986, allocations: 349.3 kB / 488.8 MB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007323/0.2994, allocations: 452 kB / 489.3 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01101/0.3104, allocations: 6.135 MB / 495.4 MB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.319e-05/0.3105, allocations: 3.938 kB / 495.4 MB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004521/0.3109, allocations: 188 kB / 495.6 MB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000199/0.3111, allocations: 193.5 kB / 495.8 MB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008906/0.32, allocations: 5.272 MB / 0.4893 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02658/0.3466, allocations: 17.77 MB / 0.5067 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0054/0.352, allocations: 2.069 MB / 0.5087 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009726/0.353, allocations: 0.5883 MB / 0.5093 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.3531, allocations: 44.95 kB / 0.5093 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.3531, allocations: 39.56 kB / 0.5094 GB, free: 12.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.186e-06/0.3532, allocations: 0 / 0.5094 GB, free: 12.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002328/0.3555, allocations: 1.44 MB / 0.5108 GB, free: 11.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.3555, allocations: 60.41 kB / 0.5108 GB, free: 10.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.3575, allocations: 1.535 MB / 0.5123 GB, free: 9.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.3576, allocations: 41.7 kB / 0.5124 GB, free: 9.395 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.359, allocations: 2.041 MB / 0.5143 GB, free: 7.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.3593, allocations: 357.1 kB / 0.5147 GB, free: 6.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006521/0.3599, allocations: 479.9 kB / 0.5151 GB, free: 6.504 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3601, allocations: 353.9 kB / 0.5155 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.3613, allocations: 0.8085 MB / 0.5163 GB, free: 5.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.3635, allocations: 1.945 MB / 0.5182 GB, free: 2.836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003536/0.367, allocations: 2.931 MB / 0.521 GB, free: 15.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/0.3671, allocations: 12 kB / 0.521 GB, free: 15.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004239/0.3713, allocations: 2.801 MB / 0.5238 GB, free: 12.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.3713, allocations: 24.97 kB / 0.5238 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.371e-05/0.3714, allocations: 40 kB / 0.5238 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.195e-05/0.3714, allocations: 56 kB / 0.5239 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.3732, allocations: 0.5381 MB / 0.5244 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.048e-05/0.3733, allocations: 83.7 kB / 0.5245 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.3746, allocations: 297.9 kB / 0.5248 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/0.3747, allocations: 128 kB / 0.5249 GB, free: 11.38 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.002296/0.377, allocations: 1.668 MB / 0.5265 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.3772, allocations: 135.1 kB / 0.5267 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.3794, allocations: 1.345 MB / 0.528 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00138/0.3808, allocations: 0.9357 MB / 0.5289 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3808, allocations: 0 / 0.5289 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.3808, allocations: 7.984 kB / 0.5289 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1994/0.5803, allocations: 10.18 MB / 0.5388 GB, free: 95.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/0.5803, allocations: 19.95 kB / 0.5389 GB, free: 95.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/0.581, allocations: 213.3 kB / 0.5391 GB, free: 95.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-05/0.5811, allocations: 25.47 kB / 0.5391 GB, free: 95.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.422e-05/0.5811, allocations: 45.19 kB / 0.5391 GB, free: 95.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.73e-05/0.5812, allocations: 38.36 kB / 0.5392 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.769e-05/0.5812, allocations: 30.75 kB / 0.5392 GB, free: 95.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.5836, allocations: 2.467 MB / 0.5416 GB, free: 93.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005362/0.5842, allocations: 254.3 kB / 0.5418 GB, free: 93.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.5843, allocations: 50.55 kB / 0.5419 GB, free: 93.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/0.585, allocations: 62.44 kB / 0.542 GB, free: 93.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.5851, allocations: 137.4 kB / 0.5421 GB, free: 93.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.5852, allocations: 56.61 kB / 0.5421 GB, free: 93.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009801/0.5862, allocations: 0.9848 MB / 0.5431 GB, free: 93.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5862, allocations: 0 / 0.5431 GB, free: 93.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002179/0.5884, allocations: 0.9595 MB / 0.544 GB, free: 93.34 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.0002495/0.5886, allocations: 206.5 kB / 0.5442 GB, free: 93.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.5905, allocations: 1.799 MB / 0.546 GB, free: 92.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.5905, allocations: 3.875 kB / 0.546 GB, free: 92.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.5911, allocations: 0.5556 MB / 0.5465 GB, free: 92.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.5931, allocations: 389.2 kB / 0.5469 GB, free: 92.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00766/0.6007, allocations: 6.911 MB / 0.5537 GB, free: 88.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/0.6026, allocations: 2.529 MB / 0.5561 GB, free: 86.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001497/0.6041, allocations: 0.8171 MB / 0.5569 GB, free: 85.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.6044, allocations: 114.9 kB / 0.557 GB, free: 85.54 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6044, allocations: 0 / 0.557 GB, free: 85.54 MB / 446.1 MB Notification: Performance of Templates: time 0.02861/0.633, allocations: 21.96 MB / 0.5785 GB, free: 64.5 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 -s gbode -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: 5.099194777998491]