Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 8.074 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 68.77 kB / 379.1 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2537, allocations: 53.37 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01156/0.2652, allocations: 9.801 MB / 442.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005734/0.2709, allocations: 2.783 MB / 445 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.2722, allocations: 91.56 kB / 445.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009544/0.2818, allocations: 4.226 MB / 449.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003582/0.2854, allocations: 0.7804 MB / 450.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.288, allocations: 0.9805 MB / 451.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005495/0.2935, allocations: 4.085 MB / 455.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.3037, allocations: 6.787 MB / 462 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003686/0.3074, allocations: 2.412 MB / 464.4 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004536/0.3119, allocations: 2.659 MB / 467 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001431/0.3133, allocations: 0.6641 MB / 467.7 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.3159, allocations: 0.9021 MB / 468.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.3172, allocations: 1.239 MB / 469.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003848/0.3211, allocations: 2.556 MB / 472.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.3312, allocations: 8.934 MB / 481.3 MB, free: 5.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3312, allocations: 7.938 kB / 481.3 MB, free: 5.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3312, allocations: 0 / 481.3 MB, free: 5.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001713/0.3313, allocations: 0 / 481.3 MB, free: 5.797 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.01357/0.3449, allocations: 5.327 MB / 486.7 MB, free: 424 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.345, allocations: 8.031 kB / 486.7 MB, free: 416 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009847/0.3548, allocations: 1.317 MB / 488 MB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005309/0.3601, allocations: 2.602 MB / 490.6 MB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002893/0.3604, allocations: 353.3 kB / 490.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.3615, allocations: 456 kB / 491.4 MB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/0.3741, allocations: 6.105 MB / 497.5 MB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.893e-05/0.3742, allocations: 3.953 kB / 497.5 MB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004199/0.3746, allocations: 188 kB / 497.7 MB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001862/0.3748, allocations: 197.5 kB / 497.9 MB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009586/0.3844, allocations: 5.28 MB / 0.4913 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/0.4138, allocations: 20.22 MB / 0.5111 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004955/0.4188, allocations: 2.11 MB / 0.5132 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009824/0.4197, allocations: 0.5962 MB / 0.5137 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.4199, allocations: 48.88 kB / 0.5138 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.4199, allocations: 43.56 kB / 0.5138 GB, free: 8.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.394e-06/0.4199, allocations: 0 / 0.5138 GB, free: 8.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002384/0.4223, allocations: 1.437 MB / 0.5152 GB, free: 6.797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.4224, allocations: 68.39 kB / 0.5153 GB, free: 6.715 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.4245, allocations: 1.458 MB / 0.5167 GB, free: 5.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/0.4246, allocations: 41.7 kB / 0.5168 GB, free: 5.199 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.426, allocations: 2.045 MB / 0.5188 GB, free: 3.133 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004743/0.4265, allocations: 361.1 kB / 0.5191 GB, free: 2.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007125/0.4272, allocations: 471.9 kB / 0.5195 GB, free: 2.309 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.4274, allocations: 361.9 kB / 0.5199 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.4287, allocations: 0.8085 MB / 0.5207 GB, free: 1.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/0.4308, allocations: 1.948 MB / 0.5226 GB, free: 14.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0035/0.4343, allocations: 2.931 MB / 0.5254 GB, free: 11.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/0.4343, allocations: 12 kB / 0.5255 GB, free: 11.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004589/0.4389, allocations: 2.798 MB / 0.5282 GB, free: 8.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/0.4389, allocations: 24 kB / 0.5282 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.677e-05/0.439, allocations: 40.09 kB / 0.5283 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.583e-05/0.4391, allocations: 56 kB / 0.5283 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.4407, allocations: 0.5381 MB / 0.5288 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.239e-05/0.4407, allocations: 83.66 kB / 0.5289 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.4421, allocations: 293.9 kB / 0.5292 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.4423, allocations: 128 kB / 0.5293 GB, free: 7.18 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.002822/0.4451, allocations: 1.671 MB / 0.5309 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.4454, allocations: 135.1 kB / 0.5311 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/0.4475, allocations: 1.345 MB / 0.5324 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001335/0.4489, allocations: 0.9319 MB / 0.5333 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.4489, allocations: 0 / 0.5333 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.4489, allocations: 7.969 kB / 0.5333 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2198/0.6687, allocations: 11.11 MB / 0.5442 GB, free: 92.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.6687, allocations: 19.78 kB / 0.5442 GB, free: 92.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/0.6694, allocations: 219.3 kB / 0.5444 GB, free: 92.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.895e-05/0.6694, allocations: 23.75 kB / 0.5444 GB, free: 92.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/0.6695, allocations: 47.31 kB / 0.5444 GB, free: 92.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.941e-05/0.6695, allocations: 39.77 kB / 0.5445 GB, free: 92.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/0.6695, allocations: 31.62 kB / 0.5445 GB, free: 92.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.6716, allocations: 2.462 MB / 0.5469 GB, free: 91.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/0.6721, allocations: 255.5 kB / 0.5472 GB, free: 91.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.6723, allocations: 55.17 kB / 0.5472 GB, free: 91.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006488/0.6729, allocations: 59.06 kB / 0.5473 GB, free: 91.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.6731, allocations: 142.8 kB / 0.5474 GB, free: 91.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.6731, allocations: 58.22 kB / 0.5475 GB, free: 91.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0011/0.6742, allocations: 0.9866 MB / 0.5484 GB, free: 90.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6742, allocations: 0.5 kB / 0.5484 GB, free: 90.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002407/0.6766, allocations: 0.9568 MB / 0.5494 GB, free: 90.63 MB / 446.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.0003205/0.6769, allocations: 200.3 kB / 0.5496 GB, free: 90.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.6791, allocations: 1.802 MB / 0.5513 GB, free: 89.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.6791, allocations: 3.625 kB / 0.5513 GB, free: 89.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.6797, allocations: 0.5585 MB / 0.5519 GB, free: 89.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.6816, allocations: 380.1 kB / 0.5522 GB, free: 89.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009376/0.691, allocations: 6.912 MB / 0.559 GB, free: 84.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/0.6931, allocations: 3.072 MB / 0.562 GB, free: 81.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001496/0.6946, allocations: 0.8111 MB / 0.5628 GB, free: 81.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.6948, allocations: 123.4 kB / 0.5629 GB, free: 81.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6948, allocations: 3.938 kB / 0.5629 GB, free: 81.04 MB / 446.1 MB Notification: Performance of Templates: time 0.03207/0.7269, allocations: 20.24 MB / 0.5827 GB, free: 60.95 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.272820378653705]