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.001792/0.001792, allocations: 123.1 kB / 18.46 MB, free: 4.578 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.002271/0.002271, allocations: 215.2 kB / 21.42 MB, free: 1.625 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.522/1.522, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.001626/0.001626, allocations: 47.92 kB / 374.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1069, allocations: 53.33 MB / 427.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01178/0.1187, allocations: 9.184 MB / 436.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006277/0.125, allocations: 2.659 MB / 439.3 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.1265, allocations: 75.62 kB / 439.4 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008943/0.1355, allocations: 3.753 MB / 443.2 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00354/0.139, allocations: 0.7494 MB / 443.9 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.1417, allocations: 0.934 MB / 444.8 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.209/0.3508, allocations: 3.628 MB / 448.5 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00894/0.3597, allocations: 7.369 MB / 455.8 MB, free: 7.668 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.3624, allocations: 2.133 MB / 458 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003554/0.366, allocations: 2.386 MB / 460.4 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001254/0.3672, allocations: 0.585 MB / 460.9 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.3692, allocations: 0.8173 MB / 461.8 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008533/0.3701, allocations: 1.11 MB / 462.9 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002574/0.3727, allocations: 2.274 MB / 465.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008455/0.3811, allocations: 7.933 MB / 473.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3811, allocations: 3.938 kB / 473.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3811, allocations: 0 / 473.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002095/0.3813, allocations: 1 kB / 473.1 MB, free: 0.6602 MB / 366.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.01481/0.3961, allocations: 4.936 MB / 478 MB, free: 13.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3962, allocations: 9.219 kB / 478 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008325/0.4045, allocations: 1.279 MB / 479.3 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004969/0.4095, allocations: 2.328 MB / 481.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/0.4097, allocations: 315.4 kB / 481.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009164/0.4106, allocations: 417 kB / 482.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.4219, allocations: 5.483 MB / 487.8 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.509e-05/0.422, allocations: 7.172 kB / 487.8 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004439/0.4224, allocations: 166.2 kB / 488 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.4226, allocations: 175.3 kB / 488.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009844/0.4324, allocations: 4.808 MB / 493 MB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03266/0.4651, allocations: 19.34 MB / 0.5003 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005154/0.4702, allocations: 3.804 MB / 0.504 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.4716, allocations: 0.718 MB / 0.5047 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.4718, allocations: 204.7 kB / 0.5049 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.4719, allocations: 43.56 kB / 0.505 GB, free: 11.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.106e-06/0.4719, allocations: 0 / 0.505 GB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002623/0.4745, allocations: 1.556 MB / 0.5065 GB, free: 9.949 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.4745, allocations: 68.41 kB / 0.5066 GB, free: 9.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/0.4766, allocations: 1.346 MB / 0.5079 GB, free: 8.508 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/0.4766, allocations: 41.7 kB / 0.5079 GB, free: 8.461 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.4779, allocations: 1.821 MB / 0.5097 GB, free: 6.633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.4782, allocations: 375.1 kB / 0.51 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006553/0.4789, allocations: 463.6 kB / 0.5105 GB, free: 5.809 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.479, allocations: 341.9 kB / 0.5108 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.4803, allocations: 0.8356 MB / 0.5116 GB, free: 4.629 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002123/0.4824, allocations: 1.827 MB / 0.5134 GB, free: 2.336 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00348/0.4859, allocations: 2.804 MB / 0.5161 GB, free: 15.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-05/0.4859, allocations: 12 kB / 0.5162 GB, free: 15.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004303/0.4902, allocations: 2.743 MB / 0.5188 GB, free: 12.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.4903, allocations: 20.97 kB / 0.5189 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.132e-05/0.4903, allocations: 32 kB / 0.5189 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.543e-05/0.4904, allocations: 48 kB / 0.5189 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.4921, allocations: 0.5239 MB / 0.5194 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.43e-05/0.4921, allocations: 68.53 kB / 0.5195 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.4935, allocations: 290 kB / 0.5198 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.4937, allocations: 120 kB / 0.5199 GB, free: 11.6 MB / 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.002488/0.4962, allocations: 1.494 MB / 0.5214 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.4964, allocations: 127.2 kB / 0.5215 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.4989, allocations: 1.457 MB / 0.5229 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001532/0.5004, allocations: 1.037 MB / 0.5239 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.5004, allocations: 0 / 0.5239 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.5004, allocations: 7.969 kB / 0.5239 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/0.5191, allocations: 13.75 MB / 0.5374 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.691e-05/0.5192, allocations: 21 kB / 0.5374 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000823/0.52, allocations: 238.5 kB / 0.5376 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.687e-05/0.52, allocations: 31.94 kB / 0.5376 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.961e-05/0.5201, allocations: 55.98 kB / 0.5377 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.358e-05/0.5201, allocations: 43.48 kB / 0.5377 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.33e-05/0.5202, allocations: 34.5 kB / 0.5378 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003509/0.5237, allocations: 2.668 MB / 0.5404 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006672/0.5243, allocations: 344 kB / 0.5407 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.5245, allocations: 51.97 kB / 0.5407 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007641/0.5253, allocations: 63.95 kB / 0.5408 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.5255, allocations: 139.2 kB / 0.5409 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-05/0.5256, allocations: 67.92 kB / 0.541 GB, free: 4.895 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001471/0.527, allocations: 0.9023 MB / 0.5419 GB, free: 3.984 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.527, allocations: 0 / 0.5419 GB, free: 3.984 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002978/0.53, allocations: 0.8867 MB / 0.5428 GB, free: 3.098 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.0004278/0.5304, allocations: 199.6 kB / 0.5429 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003206/0.5336, allocations: 1.841 MB / 0.5447 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.5336, allocations: 0 / 0.5447 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009694/0.5346, allocations: 0.6228 MB / 0.5453 GB, free: 0.668 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.5368, allocations: 338 kB / 0.5457 GB, free: 364 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.5488, allocations: 6.357 MB / 0.5519 GB, free: 9.723 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002724/0.5515, allocations: 2.735 MB / 0.5546 GB, free: 6.953 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/0.552, allocations: 139.4 kB / 0.5547 GB, free: 6.816 MB / 462.1 MB Notification: Performance of SimCode: time 1.462e-06/0.552, allocations: 0 / 0.5547 GB, free: 6.816 MB / 462.1 MB Notification: Performance of Templates: time 0.05931/0.6113, allocations: 36.08 MB / 0.5899 GB, free: 2.84 MB / 494.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/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_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: 10.321216120006284]