Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002188/0.0002188, allocations: 0 / 0, free: 0 / 0 " [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.0001832/0.0001832, allocations: 0 / 0, free: 0 / 0 " [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 0.09626/0.09626, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.02122/0.02122, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) 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: simulate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,startTime=0,stopTime=500,tolerance=1e-07,numberOfIntervals=10000,outputFormat="mat",variableFilter="P_a.[0-9,]+.|P_diss.[0-9,]+.|P_ex.[0-9,]+.|P_load.[0-9,]+.|P_sfc|der.P_sfc.|der.generator.[0-9,]+..T_s.[0-9,]+..|der.generator.[0-9,]+..err_p_int.|der.generator.[0-9,]+..err_p_t_int.|der.generator.[0-9,]+..omega.|der.generator.[0-9,]+..p.|der.generator.[0-9,]+..p_t_lp.|der.generator.[0-9,]+..q_ev.|der.generator.[0-9,]+..theta.|der.generator.[0-9,]+..y_t.|f|generator.[0-9,]+..P_a|generator.[0-9,]+..P_sfc|generator.[0-9,]+..P_t|generator.[0-9,]+..T_s.[0-9,]+.|generator.[0-9,]+..T_s_b.[0-9,]+.|generator.[0-9,]+..delta_f|generator.[0-9,]+..err_p|generator.[0-9,]+..err_p_int|generator.[0-9,]+..err_p_t|generator.[0-9,]+..err_p_t_int|generator.[0-9,]+..f|generator.[0-9,]+..omega|generator.[0-9,]+..p|generator.[0-9,]+..p_0|generator.[0-9,]+..p_t|generator.[0-9,]+..p_t_0|generator.[0-9,]+..p_t_0_fc|generator.[0-9,]+..p_t_lp|generator.[0-9,]+..q_ev|generator.[0-9,]+..q_ev_0|generator.[0-9,]+..theta|generator.[0-9,]+..w_s|generator.[0-9,]+..y_t|generator.[0-9,]+..y_t_0|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,startTime=0,stopTime=500,tolerance=1e-07,numberOfIntervals=10000,outputFormat="mat",variableFilter="P_a.[0-9,]+.|P_diss.[0-9,]+.|P_ex.[0-9,]+.|P_load.[0-9,]+.|P_sfc|der.P_sfc.|der.generator.[0-9,]+..T_s.[0-9,]+..|der.generator.[0-9,]+..err_p_int.|der.generator.[0-9,]+..err_p_t_int.|der.generator.[0-9,]+..omega.|der.generator.[0-9,]+..p.|der.generator.[0-9,]+..p_t_lp.|der.generator.[0-9,]+..q_ev.|der.generator.[0-9,]+..theta.|der.generator.[0-9,]+..y_t.|f|generator.[0-9,]+..P_a|generator.[0-9,]+..P_sfc|generator.[0-9,]+..P_t|generator.[0-9,]+..T_s.[0-9,]+.|generator.[0-9,]+..T_s_b.[0-9,]+.|generator.[0-9,]+..delta_f|generator.[0-9,]+..err_p|generator.[0-9,]+..err_p_int|generator.[0-9,]+..err_p_t|generator.[0-9,]+..err_p_t_int|generator.[0-9,]+..f|generator.[0-9,]+..omega|generator.[0-9,]+..p|generator.[0-9,]+..p_0|generator.[0-9,]+..p_t|generator.[0-9,]+..p_t_0|generator.[0-9,]+..p_t_0_fc|generator.[0-9,]+..p_t_lp|generator.[0-9,]+..q_ev|generator.[0-9,]+..q_ev_0|generator.[0-9,]+..theta|generator.[0-9,]+..w_s|generator.[0-9,]+..y_t|generator.[0-9,]+..y_t_0|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.731e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.00241/0.002427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001273/0.0037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.00377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.003888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.004177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.004449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.000349/0.004798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/0.004836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.005182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.005386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 5e-05/0.005436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 3.102e-05/0.005467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 9.176e-05/0.005559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 8.958e-05/0.005649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.005878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 3.8e-05/0.005916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.153e-06/0.005917, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 5.691e-06/0.005923, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007573/0.00668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.1e-05/0.006771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.006851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.007048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.007074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.007174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.007495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.007507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.007542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.007564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.007706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.008874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.009329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.009413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.009425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.009456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=23): time 5.991e-06/0.009462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=23): time 0.0004087/0.009871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.009893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.01002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.01007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.01013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 8.53e-05/0.01022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.01036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.897e-05/0.01041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.01049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.01061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.01087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.01087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004222/0.01129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.01131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.01132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.01133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.01166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.01167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.01179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.01183, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000117/0.01194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.01199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.768e-05/0.01207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.01243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.01244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.01275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.01275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.0128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.0128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.0128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.01324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 9.249e-05/0.01333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-05/0.01343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.01355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/0.01364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.01366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 6.033e-05/0.01372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.59e-06/0.01373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0005001/0.01423, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (P_sfc,generator[1].theta,generator[1].omega,generator[1].p,generator[1].q_ev,generator[1].y_t,generator[1].p_t_lp,generator[1].T_s[1],generator[1].T_s[2],generator[1].T_s[3],generator[1].T_s[4],generator[1].err_p_t_int,generator[1].err_p_int) * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001456/0.01438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.000273/0.01465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.01476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.01527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.01641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 9.188e-05/0.0165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 9.772e-05/0.0166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.01674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.114e-05/0.01676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001706/0.01847, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 0.9223856860771775]