Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.001744/0.001744, allocations: 123.8 kB / 20.44 MB, free: 1.297 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.002044/0.002044, allocations: 211 kB / 23.74 MB, free: 4.531 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 47.92 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2376, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01103/0.2486, allocations: 9.208 MB / 440.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004724/0.2533, allocations: 2.673 MB / 443.5 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005054/0.2538, allocations: 75.69 kB / 443.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008082/0.2619, allocations: 3.775 MB / 447.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.2642, allocations: 0.761 MB / 448.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.2662, allocations: 0.9524 MB / 449.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004536/0.2707, allocations: 3.647 MB / 452.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007938/0.2787, allocations: 6.191 MB / 458.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002478/0.2811, allocations: 2.135 MB / 461 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002939/0.2841, allocations: 2.383 MB / 463.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006857/0.2848, allocations: 0.5859 MB / 464 MB, free: 6.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.2861, allocations: 0.8162 MB / 464.8 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000969/0.2871, allocations: 1.114 MB / 465.9 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.2893, allocations: 2.284 MB / 468.2 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007661/0.2969, allocations: 7.924 MB / 476.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.2969, allocations: 4 kB / 476.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2969, allocations: 0 / 476.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.547e-05/0.297, allocations: 0 / 476.2 MB, free: 10.18 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.01027/0.3073, allocations: 4.861 MB / 481 MB, free: 5.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3073, allocations: 8.031 kB / 481 MB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007982/0.3153, allocations: 1.29 MB / 482.3 MB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/0.3197, allocations: 2.305 MB / 484.6 MB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.3199, allocations: 312.4 kB / 484.9 MB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006062/0.3205, allocations: 419.9 kB / 485.3 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008995/0.3295, allocations: 5.477 MB / 490.8 MB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.479e-05/0.3296, allocations: 4 kB / 490.8 MB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003928/0.33, allocations: 176 kB / 491 MB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.3302, allocations: 176.6 kB / 491.2 MB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008188/0.3384, allocations: 4.808 MB / 496 MB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03156/0.3699, allocations: 18.54 MB / 0.5025 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004335/0.3743, allocations: 1.78 MB / 0.5042 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.3757, allocations: 0.7067 MB / 0.5049 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.3758, allocations: 52.92 kB / 0.5049 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.3759, allocations: 47.5 kB / 0.505 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.687e-06/0.3759, allocations: 0 / 0.505 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.00293/0.3788, allocations: 1.565 MB / 0.5065 GB, free: 14.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.3789, allocations: 60.41 kB / 0.5066 GB, free: 14.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.3814, allocations: 1.346 MB / 0.5079 GB, free: 13.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/0.3815, allocations: 41.7 kB / 0.5079 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.383, allocations: 1.815 MB / 0.5097 GB, free: 11.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004063/0.3834, allocations: 384.9 kB / 0.5101 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007333/0.3841, allocations: 459.6 kB / 0.5105 GB, free: 10.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.3843, allocations: 353.9 kB / 0.5108 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.3858, allocations: 0.8317 MB / 0.5116 GB, free: 9.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/0.3881, allocations: 1.819 MB / 0.5134 GB, free: 7.301 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003994/0.3921, allocations: 2.802 MB / 0.5162 GB, free: 4.027 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-05/0.3921, allocations: 12 kB / 0.5162 GB, free: 4.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005206/0.3973, allocations: 2.743 MB / 0.5188 GB, free: 1.262 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/0.3974, allocations: 20 kB / 0.5189 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.559e-05/0.3974, allocations: 32 kB / 0.5189 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.336e-05/0.3975, allocations: 51.94 kB / 0.5189 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.3993, allocations: 0.5264 MB / 0.5195 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.02e-05/0.3994, allocations: 67.78 kB / 0.5195 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.4009, allocations: 290.2 kB / 0.5198 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.4011, allocations: 116 kB / 0.5199 GB, free: 172 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.002527/0.4036, allocations: 1.492 MB / 0.5214 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.4039, allocations: 127.2 kB / 0.5215 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.4066, allocations: 1.454 MB / 0.5229 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001622/0.4082, allocations: 1.041 MB / 0.5239 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4082, allocations: 3.938 kB / 0.5239 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.4082, allocations: 7.922 kB / 0.5239 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/0.4277, allocations: 11.07 MB / 0.5348 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-05/0.4277, allocations: 20 kB / 0.5348 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009359/0.4287, allocations: 235.5 kB / 0.535 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-05/0.4287, allocations: 27.94 kB / 0.535 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/0.4288, allocations: 51.98 kB / 0.5351 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.593e-05/0.4289, allocations: 39.86 kB / 0.5351 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.722e-05/0.4289, allocations: 35.81 kB / 0.5351 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2003/0.6292, allocations: 2.667 MB / 0.5377 GB, free: 94.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006321/0.6298, allocations: 268.2 kB / 0.538 GB, free: 94.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.63, allocations: 49.94 kB / 0.5381 GB, free: 94.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007758/0.6308, allocations: 70.7 kB / 0.5381 GB, free: 94.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.631, allocations: 147.8 kB / 0.5383 GB, free: 94.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/0.631, allocations: 57.62 kB / 0.5383 GB, free: 94.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00118/0.6322, allocations: 0.907 MB / 0.5392 GB, free: 94.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6322, allocations: 0 / 0.5392 GB, free: 94.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00221/0.6344, allocations: 0.8895 MB / 0.5401 GB, free: 94.31 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.0002853/0.6347, allocations: 198.6 kB / 0.5403 GB, free: 94.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002468/0.6372, allocations: 1.845 MB / 0.5421 GB, free: 93.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.6372, allocations: 2.594 kB / 0.5421 GB, free: 93.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008349/0.638, allocations: 0.6194 MB / 0.5427 GB, free: 93.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.64, allocations: 338.3 kB / 0.543 GB, free: 93.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008475/0.6484, allocations: 6.444 MB / 0.5493 GB, free: 89.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/0.6503, allocations: 2.814 MB / 0.552 GB, free: 88.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001414/0.6517, allocations: 0.7653 MB / 0.5528 GB, free: 88.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.652, allocations: 112.5 kB / 0.5529 GB, free: 88.36 MB / 446.1 MB Notification: Performance of SimCode: time 1.213e-06/0.652, allocations: 0 / 0.5529 GB, free: 88.36 MB / 446.1 MB Notification: Performance of Templates: time 0.02886/0.6808, allocations: 19.07 MB / 0.5715 GB, free: 72.38 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.21809490211308]