Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.0002597/0.0002597, 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.0001972/0.0001972, 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.1206/0.1206, 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.02179/0.02179, 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_noopt_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_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.316e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.002124/0.002147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001062/0.00321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.003272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.003382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.000221/0.003603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.003814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0003293/0.004143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.004176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.004489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.004686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.00473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 2.999e-05/0.00476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.004854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 8.814e-05/0.004942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.00514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 3.336e-05/0.005174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 9.91e-07/0.005175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 5.71e-06/0.00518, 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.0006785/0.005859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.005915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.005996, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.006191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.006218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 8.114e-05/0.006299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.006599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.006609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.006639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.006654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.006774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.007867, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.008294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.008364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 7.924e-06/0.008372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.008391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=23): time 3.977e-06/0.008395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=23): time 0.0003082/0.008703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.008724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.008816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.008865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.008926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.008997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.009108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.191e-05/0.009129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.0092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 9.691e-05/0.009297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.009488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.009492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=41) (initialization): time 0.000282/0.009774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.00979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.009796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.009809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.01011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.01012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-05/0.01022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.01025, 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.0001032/0.01035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.0104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.548e-05/0.01047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.01048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.01048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.0108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.01109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.0111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.01114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.01149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.01158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.01167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.01177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.01183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.01186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 4.26e-05/0.0119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.657e-06/0.0119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.000427/0.01233, 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.0001156/0.01245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0002346/0.01268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.01277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.0131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/0.01386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 8.29e-05/0.01394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 8.467e-05/0.01402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.01416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.788e-05/0.01418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001548/0.01572, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("ScalableTestSuite_noopt_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.839646294247359]