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.001544/0.001544, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001764/0.001764, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 8.238 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.001553/0.001553, allocations: 47.91 kB / 379 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2654, allocations: 53.37 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01236/0.2778, allocations: 9.804 MB / 442.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006346/0.2841, allocations: 2.771 MB / 445 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002116/0.2863, allocations: 91.56 kB / 445.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009984/0.2962, allocations: 4.237 MB / 449.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.3, allocations: 0.7869 MB / 450.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.303, allocations: 0.9707 MB / 451.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006185/0.3092, allocations: 4.093 MB / 455.2 MB, free: 116 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01285/0.3221, allocations: 7.13 MB / 462.3 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/0.3263, allocations: 2.416 MB / 464.7 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00488/0.3312, allocations: 2.655 MB / 467.4 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002159/0.3334, allocations: 0.6641 MB / 468 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/0.3366, allocations: 0.8982 MB / 468.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002103/0.3387, allocations: 1.247 MB / 470.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005387/0.3441, allocations: 2.553 MB / 472.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.3572, allocations: 8.929 MB / 481.7 MB, free: 5.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.3572, allocations: 4 kB / 481.7 MB, free: 5.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3572, allocations: 0 / 481.7 MB, free: 5.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002572/0.3574, allocations: 0 / 481.7 MB, free: 5.441 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.01422/0.3717, allocations: 5.331 MB / 487 MB, free: 56 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.3717, allocations: 12.03 kB / 487 MB, free: 44 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007876/0.3796, allocations: 1.316 MB / 488.3 MB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006142/0.3857, allocations: 2.6 MB / 490.9 MB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004383/0.3862, allocations: 349.4 kB / 491.3 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.3879, allocations: 455.9 kB / 491.7 MB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/0.4, allocations: 6.098 MB / 497.8 MB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.196e-05/0.4001, allocations: 7.984 kB / 497.8 MB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004315/0.4006, allocations: 191.9 kB / 498 MB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002039/0.4008, allocations: 193.5 kB / 498.2 MB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/0.4111, allocations: 5.288 MB / 0.4917 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03158/0.4427, allocations: 20.21 MB / 0.5114 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004818/0.4475, allocations: 2.112 MB / 0.5135 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009491/0.4485, allocations: 0.5961 MB / 0.5141 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.4486, allocations: 52.92 kB / 0.5141 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.4487, allocations: 47.5 kB / 0.5141 GB, free: 7.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.765e-06/0.4487, allocations: 0 / 0.5141 GB, free: 7.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002254/0.4509, allocations: 1.437 MB / 0.5156 GB, free: 6.441 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.451, allocations: 64.34 kB / 0.5156 GB, free: 6.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.453, allocations: 1.466 MB / 0.517 GB, free: 4.887 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.4531, allocations: 41.7 kB / 0.5171 GB, free: 4.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.4546, allocations: 2.037 MB / 0.5191 GB, free: 2.781 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.4549, allocations: 365.1 kB / 0.5194 GB, free: 2.422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006197/0.4555, allocations: 483.8 kB / 0.5199 GB, free: 1.941 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4557, allocations: 353.9 kB / 0.5202 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.4568, allocations: 0.8085 MB / 0.521 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.459, allocations: 1.937 MB / 0.5229 GB, free: 14.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003522/0.4625, allocations: 2.939 MB / 0.5258 GB, free: 10.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-05/0.4625, allocations: 8 kB / 0.5258 GB, free: 10.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004267/0.4668, allocations: 2.805 MB / 0.5285 GB, free: 7.969 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.4668, allocations: 27.92 kB / 0.5285 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-05/0.4669, allocations: 40 kB / 0.5286 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.073e-05/0.4669, allocations: 52 kB / 0.5286 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.4685, allocations: 0.5381 MB / 0.5292 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.99e-05/0.4686, allocations: 79.72 kB / 0.5292 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.4699, allocations: 298.4 kB / 0.5295 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.4701, allocations: 124 kB / 0.5296 GB, free: 6.82 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.002505/0.4726, allocations: 1.668 MB / 0.5313 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.4729, allocations: 139 kB / 0.5314 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.4749, allocations: 1.342 MB / 0.5327 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001299/0.4762, allocations: 0.9357 MB / 0.5336 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4762, allocations: 0 / 0.5336 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.4762, allocations: 7.969 kB / 0.5336 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2382/0.7145, allocations: 11.1 MB / 0.5445 GB, free: 92.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.7145, allocations: 23.19 kB / 0.5445 GB, free: 92.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006443/0.7151, allocations: 217.8 kB / 0.5447 GB, free: 92.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.895e-05/0.7151, allocations: 27.72 kB / 0.5447 GB, free: 92.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.7152, allocations: 47.36 kB / 0.5448 GB, free: 92.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.746e-05/0.7152, allocations: 36.67 kB / 0.5448 GB, free: 92.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/0.7152, allocations: 27.69 kB / 0.5448 GB, free: 92.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.7174, allocations: 2.469 MB / 0.5472 GB, free: 91.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005482/0.7179, allocations: 259.1 kB / 0.5475 GB, free: 91.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.7181, allocations: 43.3 kB / 0.5475 GB, free: 91.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.7187, allocations: 62.62 kB / 0.5476 GB, free: 91.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.7189, allocations: 143.7 kB / 0.5477 GB, free: 91.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.655e-05/0.7189, allocations: 51.12 kB / 0.5478 GB, free: 91.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001222/0.7201, allocations: 0.9909 MB / 0.5487 GB, free: 90.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7201, allocations: 0 / 0.5487 GB, free: 90.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002411/0.7226, allocations: 0.9492 MB / 0.5497 GB, free: 90.66 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.0003017/0.7229, allocations: 197.4 kB / 0.5499 GB, free: 90.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.7251, allocations: 1.802 MB / 0.5516 GB, free: 89.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/0.7251, allocations: 5.812 kB / 0.5516 GB, free: 89.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005914/0.7257, allocations: 0.567 MB / 0.5522 GB, free: 89.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.7276, allocations: 380.6 kB / 0.5525 GB, free: 89.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009316/0.7369, allocations: 6.794 MB / 0.5592 GB, free: 84.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/0.7389, allocations: 2.996 MB / 0.5621 GB, free: 81.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/0.7392, allocations: 143.4 kB / 0.5622 GB, free: 81.83 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7392, allocations: 0 / 0.5622 GB, free: 81.83 MB / 446.1 MB Notification: Performance of Templates: time 0.04132/0.7806, allocations: 39.15 MB / 0.6005 GB, free: 42.73 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/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: 9.805692616151646]