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.001367/0.001367, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001539/0.001539, allocations: 218 kB / 24.5 MB, free: 4.172 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.444/1.444, allocations: 230.5 MB / 258.1 MB, free: 8.023 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.001945/0.001945, allocations: 63.89 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2542, allocations: 53.41 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01143/0.2656, allocations: 9.194 MB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00572/0.2713, allocations: 2.674 MB / 444.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.2726, allocations: 75.69 kB / 444.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008617/0.2812, allocations: 3.765 MB / 448.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003113/0.2843, allocations: 0.7683 MB / 448.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.2867, allocations: 0.961 MB / 449.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004734/0.2915, allocations: 3.65 MB / 453.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009205/0.3007, allocations: 6.179 MB / 459.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.3037, allocations: 2.139 MB / 461.9 MB, free: 9.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003818/0.3076, allocations: 2.387 MB / 464.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.3087, allocations: 0.5859 MB / 464.8 MB, free: 6.234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.3105, allocations: 0.824 MB / 465.6 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.3116, allocations: 1.114 MB / 466.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002784/0.3144, allocations: 2.272 MB / 469 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009009/0.3234, allocations: 7.934 MB / 477 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3234, allocations: 0 / 477 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3234, allocations: 0 / 477 MB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001777/0.3235, allocations: 0 / 477 MB, free: 10.05 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.01208/0.3356, allocations: 4.861 MB / 481.8 MB, free: 5.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3357, allocations: 8.031 kB / 481.8 MB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007827/0.3435, allocations: 1.286 MB / 483.1 MB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005303/0.3488, allocations: 2.309 MB / 485.4 MB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003102/0.3491, allocations: 316.4 kB / 485.7 MB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/0.3503, allocations: 416 kB / 486.2 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.363, allocations: 5.481 MB / 491.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.3631, allocations: 0 / 491.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004919/0.3636, allocations: 175.9 kB / 491.8 MB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002002/0.3638, allocations: 176.6 kB / 492 MB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.3745, allocations: 4.808 MB / 496.8 MB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03257/0.4071, allocations: 18.55 MB / 0.5033 GB, free: 2.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/0.4112, allocations: 1.772 MB / 0.505 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.4126, allocations: 0.7145 MB / 0.5057 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.4127, allocations: 52.92 kB / 0.5057 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.4128, allocations: 47.55 kB / 0.5058 GB, free: 388 kB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.725e-06/0.4128, allocations: 0 / 0.5058 GB, free: 388 kB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002761/0.4156, allocations: 1.569 MB / 0.5073 GB, free: 14.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.4156, allocations: 60.41 kB / 0.5074 GB, free: 14.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.4178, allocations: 1.346 MB / 0.5087 GB, free: 13.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.902e-05/0.4179, allocations: 41.7 kB / 0.5087 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.4194, allocations: 1.819 MB / 0.5105 GB, free: 11.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.4198, allocations: 380.9 kB / 0.5109 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007078/0.4205, allocations: 459.6 kB / 0.5113 GB, free: 10.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4207, allocations: 349.9 kB / 0.5116 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.4221, allocations: 0.8279 MB / 0.5124 GB, free: 9.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.4243, allocations: 1.831 MB / 0.5142 GB, free: 7.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003714/0.428, allocations: 2.802 MB / 0.517 GB, free: 3.887 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.861e-05/0.4281, allocations: 8 kB / 0.517 GB, free: 3.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004706/0.4328, allocations: 2.743 MB / 0.5197 GB, free: 1.125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.4328, allocations: 20 kB / 0.5197 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.914e-05/0.4329, allocations: 32 kB / 0.5197 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-05/0.4329, allocations: 48 kB / 0.5197 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.4346, allocations: 0.5225 MB / 0.5203 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.771e-05/0.4347, allocations: 67.78 kB / 0.5203 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.4361, allocations: 302.4 kB / 0.5206 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.4363, allocations: 112 kB / 0.5207 GB, free: 32 kB / 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.002907/0.4392, allocations: 1.488 MB / 0.5222 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/0.4395, allocations: 131.1 kB / 0.5223 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.442, allocations: 1.45 MB / 0.5237 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001554/0.4435, allocations: 1.041 MB / 0.5247 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4435, allocations: 0 / 0.5247 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.4436, allocations: 7.969 kB / 0.5247 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/0.4615, allocations: 11.07 MB / 0.5355 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.13e-05/0.4616, allocations: 27.97 kB / 0.5356 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/0.4624, allocations: 231.5 kB / 0.5358 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.98e-05/0.4624, allocations: 28 kB / 0.5358 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-05/0.4625, allocations: 48 kB / 0.5359 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-05/0.4626, allocations: 47.78 kB / 0.5359 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.532e-05/0.4626, allocations: 32.34 kB / 0.5359 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2168/0.6794, allocations: 2.669 MB / 0.5385 GB, free: 94.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008086/0.6802, allocations: 265.1 kB / 0.5388 GB, free: 94.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.6805, allocations: 53.03 kB / 0.5389 GB, free: 94.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.6815, allocations: 65.86 kB / 0.5389 GB, free: 94.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.6818, allocations: 150.6 kB / 0.5391 GB, free: 94.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.6819, allocations: 56.64 kB / 0.5391 GB, free: 94.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001639/0.6835, allocations: 0.9124 MB / 0.54 GB, free: 94.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6835, allocations: 0 / 0.54 GB, free: 94.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00256/0.6861, allocations: 0.8827 MB / 0.5409 GB, free: 94.14 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.000349/0.6864, allocations: 197.2 kB / 0.5411 GB, free: 94.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002739/0.6892, allocations: 1.838 MB / 0.5428 GB, free: 93.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.6892, allocations: 2.938 kB / 0.5429 GB, free: 93.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008247/0.69, allocations: 0.6222 MB / 0.5435 GB, free: 93.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.692, allocations: 341.7 kB / 0.5438 GB, free: 93.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009168/0.7012, allocations: 6.346 MB / 0.55 GB, free: 89.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/0.703, allocations: 2.739 MB / 0.5527 GB, free: 88.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/0.7034, allocations: 139.3 kB / 0.5528 GB, free: 88.33 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.7034, allocations: 0 / 0.5528 GB, free: 88.33 MB / 446.1 MB Notification: Performance of Templates: time 0.04215/0.7456, allocations: 36.1 MB / 0.588 GB, free: 56.02 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/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_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: 10.137348438147455]