Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001856/0.001856, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002217/0.002217, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.1 MB, free: 15.09 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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 52.06 kB / 373.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1083, allocations: 53.33 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.223/0.3314, allocations: 9.773 MB / 436.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005195/0.3365, allocations: 2.761 MB / 439.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.3381, allocations: 90.94 kB / 439.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008321/0.3465, allocations: 4.219 MB / 443.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003008/0.3495, allocations: 0.7811 MB / 444.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.3518, allocations: 0.9566 MB / 445.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005176/0.357, allocations: 4.054 MB / 449.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01483/0.3718, allocations: 8.504 MB / 458 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004498/0.3763, allocations: 2.411 MB / 460.4 MB, free: 9.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005256/0.3816, allocations: 2.658 MB / 463 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00196/0.3835, allocations: 0.6638 MB / 463.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.3867, allocations: 0.8888 MB / 464.6 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002034/0.3887, allocations: 1.243 MB / 465.8 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00386/0.3926, allocations: 2.56 MB / 468.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.4028, allocations: 8.931 MB / 477.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4028, allocations: 0 / 477.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.379e-06/0.4028, allocations: 4 kB / 477.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002309/0.403, allocations: 0 / 477.3 MB, free: 14.12 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01708/0.4201, allocations: 5.41 MB / 482.7 MB, free: 8.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.4202, allocations: 8.031 kB / 482.7 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009093/0.4293, allocations: 1.317 MB / 484 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005972/0.4352, allocations: 2.616 MB / 486.7 MB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/0.4356, allocations: 357.3 kB / 487 MB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/0.4371, allocations: 452 kB / 487.5 MB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01756/0.4546, allocations: 6.098 MB / 493.6 MB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002034/0.4548, allocations: 7.953 kB / 493.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00137/0.4562, allocations: 188 kB / 493.7 MB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002552/0.4565, allocations: 197.5 kB / 493.9 MB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/0.4702, allocations: 5.28 MB / 499.2 MB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04089/0.5111, allocations: 21.01 MB / 0.508 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007692/0.5188, allocations: 5.495 MB / 0.5134 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.5199, allocations: 0.6043 MB / 0.514 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.5202, allocations: 195.2 kB / 0.5142 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.5202, allocations: 43.56 kB / 0.5142 GB, free: 11.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 5.029e-06/0.5202, allocations: 3.984 kB / 0.5142 GB, free: 11.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002681/0.5229, allocations: 1.444 MB / 0.5156 GB, free: 9.734 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.523, allocations: 68.34 kB / 0.5157 GB, free: 9.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.5256, allocations: 1.462 MB / 0.5171 GB, free: 8.184 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.5257, allocations: 41.7 kB / 0.5172 GB, free: 8.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.5274, allocations: 2.041 MB / 0.5192 GB, free: 6.074 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.5278, allocations: 361.1 kB / 0.5195 GB, free: 5.719 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000714/0.5285, allocations: 487.8 kB / 0.52 GB, free: 5.234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.5287, allocations: 353.9 kB / 0.5203 GB, free: 4.883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.53, allocations: 0.8085 MB / 0.5211 GB, free: 4.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.5322, allocations: 1.945 MB / 0.523 GB, free: 1.566 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003695/0.5359, allocations: 2.931 MB / 0.5259 GB, free: 14.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.621e-05/0.5359, allocations: 16 kB / 0.5259 GB, free: 14.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004579/0.5405, allocations: 2.798 MB / 0.5286 GB, free: 11.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.629e-05/0.5405, allocations: 24.56 kB / 0.5286 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.648e-05/0.5406, allocations: 40 kB / 0.5287 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.751e-05/0.5407, allocations: 56 kB / 0.5287 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.5424, allocations: 0.5381 MB / 0.5292 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.5e-05/0.5425, allocations: 75.72 kB / 0.5293 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.544, allocations: 306 kB / 0.5296 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.5442, allocations: 124 kB / 0.5297 GB, free: 10.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.002807/0.547, allocations: 1.668 MB / 0.5314 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.5473, allocations: 135.1 kB / 0.5315 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.5496, allocations: 1.334 MB / 0.5328 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00143/0.551, allocations: 0.9396 MB / 0.5337 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.551, allocations: 0 / 0.5337 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.551, allocations: 3.984 kB / 0.5337 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02041/0.5714, allocations: 13.5 MB / 0.5469 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.237e-05/0.5715, allocations: 20 kB / 0.5469 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009374/0.5724, allocations: 211.6 kB / 0.5471 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.841e-05/0.5725, allocations: 24 kB / 0.5471 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.5726, allocations: 55.92 kB / 0.5472 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.664e-05/0.5726, allocations: 39.8 kB / 0.5472 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.939e-05/0.5727, allocations: 35.81 kB / 0.5473 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/0.5767, allocations: 2.451 MB / 0.5497 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008682/0.5776, allocations: 323.9 kB / 0.55 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/0.5779, allocations: 43.98 kB / 0.55 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009924/0.5789, allocations: 63.89 kB / 0.5501 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.5791, allocations: 135.5 kB / 0.5502 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.5792, allocations: 63.92 kB / 0.5503 GB, free: 3.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002122/0.5814, allocations: 0.9877 MB / 0.5512 GB, free: 2.828 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5814, allocations: 0 / 0.5512 GB, free: 2.828 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003582/0.585, allocations: 0.9569 MB / 0.5522 GB, free: 1.867 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.0004836/0.5854, allocations: 194.7 kB / 0.5523 GB, free: 1.664 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003389/0.5888, allocations: 1.811 MB / 0.5541 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.5888, allocations: 0 / 0.5541 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009602/0.5898, allocations: 0.5546 MB / 0.5546 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/0.5924, allocations: 385.5 kB / 0.555 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.6055, allocations: 6.912 MB / 0.5618 GB, free: 7.715 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003225/0.6087, allocations: 3.075 MB / 0.5648 GB, free: 4.609 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001951/0.6106, allocations: 0.8093 MB / 0.5656 GB, free: 3.793 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.6109, allocations: 119.4 kB / 0.5657 GB, free: 3.676 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6109, allocations: 3.938 kB / 0.5657 GB, free: 3.672 MB / 478.1 MB Notification: Performance of Templates: time 0.03875/0.6497, allocations: 18.67 MB / 0.5839 GB, free: 1.102 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.503511480987072]