Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001695/0.001695, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002041/0.002041, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.88 kB / 373.8 MB, free: 9.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1037, allocations: 53.33 MB / 427.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.2085/0.3122, allocations: 9.775 MB / 436.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004666/0.3168, allocations: 2.77 MB / 439.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.3179, allocations: 75.53 kB / 439.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007712/0.3257, allocations: 4.217 MB / 444 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002842/0.3285, allocations: 0.7654 MB / 444.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.3306, allocations: 0.9758 MB / 445.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004234/0.3348, allocations: 4.049 MB / 449.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.3462, allocations: 8.509 MB / 458.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.3497, allocations: 2.365 MB / 460.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004531/0.3543, allocations: 2.664 MB / 463.3 MB, free: 9.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001376/0.3556, allocations: 0.6634 MB / 464 MB, free: 9.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.3579, allocations: 0.8891 MB / 464.9 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.3593, allocations: 1.241 MB / 466.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003451/0.3627, allocations: 2.564 MB / 468.7 MB, free: 6.309 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.3728, allocations: 8.924 MB / 477.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3728, allocations: 0 / 477.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3728, allocations: 0 / 477.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002145/0.373, allocations: 0 / 477.6 MB, free: 14.61 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.014/0.387, allocations: 5.406 MB / 483 MB, free: 9.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.387, allocations: 8.031 kB / 483 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007975/0.395, allocations: 1.321 MB / 484.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004958/0.4, allocations: 2.608 MB / 487 MB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.4003, allocations: 349.3 kB / 487.3 MB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009056/0.4012, allocations: 456 kB / 487.7 MB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.4132, allocations: 6.098 MB / 493.8 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.513e-05/0.4133, allocations: 3.953 kB / 493.8 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004336/0.4138, allocations: 192 kB / 494 MB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/0.414, allocations: 193.5 kB / 494.2 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.4241, allocations: 5.288 MB / 499.5 MB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03437/0.4584, allocations: 21.02 MB / 0.5083 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006967/0.4654, allocations: 5.487 MB / 0.5137 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.4665, allocations: 0.6004 MB / 0.5143 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/0.4667, allocations: 203.1 kB / 0.5145 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.4668, allocations: 43.56 kB / 0.5145 GB, free: 11.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.866e-06/0.4668, allocations: 0 / 0.5145 GB, free: 11.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002475/0.4692, allocations: 1.44 MB / 0.5159 GB, free: 10.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.4693, allocations: 60.41 kB / 0.516 GB, free: 10.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/0.4718, allocations: 1.462 MB / 0.5174 GB, free: 8.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.189e-05/0.4719, allocations: 41.7 kB / 0.5174 GB, free: 8.633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.4734, allocations: 2.041 MB / 0.5194 GB, free: 6.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.4737, allocations: 361.1 kB / 0.5198 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007095/0.4745, allocations: 479.9 kB / 0.5202 GB, free: 5.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4746, allocations: 357.9 kB / 0.5206 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.4759, allocations: 0.8085 MB / 0.5214 GB, free: 4.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.478, allocations: 1.941 MB / 0.5233 GB, free: 2.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003593/0.4816, allocations: 2.931 MB / 0.5261 GB, free: 14.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.982e-05/0.4817, allocations: 8 kB / 0.5261 GB, free: 14.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004439/0.4861, allocations: 2.809 MB / 0.5289 GB, free: 11.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.4861, allocations: 20 kB / 0.5289 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-05/0.4862, allocations: 40 kB / 0.5289 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.526e-05/0.4863, allocations: 55.98 kB / 0.529 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.4879, allocations: 0.5381 MB / 0.5295 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.978e-05/0.488, allocations: 79.7 kB / 0.5296 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.4894, allocations: 302.3 kB / 0.5299 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.4896, allocations: 124 kB / 0.53 GB, free: 10.62 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.002644/0.4922, allocations: 1.675 MB / 0.5316 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/0.4925, allocations: 135.1 kB / 0.5318 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.4948, allocations: 1.342 MB / 0.5331 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001355/0.4961, allocations: 0.9319 MB / 0.534 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4961, allocations: 3.938 kB / 0.534 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.4961, allocations: 7.969 kB / 0.534 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/0.5142, allocations: 13.51 MB / 0.5472 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/0.5142, allocations: 24 kB / 0.5472 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/0.515, allocations: 219.5 kB / 0.5474 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-05/0.515, allocations: 24 kB / 0.5474 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/0.5151, allocations: 47.98 kB / 0.5475 GB, free: 7.754 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-05/0.5151, allocations: 40.39 kB / 0.5475 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-05/0.5151, allocations: 27.88 kB / 0.5475 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.5182, allocations: 2.451 MB / 0.5499 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005677/0.5188, allocations: 327.9 kB / 0.5503 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.519, allocations: 47.92 kB / 0.5503 GB, free: 4.555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006949/0.5197, allocations: 68 kB / 0.5504 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.5198, allocations: 131.4 kB / 0.5505 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.374e-05/0.5199, allocations: 55.98 kB / 0.5505 GB, free: 4.305 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001414/0.5213, allocations: 0.9877 MB / 0.5515 GB, free: 3.312 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5213, allocations: 0 / 0.5515 GB, free: 3.312 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002744/0.5241, allocations: 0.9569 MB / 0.5524 GB, free: 2.352 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.0003736/0.5245, allocations: 202.6 kB / 0.5526 GB, free: 2.145 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002892/0.5274, allocations: 1.798 MB / 0.5544 GB, free: 356 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.5274, allocations: 4 kB / 0.5544 GB, free: 352 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008312/0.5282, allocations: 0.5672 MB / 0.5549 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.5304, allocations: 374.9 kB / 0.5553 GB, free: 15.42 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.5427, allocations: 6.92 MB / 0.5621 GB, free: 8.195 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/0.5463, allocations: 3.071 MB / 0.5651 GB, free: 5.094 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001964/0.5482, allocations: 0.817 MB / 0.5659 GB, free: 4.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.5485, allocations: 119.4 kB / 0.566 GB, free: 4.152 MB / 478.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5485, allocations: 0 / 0.566 GB, free: 4.152 MB / 478.1 MB Notification: Performance of Templates: time 0.03704/0.5856, allocations: 18.65 MB / 0.5842 GB, free: 1.586 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.231616063974798]