Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002196/0.002196, allocations: 190.9 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 247.1 MB, free: 4.34 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 51.92 kB / 358.7 MB, free: 8.609 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1017, allocations: 49.43 MB / 408.1 MB, free: 7.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01303/0.1148, allocations: 9.719 MB / 417.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00573/0.1205, allocations: 2.682 MB / 420.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.122, allocations: 79.75 kB / 420.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009812/0.1318, allocations: 4.19 MB / 424.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003576/0.1354, allocations: 0.9197 MB / 425.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.1378, allocations: 0.8259 MB / 426.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005683/0.1435, allocations: 4.066 MB / 430.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2137/0.3572, allocations: 10.93 MB / 441.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003118/0.3603, allocations: 2.357 MB / 443.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004062/0.3644, allocations: 2.65 MB / 446.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001499/0.3659, allocations: 0.6628 MB / 447.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.3681, allocations: 0.8709 MB / 448.1 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.3691, allocations: 1.246 MB / 449.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002696/0.3718, allocations: 2.559 MB / 451.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00997/0.3818, allocations: 8.933 MB / 460.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3819, allocations: 0 / 460.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3819, allocations: 0 / 460.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000206/0.3821, allocations: 2.875 kB / 460.8 MB, free: 13.27 MB / 366.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.01371/0.3958, allocations: 5.406 MB / 466.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3958, allocations: 11.05 kB / 466.2 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007472/0.4033, allocations: 1.315 MB / 467.5 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00453/0.4079, allocations: 2.611 MB / 470.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.4081, allocations: 351 kB / 470.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008517/0.409, allocations: 455.3 kB / 470.9 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.422, allocations: 6.092 MB / 477 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/0.4222, allocations: 3.953 kB / 477 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008695/0.423, allocations: 195.9 kB / 477.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002186/0.4233, allocations: 197.5 kB / 477.4 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.4345, allocations: 5.268 MB / 482.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03424/0.4688, allocations: 20.78 MB / 0.4917 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007076/0.4759, allocations: 5.582 MB / 0.4971 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.477, allocations: 0.6551 MB / 0.4978 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.4772, allocations: 113.9 kB / 0.4979 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.4772, allocations: 39.56 kB / 0.4979 GB, free: 14.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 2.956e-06/0.4773, allocations: 0 / 0.4979 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002375/0.4796, allocations: 1.432 MB / 0.4993 GB, free: 13.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.4797, allocations: 60.41 kB / 0.4994 GB, free: 13.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.4822, allocations: 1.462 MB / 0.5008 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.897e-05/0.4822, allocations: 45.7 kB / 0.5008 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.4837, allocations: 2.041 MB / 0.5028 GB, free: 9.762 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003712/0.4841, allocations: 370.8 kB / 0.5032 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007045/0.4848, allocations: 471.9 kB / 0.5036 GB, free: 8.938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.485, allocations: 353.9 kB / 0.504 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.4863, allocations: 0.8046 MB / 0.5047 GB, free: 7.777 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002562/0.4888, allocations: 1.946 MB / 0.5066 GB, free: 5.297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004251/0.4931, allocations: 2.927 MB / 0.5095 GB, free: 1.984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.911e-05/0.4932, allocations: 11.94 kB / 0.5095 GB, free: 1.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004646/0.4978, allocations: 2.796 MB / 0.5122 GB, free: 15.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.4979, allocations: 20 kB / 0.5123 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.787e-05/0.498, allocations: 43.94 kB / 0.5123 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.925e-05/0.498, allocations: 56 kB / 0.5124 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.4997, allocations: 0.5336 MB / 0.5129 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.989e-05/0.4998, allocations: 79.72 kB / 0.513 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.5012, allocations: 304.6 kB / 0.5132 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.5014, allocations: 124 kB / 0.5134 GB, free: 14.32 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.002597/0.504, allocations: 1.663 MB / 0.515 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/0.5043, allocations: 135.1 kB / 0.5151 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.5065, allocations: 1.348 MB / 0.5164 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001315/0.5079, allocations: 0.9279 MB / 0.5173 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5079, allocations: 0 / 0.5173 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.5079, allocations: 3.984 kB / 0.5173 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/0.5246, allocations: 12.21 MB / 0.5293 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.805e-05/0.5246, allocations: 20 kB / 0.5293 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007596/0.5254, allocations: 218.2 kB / 0.5295 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.697e-05/0.5254, allocations: 24 kB / 0.5295 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-05/0.5255, allocations: 44 kB / 0.5296 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.967e-05/0.5256, allocations: 35.86 kB / 0.5296 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.396e-05/0.5256, allocations: 35.81 kB / 0.5296 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/0.5287, allocations: 2.457 MB / 0.532 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005879/0.5293, allocations: 323.9 kB / 0.5323 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.5296, allocations: 43.98 kB / 0.5324 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007772/0.5304, allocations: 63.89 kB / 0.5324 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.5306, allocations: 135.5 kB / 0.5326 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.141e-05/0.5306, allocations: 52 kB / 0.5326 GB, free: 9.898 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001558/0.5322, allocations: 0.9955 MB / 0.5336 GB, free: 8.898 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5322, allocations: 0 / 0.5336 GB, free: 8.898 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00281/0.535, allocations: 0.9569 MB / 0.5345 GB, free: 7.938 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.0003827/0.5354, allocations: 214.4 kB / 0.5347 GB, free: 7.746 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002806/0.5382, allocations: 1.863 MB / 0.5365 GB, free: 6.031 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.5383, allocations: 4 kB / 0.5366 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007989/0.5391, allocations: 0.5736 MB / 0.5371 GB, free: 5.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.5412, allocations: 383.8 kB / 0.5375 GB, free: 5.156 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.5533, allocations: 6.827 MB / 0.5441 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003485/0.5568, allocations: 2.991 MB / 0.5471 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/0.5573, allocations: 131.4 kB / 0.5472 GB, free: 10.92 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5573, allocations: 0 / 0.5472 GB, free: 10.92 MB / 462.1 MB Notification: Performance of Templates: time 0.05704/0.6144, allocations: 38.52 MB / 0.5848 GB, free: 4.488 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 11.452787645044737]