Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.001876/0.001876, allocations: 87.92 kB / 21.44 MB, free: 272 kB / 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.002177/0.002177, allocations: 160.9 kB / 24.7 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.731e-05, allocations: 2.281 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01064/0.01066, allocations: 8.463 MB / 307.4 MB, free: 208 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007402/0.01806, allocations: 2.652 MB / 310.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.01967, allocations: 67.69 kB / 310.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00911/0.02878, allocations: 3.714 MB / 313.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.03246, allocations: 0.9513 MB / 314.8 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.03482, allocations: 0.9111 MB / 315.7 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005319/0.04014, allocations: 4.072 MB / 319.8 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1755/0.2156, allocations: 6.226 MB / 326 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006347/0.222, allocations: 3.339 MB / 329.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004607/0.2266, allocations: 2.212 MB / 331.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002108/0.2287, allocations: 0.604 MB / 332.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.2315, allocations: 0.8121 MB / 333 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.2329, allocations: 1.227 MB / 334.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003312/0.2362, allocations: 1.615 MB / 335.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007558/0.2438, allocations: 8.232 MB / 344.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.2438, allocations: 3.984 kB / 344.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2438, allocations: 0.5312 kB / 344.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002127/0.244, allocations: 3.938 kB / 344.1 MB, free: 10.95 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01396/0.258, allocations: 5.125 MB / 349.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.258, allocations: 12.95 kB / 349.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/0.2731, allocations: 2.596 MB / 351.8 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005178/0.2783, allocations: 2.149 MB / 353.9 MB, free: 5.184 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/0.2786, allocations: 340.5 kB / 354.3 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002096/0.2807, allocations: 443.6 kB / 354.7 MB, free: 4.777 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.2919, allocations: 6.136 MB / 360.8 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-05/0.292, allocations: 0 / 360.8 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004916/0.2925, allocations: 190.5 kB / 361 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/0.2927, allocations: 217.3 kB / 361.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.3035, allocations: 5.759 MB / 367 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0357/0.3392, allocations: 17.87 MB / 384.9 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00667/0.3459, allocations: 2.701 MB / 387.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.3476, allocations: 0.8913 MB / 388.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005488/0.3531, allocations: 2.365 MB / 390.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3531, allocations: 38.8 kB / 390.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.815e-06/0.3531, allocations: 0 / 390.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001239/0.3543, allocations: 0.6403 MB / 391.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.3544, allocations: 55.41 kB / 391.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/0.3574, allocations: 2.091 MB / 393.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.3574, allocations: 29.7 kB / 393.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00166/0.3591, allocations: 2.26 MB / 395.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3592, allocations: 151.1 kB / 396.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009355/0.3602, allocations: 0.5435 MB / 396.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3604, allocations: 353.9 kB / 397 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.3617, allocations: 0.8676 MB / 397.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002692/0.3644, allocations: 2.251 MB / 400.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/0.369, allocations: 3.063 MB / 403.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.512e-05/0.369, allocations: 12 kB / 403.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.007659/0.3767, allocations: 3.131 MB / 406.3 MB, free: 276 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/0.3768, allocations: 28 kB / 406.3 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.89e-05/0.3769, allocations: 48 kB / 406.4 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001073/0.377, allocations: 64 kB / 406.4 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/0.3795, allocations: 0.5902 MB / 407 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.575e-05/0.3795, allocations: 97.23 kB / 407.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/0.3817, allocations: 417.6 kB / 407.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.3819, allocations: 148 kB / 407.7 MB, free: 14.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * 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.002674/0.3846, allocations: 1.569 MB / 409.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.3849, allocations: 135.1 kB / 409.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.3861, allocations: 0.6122 MB / 410 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004876/0.3865, allocations: 326.3 kB / 410.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3865, allocations: 0 / 410.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.3866, allocations: 3.984 kB / 410.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005867/0.3924, allocations: 2.736 MB / 413 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.3924, allocations: 4 kB / 413.1 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.3927, allocations: 62.25 kB / 413.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.3927, allocations: 4 kB / 413.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.3928, allocations: 11.94 kB / 413.1 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/0.3928, allocations: 7.984 kB / 413.1 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.3928, allocations: 11.84 kB / 413.1 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.3942, allocations: 0.8894 MB / 414 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005382/0.3948, allocations: 187 kB / 414.2 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.395, allocations: 19.94 kB / 414.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.3956, allocations: 43.95 kB / 414.3 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.3956, allocations: 34.52 kB / 414.3 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.3957, allocations: 16 kB / 414.3 MB, free: 8.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00215/0.3978, allocations: 1.323 MB / 415.7 MB, free: 6.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3978, allocations: 4.062 kB / 415.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00334/0.4012, allocations: 0.9415 MB / 416.6 MB, free: 5.918 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (26): * Single equations (assignments): 25 * 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.0004477/0.4016, allocations: 145 kB / 416.7 MB, free: 5.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003119/0.4047, allocations: 1.581 MB / 418.3 MB, free: 4.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.4047, allocations: 0 / 418.3 MB, free: 4.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.405, allocations: 178.9 kB / 418.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.4069, allocations: 289.8 kB / 418.8 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.4198, allocations: 5.965 MB / 424.7 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002938/0.4227, allocations: 2.339 MB / 427.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002078/0.4248, allocations: 0.7709 MB / 427.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.4251, allocations: 104.5 kB / 428 MB, free: 10.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.735e-06/0.4251, allocations: 4 kB / 428 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Templates: time 0.03591/0.461, allocations: 16.27 MB / 444.2 MB, free: 10.38 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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: 4.969922598451376]