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.001851/0.001851, allocations: 110.8 kB / 21.19 MB, free: 0.6602 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.002182/0.002182, allocations: 205.2 kB / 24.49 MB, free: 3.957 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.43/1.43, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001628/0.001628, allocations: 47.92 kB / 379 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2132, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01059/0.2238, allocations: 8.008 MB / 440.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004583/0.2284, allocations: 2.534 MB / 442.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004747/0.2289, allocations: 79.62 kB / 443 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008035/0.2369, allocations: 3.47 MB / 446.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.2388, allocations: 0.7494 MB / 447.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.2407, allocations: 0.9095 MB / 448.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003736/0.2445, allocations: 3.646 MB / 451.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007924/0.2524, allocations: 6.189 MB / 457.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.2547, allocations: 2.143 MB / 460.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.2575, allocations: 2.387 MB / 462.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007119/0.2582, allocations: 0.5859 MB / 463 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.2595, allocations: 0.8162 MB / 463.9 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009786/0.2605, allocations: 1.107 MB / 465 MB, free: 5.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001801/0.2623, allocations: 1.77 MB / 466.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007814/0.2701, allocations: 7.967 MB / 474.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2701, allocations: 0 / 474.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2701, allocations: 4 kB / 474.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.329e-05/0.2702, allocations: 0 / 474.7 MB, free: 12.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.01066/0.2808, allocations: 4.857 MB / 479.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2809, allocations: 8.031 kB / 479.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008203/0.2891, allocations: 1.282 MB / 480.9 MB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004575/0.2936, allocations: 2.317 MB / 483.2 MB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/0.2939, allocations: 316.4 kB / 483.5 MB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006626/0.2946, allocations: 415.9 kB / 483.9 MB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00939/0.304, allocations: 5.506 MB / 489.4 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.995e-05/0.304, allocations: 4 kB / 489.4 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004164/0.3045, allocations: 172 kB / 489.6 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001851/0.3046, allocations: 184.5 kB / 489.7 MB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008007/0.3127, allocations: 4.792 MB / 494.5 MB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02401/0.3367, allocations: 16.31 MB / 0.4989 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004205/0.3409, allocations: 1.745 MB / 0.5006 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.3422, allocations: 0.7184 MB / 0.5013 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.3423, allocations: 40.95 kB / 0.5013 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.3424, allocations: 43.56 kB / 0.5014 GB, free: 4.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.166e-06/0.3424, allocations: 4 kB / 0.5014 GB, free: 4.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002568/0.3449, allocations: 1.569 MB / 0.5029 GB, free: 3.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.345, allocations: 60.41 kB / 0.503 GB, free: 3.133 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.3469, allocations: 1.403 MB / 0.5043 GB, free: 1.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.809e-05/0.3469, allocations: 37.7 kB / 0.5044 GB, free: 1.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.3482, allocations: 1.827 MB / 0.5061 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/0.3486, allocations: 381 kB / 0.5065 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006477/0.3492, allocations: 447.7 kB / 0.5069 GB, free: 15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3494, allocations: 361.6 kB / 0.5073 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.3507, allocations: 0.8279 MB / 0.5081 GB, free: 13.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/0.3528, allocations: 1.827 MB / 0.5099 GB, free: 11.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/0.3563, allocations: 2.798 MB / 0.5126 GB, free: 8.227 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/0.3563, allocations: 8 kB / 0.5126 GB, free: 8.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004226/0.3606, allocations: 2.747 MB / 0.5153 GB, free: 5.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.3606, allocations: 20 kB / 0.5153 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.699e-05/0.3606, allocations: 36 kB / 0.5154 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.506e-05/0.3607, allocations: 44 kB / 0.5154 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.3625, allocations: 0.5225 MB / 0.5159 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.414e-05/0.3625, allocations: 71.72 kB / 0.516 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.3637, allocations: 298.2 kB / 0.5163 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.3639, allocations: 116 kB / 0.5164 GB, free: 4.363 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.001884/0.3658, allocations: 1.484 MB / 0.5178 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.366, allocations: 127.2 kB / 0.5179 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.3684, allocations: 1.465 MB / 0.5194 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.3685, allocations: 7.984 kB / 0.5194 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3685, allocations: 0 / 0.5194 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005304/0.369, allocations: 234.8 kB / 0.5196 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.3691, allocations: 19.98 kB / 0.5196 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/0.3696, allocations: 51.89 kB / 0.5197 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.3697, allocations: 68.88 kB / 0.5197 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002248/0.372, allocations: 1.267 MB / 0.521 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002938/0.3749, allocations: 2.084 MB / 0.523 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007187/0.3756, allocations: 491.7 kB / 0.5235 GB, free: 13.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001224/0.3769, allocations: 0.906 MB / 0.5244 GB, free: 12.12 MB / 446.1 MB Notification: Performance of Backend: time 4.81e-07/0.3769, allocations: 0 / 0.5244 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.3795, allocations: 1.498 MB / 0.5258 GB, free: 10.61 MB / 446.1 MB Notification: Performance of SimCode: time 0.009117/0.3886, allocations: 6.053 MB / 0.5317 GB, free: 4.492 MB / 446.1 MB Notification: Performance of Templates: time 0.1998/0.5885, allocations: 27.21 MB / 0.5583 GB, free: 87.23 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/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: 5.196077723005146]