Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.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.001251/0.001251, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001382/0.001382, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.363/1.363, allocations: 230.6 MB / 258.3 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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.9154/0.9154, allocations: 120.6 MB / 435.3 MB, free: 0.6758 MB / 334.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.88 kB / 0.6075 GB, free: 10.76 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.148, allocations: 85.86 MB / 0.6913 GB, free: 4.691 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.002696/0.1507, allocations: 1.718 MB / 0.693 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1518, allocations: 0.5653 MB / 0.6935 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.1519, allocations: 0 / 0.6935 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.152, allocations: 19.78 kB / 0.6936 GB, free: 2.371 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.1522, allocations: 71.53 kB / 0.6936 GB, free: 2.301 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1525, allocations: 83.81 kB / 0.6937 GB, free: 2.219 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.000705/0.1532, allocations: 0.6519 MB / 0.6943 GB, free: 1.562 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.54e-05/0.1532, allocations: 16.94 kB / 0.6944 GB, free: 1.547 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.1536, allocations: 267.4 kB / 0.6946 GB, free: 1.285 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.154, allocations: 283 kB / 0.6949 GB, free: 1.008 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 9.255e-05/0.1541, allocations: 40 kB / 0.6949 GB, free: 0.9688 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.292e-05/0.1542, allocations: 40 kB / 0.695 GB, free: 0.9297 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.1544, allocations: 147.6 kB / 0.6951 GB, free: 0.7852 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.1547, allocations: 199.1 kB / 0.6953 GB, free: 0.5898 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.1552, allocations: 0.5335 MB / 0.6958 GB, free: 56 kB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1552, allocations: 4 kB / 0.6958 GB, free: 52 kB / 0.5139 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1552, allocations: 0 / 0.6958 GB, free: 52 kB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.1552, allocations: 0 / 0.6958 GB, free: 52 kB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002095/0.1573, allocations: 0.8833 MB / 0.6967 GB, free: 15.14 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1573, allocations: 12.03 kB / 0.6967 GB, free: 15.12 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.067e-05/0.1574, allocations: 8.844 kB / 0.6967 GB, free: 15.12 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.335e-05/0.1574, allocations: 74.7 kB / 0.6968 GB, free: 15.04 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.367e-05/0.1575, allocations: 44.7 kB / 0.6968 GB, free: 14.99 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.158, allocations: 308.8 kB / 0.6971 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.1581, allocations: 33.02 kB / 0.6971 GB, free: 14.63 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.1583, allocations: 72.23 kB / 0.6972 GB, free: 14.56 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000848/0.1591, allocations: 0.5289 MB / 0.6977 GB, free: 14.02 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.1592, allocations: 4 kB / 0.6977 GB, free: 14.02 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/0.1592, allocations: 12 kB / 0.6977 GB, free: 14.01 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.1592, allocations: 12.66 kB / 0.6978 GB, free: 14 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/0.16, allocations: 0.5021 MB / 0.6982 GB, free: 13.49 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.1633, allocations: 1.478 MB / 0.6997 GB, free: 11.97 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.1649, allocations: 0.8596 MB / 0.7005 GB, free: 11.1 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005161/0.1654, allocations: 369.8 kB / 0.7009 GB, free: 10.74 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.1655, allocations: 4.438 kB / 0.7009 GB, free: 10.73 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.1655, allocations: 42.98 kB / 0.7009 GB, free: 10.68 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=52): time 2.184e-06/0.1655, allocations: 0 / 0.7009 GB, free: 10.68 MB / 0.5295 GB Notification: Performance of matching and sorting (n=52): time 0.001572/0.1671, allocations: 0.9884 MB / 0.7019 GB, free: 9.691 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.1671, allocations: 63.84 kB / 0.7019 GB, free: 9.617 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.1674, allocations: 309.8 kB / 0.7022 GB, free: 9.309 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.1675, allocations: 33.7 kB / 0.7023 GB, free: 9.27 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1676, allocations: 181 kB / 0.7024 GB, free: 9.09 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.1678, allocations: 226.2 kB / 0.7027 GB, free: 8.867 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.168, allocations: 134.7 kB / 0.7028 GB, free: 8.727 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1682, allocations: 354.8 kB / 0.7031 GB, free: 8.371 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/0.1688, allocations: 413.6 kB / 0.7035 GB, free: 7.969 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006579/0.1694, allocations: 0.4894 MB / 0.704 GB, free: 7.457 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.1707, allocations: 0.8819 MB / 0.7049 GB, free: 6.551 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1707, allocations: 0 / 0.7049 GB, free: 6.551 MB / 0.5295 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001533/0.1722, allocations: 1.032 MB / 0.7059 GB, free: 5.512 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1722, allocations: 7.938 kB / 0.7059 GB, free: 5.504 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1722, allocations: 0 / 0.7059 GB, free: 5.504 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.1722, allocations: 11.94 kB / 0.7059 GB, free: 5.492 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009915/0.1732, allocations: 227.9 kB / 0.7061 GB, free: 5.27 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.1732, allocations: 12 kB / 0.7061 GB, free: 5.258 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.1736, allocations: 87.5 kB / 0.7062 GB, free: 5.172 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.1737, allocations: 24 kB / 0.7062 GB, free: 5.148 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 86 * 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.0002666/0.1739, allocations: 217.6 kB / 0.7064 GB, free: 4.926 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.174, allocations: 39.75 kB / 0.7065 GB, free: 4.887 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.1753, allocations: 0.8061 MB / 0.7073 GB, free: 4.074 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1753, allocations: 4 kB / 0.7073 GB, free: 4.07 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1753, allocations: 0 / 0.7073 GB, free: 4.07 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1753, allocations: 3.984 kB / 0.7073 GB, free: 4.066 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006959/0.176, allocations: 0.4889 MB / 0.7077 GB, free: 3.535 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.176, allocations: 4 kB / 0.7077 GB, free: 3.531 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.1771, allocations: 203.8 kB / 0.7079 GB, free: 3.332 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1771, allocations: 7.875 kB / 0.708 GB, free: 3.324 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/0.1772, allocations: 27.97 kB / 0.708 GB, free: 3.297 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1772, allocations: 4 kB / 0.708 GB, free: 3.293 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1772, allocations: 4 kB / 0.708 GB, free: 3.289 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.1788, allocations: 1.223 MB / 0.7092 GB, free: 2.043 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.1791, allocations: 119.6 kB / 0.7093 GB, free: 1.926 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.283e-05/0.1792, allocations: 27.92 kB / 0.7093 GB, free: 1.898 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.1795, allocations: 51.88 kB / 0.7094 GB, free: 1.848 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.437e-05/0.1796, allocations: 36.36 kB / 0.7094 GB, free: 1.812 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.1796, allocations: 12 kB / 0.7094 GB, free: 1.801 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0002265/0.1798, allocations: 221.2 kB / 0.7096 GB, free: 1.586 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.1798, allocations: 0 / 0.7096 GB, free: 1.586 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0004329/0.1802, allocations: 131.9 kB / 0.7098 GB, free: 1.457 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (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,generator[2].theta,generator[2].omega,generator[2].p,generator[2].q_ev,generator[2].y_t,generator[2].p_t_lp,generator[2].T_s[1],generator[2].T_s[2],generator[2].T_s[3],generator[2].T_s[4],generator[2].err_p_t_int,generator[2].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 (54): * Single equations (assignments): 54 * 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.002008/0.1823, allocations: 1.801 MB / 0.7115 GB, free: 15.63 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.1835, allocations: 0.8024 MB / 0.7123 GB, free: 14.83 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1835, allocations: 0 / 0.7123 GB, free: 14.83 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0004912/0.184, allocations: 366.2 kB / 0.7126 GB, free: 14.47 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1843, allocations: 21.59 kB / 0.7127 GB, free: 14.45 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008546/0.1928, allocations: 6.973 MB / 0.7195 GB, free: 7.348 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1931, allocations: 309.8 kB / 0.7198 GB, free: 7.023 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.000519/0.1937, allocations: 243 kB / 0.72 GB, free: 6.785 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.1939, allocations: 127.4 kB / 0.7201 GB, free: 6.66 MB / 0.5452 GB Notification: Performance of SimCode: time 8.21e-07/0.1939, allocations: 0 / 0.7201 GB, free: 6.66 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.2281, allocations: 9.945 MB / 0.7298 GB, free: 12.91 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.86, allocations: 4.062 kB / 0.7298 GB, free: 12.91 MB / 0.5608 GB " [Timeout remaining time 288] (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad_fmu --startTime=0 --stopTime=200 --stepSize=0.05 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.852947711013258]