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.001794/0.001794, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.002161/0.002161, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.469/1.469, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.00159/0.00159, allocations: 47.94 kB / 374.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1029, allocations: 53.32 MB / 427.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01215/0.1151, allocations: 9.783 MB / 437.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005605/0.1207, allocations: 2.764 MB / 440 MB, free: 7.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.1221, allocations: 91.56 kB / 440.1 MB, free: 7.609 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009388/0.1315, allocations: 4.226 MB / 444.4 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002862/0.1344, allocations: 0.7687 MB / 445.1 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.1368, allocations: 0.9656 MB / 446.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2051/0.342, allocations: 4.055 MB / 450.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.353, allocations: 8.492 MB / 458.6 MB, free: 6.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003827/0.3569, allocations: 2.407 MB / 461 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004537/0.3614, allocations: 2.655 MB / 463.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001706/0.3631, allocations: 0.6636 MB / 464.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.366, allocations: 0.9019 MB / 465.3 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001636/0.3676, allocations: 1.24 MB / 466.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004572/0.3722, allocations: 2.556 MB / 469.1 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.3833, allocations: 8.939 MB / 478 MB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3833, allocations: 0.9375 kB / 478 MB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3833, allocations: 0 / 478 MB, free: 14.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002743/0.3836, allocations: 0 / 478 MB, free: 14.21 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.01774/0.4013, allocations: 5.401 MB / 483.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4014, allocations: 8.469 kB / 483.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009166/0.4106, allocations: 1.318 MB / 484.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005763/0.4163, allocations: 2.618 MB / 487.3 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/0.4166, allocations: 349.3 kB / 487.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001489/0.4181, allocations: 458.5 kB / 488.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/0.4339, allocations: 6.102 MB / 494.2 MB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/0.434, allocations: 7.953 kB / 494.2 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001241/0.4353, allocations: 186.6 kB / 494.4 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002358/0.4355, allocations: 193.5 kB / 494.6 MB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/0.4481, allocations: 5.287 MB / 499.9 MB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03977/0.4878, allocations: 21.01 MB / 0.5087 GB, free: 8.453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00765/0.4955, allocations: 5.499 MB / 0.5141 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.4966, allocations: 0.5965 MB / 0.5147 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.4968, allocations: 203.7 kB / 0.5149 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.4969, allocations: 43.56 kB / 0.5149 GB, free: 1.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 2.965e-06/0.4969, allocations: 0 / 0.5149 GB, free: 1.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002646/0.4995, allocations: 1.435 MB / 0.5163 GB, free: 15.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.4996, allocations: 60.41 kB / 0.5164 GB, free: 15.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/0.5024, allocations: 1.458 MB / 0.5178 GB, free: 14.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.801e-05/0.5025, allocations: 41.7 kB / 0.5178 GB, free: 14.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.5042, allocations: 2.049 MB / 0.5198 GB, free: 12.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/0.5046, allocations: 364.9 kB / 0.5202 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008275/0.5054, allocations: 475.9 kB / 0.5206 GB, free: 11.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.5056, allocations: 357.9 kB / 0.521 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.507, allocations: 0.8124 MB / 0.5218 GB, free: 10.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.5094, allocations: 1.943 MB / 0.5236 GB, free: 7.777 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003774/0.5131, allocations: 2.931 MB / 0.5265 GB, free: 4.461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.971e-05/0.5132, allocations: 15.94 kB / 0.5265 GB, free: 4.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004767/0.518, allocations: 2.803 MB / 0.5293 GB, free: 1.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.518, allocations: 24 kB / 0.5293 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.51e-05/0.5181, allocations: 36 kB / 0.5293 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.368e-05/0.5182, allocations: 56 kB / 0.5294 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/0.5199, allocations: 0.5341 MB / 0.5299 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.49e-05/0.52, allocations: 81.91 kB / 0.53 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.5215, allocations: 301.9 kB / 0.5303 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.5218, allocations: 128 kB / 0.5304 GB, free: 0.7773 MB / 430.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.00273/0.5245, allocations: 1.66 MB / 0.532 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.5248, allocations: 139.1 kB / 0.5321 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.5271, allocations: 1.343 MB / 0.5334 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001413/0.5286, allocations: 0.9319 MB / 0.5344 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5286, allocations: 0 / 0.5344 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.5286, allocations: 7.969 kB / 0.5344 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01957/0.5481, allocations: 13.51 MB / 0.5476 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.456e-05/0.5482, allocations: 20 kB / 0.5476 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008778/0.5491, allocations: 214.4 kB / 0.5478 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.019e-05/0.5491, allocations: 24 kB / 0.5478 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.5492, allocations: 47.98 kB / 0.5479 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.164e-05/0.5493, allocations: 36.11 kB / 0.5479 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-05/0.5493, allocations: 39.44 kB / 0.5479 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/0.5526, allocations: 2.446 MB / 0.5503 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007176/0.5534, allocations: 327.9 kB / 0.5506 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003187/0.5537, allocations: 46.47 kB / 0.5507 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009234/0.5546, allocations: 75.94 kB / 0.5507 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.5548, allocations: 133.7 kB / 0.5509 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.872e-05/0.5549, allocations: 48 kB / 0.5509 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00192/0.5568, allocations: 0.9955 MB / 0.5519 GB, free: 9.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5568, allocations: 0 / 0.5519 GB, free: 9.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003469/0.5603, allocations: 0.9492 MB / 0.5528 GB, free: 8.816 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.0004661/0.5607, allocations: 201.7 kB / 0.553 GB, free: 8.625 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003258/0.564, allocations: 1.796 MB / 0.5548 GB, free: 6.984 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/0.564, allocations: 7.938 kB / 0.5548 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009483/0.565, allocations: 0.5611 MB / 0.5553 GB, free: 6.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.5676, allocations: 391.7 kB / 0.5557 GB, free: 6.113 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.5811, allocations: 6.792 MB / 0.5623 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003166/0.5842, allocations: 2.984 MB / 0.5652 GB, free: 12.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.5847, allocations: 147.4 kB / 0.5654 GB, free: 11.91 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5847, allocations: 0 / 0.5654 GB, free: 11.91 MB / 478.1 MB Notification: Performance of Templates: time 0.0609/0.6456, allocations: 39.14 MB / 0.6036 GB, free: 4.867 MB / 0.4981 GB " [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: 10.21371411299333]