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.001617/0.001617, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002017/0.002017, allocations: 211.4 kB / 23.73 MB, free: 4.387 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001602/0.001602, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2288, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01217/0.241, allocations: 8.517 MB / 440.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006027/0.247, allocations: 2.647 MB / 442.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.2491, allocations: 91.56 kB / 442.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01001/0.2591, allocations: 3.894 MB / 446.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003839/0.2629, allocations: 0.767 MB / 447.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.2657, allocations: 0.9406 MB / 448.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00533/0.2711, allocations: 4.085 MB / 452.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01232/0.2834, allocations: 7.046 MB / 459.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/0.2871, allocations: 2.416 MB / 462 MB, free: 8.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004543/0.2916, allocations: 2.554 MB / 464.5 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001677/0.2933, allocations: 0.6602 MB / 465.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.2961, allocations: 0.8904 MB / 466.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002024/0.2981, allocations: 1.243 MB / 467.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003894/0.302, allocations: 1.981 MB / 469.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.3139, allocations: 8.974 MB / 478.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3139, allocations: 4 kB / 478.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3139, allocations: 0 / 478.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002963/0.3142, allocations: 4 kB / 478.3 MB, free: 7.762 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.01674/0.3309, allocations: 5.323 MB / 483.6 MB, free: 2.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.331, allocations: 8.031 kB / 483.6 MB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008759/0.3398, allocations: 1.317 MB / 485 MB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006497/0.3463, allocations: 2.602 MB / 487.6 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003659/0.3466, allocations: 349.3 kB / 487.9 MB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.348, allocations: 455.9 kB / 488.3 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/0.3618, allocations: 6.131 MB / 494.5 MB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.3619, allocations: 4 kB / 494.5 MB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006009/0.3625, allocations: 188 kB / 494.7 MB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002075/0.3627, allocations: 197.5 kB / 494.9 MB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.3739, allocations: 5.272 MB / 0.4884 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03424/0.4081, allocations: 17.76 MB / 0.5057 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005255/0.4134, allocations: 2.07 MB / 0.5078 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.4144, allocations: 0.5923 MB / 0.5083 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.4146, allocations: 44.95 kB / 0.5084 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.4146, allocations: 43.56 kB / 0.5084 GB, free: 12.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.727e-06/0.4146, allocations: 0 / 0.5084 GB, free: 12.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002535/0.4171, allocations: 1.44 MB / 0.5098 GB, free: 11.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.4172, allocations: 60.41 kB / 0.5099 GB, free: 11.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/0.4197, allocations: 1.531 MB / 0.5114 GB, free: 9.648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.4197, allocations: 37.7 kB / 0.5114 GB, free: 9.605 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/0.4214, allocations: 2.041 MB / 0.5134 GB, free: 7.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/0.4218, allocations: 365.1 kB / 0.5138 GB, free: 7.184 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007277/0.4225, allocations: 479.9 kB / 0.5142 GB, free: 6.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4227, allocations: 353.9 kB / 0.5146 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.424, allocations: 0.8085 MB / 0.5154 GB, free: 5.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/0.4264, allocations: 1.948 MB / 0.5173 GB, free: 3.035 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003879/0.4303, allocations: 2.931 MB / 0.5201 GB, free: 15.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-05/0.4303, allocations: 12 kB / 0.5201 GB, free: 15.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004865/0.4352, allocations: 2.798 MB / 0.5229 GB, free: 12.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.4352, allocations: 24 kB / 0.5229 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.219e-05/0.4353, allocations: 43.94 kB / 0.5229 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.593e-05/0.4354, allocations: 52 kB / 0.523 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.4371, allocations: 0.542 MB / 0.5235 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.419e-05/0.4372, allocations: 83.7 kB / 0.5236 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.4388, allocations: 302.2 kB / 0.5239 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/0.439, allocations: 128 kB / 0.524 GB, free: 11.57 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.002835/0.4418, allocations: 1.664 MB / 0.5256 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.4421, allocations: 135.1 kB / 0.5258 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.4444, allocations: 1.345 MB / 0.5271 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001415/0.4458, allocations: 0.9318 MB / 0.528 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4458, allocations: 0 / 0.528 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.4459, allocations: 3.984 kB / 0.528 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2663/0.7122, allocations: 10.18 MB / 0.5379 GB, free: 95.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.604e-05/0.7122, allocations: 19.69 kB / 0.5379 GB, free: 95.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008434/0.713, allocations: 213.8 kB / 0.5381 GB, free: 95.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.232e-05/0.7131, allocations: 25.25 kB / 0.5382 GB, free: 95.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.343e-05/0.7132, allocations: 47.77 kB / 0.5382 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-05/0.7132, allocations: 36.48 kB / 0.5382 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.213e-05/0.7133, allocations: 34.11 kB / 0.5383 GB, free: 95.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.7166, allocations: 2.463 MB / 0.5407 GB, free: 93.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006835/0.7172, allocations: 254.5 kB / 0.5409 GB, free: 93.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.7174, allocations: 54.94 kB / 0.541 GB, free: 93.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000684/0.7181, allocations: 63.8 kB / 0.541 GB, free: 93.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.7182, allocations: 138.6 kB / 0.5412 GB, free: 93.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/0.7183, allocations: 58.86 kB / 0.5412 GB, free: 93.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001171/0.7195, allocations: 0.9844 MB / 0.5422 GB, free: 93.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7195, allocations: 0 / 0.5422 GB, free: 93.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002714/0.7222, allocations: 0.9551 MB / 0.5431 GB, free: 93.34 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.0003358/0.7225, allocations: 196.1 kB / 0.5433 GB, free: 93.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002459/0.725, allocations: 1.808 MB / 0.5451 GB, free: 92.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.725, allocations: 3.906 kB / 0.5451 GB, free: 92.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006511/0.7256, allocations: 0.5596 MB / 0.5456 GB, free: 92.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.7276, allocations: 375 kB / 0.546 GB, free: 92.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009704/0.7373, allocations: 6.91 MB / 0.5527 GB, free: 88.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/0.7393, allocations: 2.537 MB / 0.5552 GB, free: 86.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001549/0.7409, allocations: 0.8155 MB / 0.556 GB, free: 85.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.7411, allocations: 117.4 kB / 0.5561 GB, free: 85.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7411, allocations: 0 / 0.5561 GB, free: 85.68 MB / 446.1 MB Notification: Performance of Templates: time 0.03016/0.7713, allocations: 20.83 MB / 0.5765 GB, free: 65.82 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/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.475780380889773]