Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001593/0.001593, allocations: 117.9 kB / 21.18 MB, free: 0.6289 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.002114/0.002114, allocations: 202.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 75.81 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2605, allocations: 53.32 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01069/0.2711, allocations: 9.195 MB / 441.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005756/0.2769, allocations: 2.659 MB / 443.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.2783, allocations: 67.81 kB / 444 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008448/0.2868, allocations: 3.763 MB / 447.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.2899, allocations: 0.7485 MB / 448.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.2923, allocations: 0.9409 MB / 449.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004766/0.2971, allocations: 3.622 MB / 453.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008626/0.3057, allocations: 5.877 MB / 458.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003077/0.3088, allocations: 2.092 MB / 461 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/0.3127, allocations: 2.387 MB / 463.4 MB, free: 7.844 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001261/0.314, allocations: 0.5859 MB / 464 MB, free: 7.258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.3162, allocations: 0.8278 MB / 464.8 MB, free: 6.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.3174, allocations: 1.103 MB / 465.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003313/0.3207, allocations: 2.284 MB / 468.2 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009071/0.3298, allocations: 7.92 MB / 476.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3298, allocations: 0 / 476.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3298, allocations: 0 / 476.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001877/0.33, allocations: 0 / 476.1 MB, free: 11.09 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.01396/0.3439, allocations: 4.944 MB / 481.1 MB, free: 6.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.344, allocations: 8.031 kB / 481.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007978/0.352, allocations: 1.279 MB / 482.4 MB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005738/0.3577, allocations: 2.327 MB / 484.7 MB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.358, allocations: 312.4 kB / 485 MB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001427/0.3594, allocations: 419.9 kB / 485.4 MB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/0.3708, allocations: 5.477 MB / 490.9 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.259e-05/0.3709, allocations: 4 kB / 490.9 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004077/0.3713, allocations: 168 kB / 491.1 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/0.3715, allocations: 180.6 kB / 491.2 MB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009389/0.3809, allocations: 4.808 MB / 496 MB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03195/0.4129, allocations: 19.34 MB / 0.5033 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004913/0.4178, allocations: 3.809 MB / 0.507 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.4191, allocations: 0.7145 MB / 0.5077 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.4193, allocations: 203.1 kB / 0.5079 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.4193, allocations: 43.56 kB / 0.508 GB, free: 13.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 5.099e-06/0.4193, allocations: 3.984 kB / 0.508 GB, free: 13.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.002487/0.4218, allocations: 1.565 MB / 0.5095 GB, free: 12.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.4219, allocations: 60.41 kB / 0.5095 GB, free: 12.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.4238, allocations: 1.346 MB / 0.5109 GB, free: 10.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/0.4238, allocations: 41.7 kB / 0.5109 GB, free: 10.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.4251, allocations: 1.827 MB / 0.5127 GB, free: 8.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/0.4254, allocations: 384.9 kB / 0.513 GB, free: 8.391 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005979/0.426, allocations: 455.6 kB / 0.5135 GB, free: 7.938 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4262, allocations: 353.9 kB / 0.5138 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.4274, allocations: 0.8278 MB / 0.5146 GB, free: 6.754 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.4294, allocations: 1.82 MB / 0.5164 GB, free: 4.453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/0.4327, allocations: 2.802 MB / 0.5191 GB, free: 1.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/0.4327, allocations: 11.94 kB / 0.5192 GB, free: 1.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004138/0.4369, allocations: 2.743 MB / 0.5218 GB, free: 14.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.4369, allocations: 20 kB / 0.5218 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/0.4369, allocations: 32 kB / 0.5219 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.073e-05/0.437, allocations: 48 kB / 0.5219 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.4387, allocations: 0.5225 MB / 0.5224 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.116e-05/0.4388, allocations: 72.22 kB / 0.5225 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.44, allocations: 298 kB / 0.5228 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.4402, allocations: 115.9 kB / 0.5229 GB, free: 13.32 MB / 446.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.002351/0.4425, allocations: 1.48 MB / 0.5243 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.4428, allocations: 123.2 kB / 0.5245 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.4451, allocations: 1.454 MB / 0.5259 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001566/0.4466, allocations: 1.045 MB / 0.5269 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4466, allocations: 0 / 0.5269 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.4466, allocations: 7.984 kB / 0.5269 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2414/0.688, allocations: 13.76 MB / 0.5404 GB, free: 95.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.182e-05/0.688, allocations: 23.59 kB / 0.5404 GB, free: 95.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/0.6888, allocations: 233.1 kB / 0.5406 GB, free: 95.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.666e-05/0.6888, allocations: 34.59 kB / 0.5406 GB, free: 95.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.19e-05/0.6889, allocations: 47.39 kB / 0.5407 GB, free: 95.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.442e-05/0.6889, allocations: 43.5 kB / 0.5407 GB, free: 95.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-05/0.6889, allocations: 30.94 kB / 0.5407 GB, free: 95.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.6915, allocations: 2.668 MB / 0.5434 GB, free: 93.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005823/0.6921, allocations: 339.2 kB / 0.5437 GB, free: 93.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.6923, allocations: 47.33 kB / 0.5437 GB, free: 93.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007089/0.693, allocations: 70.06 kB / 0.5438 GB, free: 93.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.6931, allocations: 142.7 kB / 0.5439 GB, free: 93.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.6932, allocations: 60.34 kB / 0.544 GB, free: 93.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001056/0.6942, allocations: 0.906 MB / 0.5449 GB, free: 93.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6942, allocations: 0 / 0.5449 GB, free: 93.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002146/0.6964, allocations: 0.8881 MB / 0.5457 GB, free: 92.91 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.0003168/0.6967, allocations: 201.4 kB / 0.5459 GB, free: 92.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.6989, allocations: 1.838 MB / 0.5477 GB, free: 92.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.6989, allocations: 3.875 kB / 0.5477 GB, free: 92.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007175/0.6996, allocations: 0.6191 MB / 0.5483 GB, free: 91.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.7014, allocations: 342.7 kB / 0.5487 GB, free: 91.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00844/0.7099, allocations: 6.352 MB / 0.5549 GB, free: 88.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/0.7116, allocations: 2.735 MB / 0.5575 GB, free: 86.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004217/0.7121, allocations: 142.8 kB / 0.5577 GB, free: 85.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7121, allocations: 0 / 0.5577 GB, free: 85.98 MB / 446.1 MB Notification: Performance of Templates: time 0.04108/0.7531, allocations: 36.06 MB / 0.5929 GB, free: 50.73 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 9.261054036207497]