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.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.001225/0.001225, allocations: 123.9 kB / 17.79 MB, free: 5.285 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.001595/0.001595, allocations: 185.3 kB / 20.73 MB, free: 2.355 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.335/1.335, allocations: 225.6 MB / 249.1 MB, free: 3.711 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6742/0.6742, allocations: 120.6 MB / 424.6 MB, free: 5.559 MB / 350.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) 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: "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.88 kB / 0.5932 GB, free: 3.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.5078, allocations: 84.63 MB / 0.6759 GB, free: 16.47 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.002258/0.5101, allocations: 1.825 MB / 0.6777 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.5109, allocations: 0.563 MB / 0.6782 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.5109, allocations: 1.781 kB / 0.6782 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.5111, allocations: 25.33 kB / 0.6782 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.5112, allocations: 67.03 kB / 0.6783 GB, free: 14.58 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.5114, allocations: 78.56 kB / 0.6784 GB, free: 14.52 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.5119, allocations: 0.6488 MB / 0.679 GB, free: 14.13 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.767e-05/0.512, allocations: 36.17 kB / 0.6791 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.5122, allocations: 260.7 kB / 0.6793 GB, free: 14 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.5125, allocations: 283.7 kB / 0.6796 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.5126, allocations: 39.22 kB / 0.6796 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.203e-05/0.5127, allocations: 38.75 kB / 0.6796 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.5128, allocations: 151.1 kB / 0.6798 GB, free: 13.72 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.513, allocations: 219.7 kB / 0.68 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.5134, allocations: 0.5272 MB / 0.6805 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5134, allocations: 0.9062 kB / 0.6805 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5134, allocations: 0 / 0.6805 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.5134, allocations: 4 kB / 0.6805 GB, free: 13.23 MB / 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.001889/0.5153, allocations: 0.9574 MB / 0.6815 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.5153, allocations: 13.08 kB / 0.6815 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.409e-05/0.5154, allocations: 72.53 kB / 0.6815 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.918e-05/0.5155, allocations: 46.38 kB / 0.6816 GB, free: 12.44 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.516, allocations: 356.3 kB / 0.6819 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.516, allocations: 32.19 kB / 0.6819 GB, free: 12.12 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.5162, allocations: 72.11 kB / 0.682 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.5169, allocations: 0.5225 MB / 0.6825 GB, free: 11.8 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.5169, allocations: 3.984 kB / 0.6825 GB, free: 11.79 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.517, allocations: 11.81 kB / 0.6825 GB, free: 11.79 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.517, allocations: 12 kB / 0.6826 GB, free: 11.79 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006318/0.5176, allocations: 0.5057 MB / 0.683 GB, free: 11.55 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003126/0.5207, allocations: 1.579 MB / 0.6846 GB, free: 10.59 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.5221, allocations: 0.8574 MB / 0.6854 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.5225, allocations: 373 kB / 0.6858 GB, free: 9.98 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.5225, allocations: 4.719 kB / 0.6858 GB, free: 9.98 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.5226, allocations: 38.41 kB / 0.6858 GB, free: 9.938 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=52): time 1.864e-06/0.5226, allocations: 0 / 0.6858 GB, free: 9.938 MB / 0.5139 GB Notification: Performance of matching and sorting (n=52): time 0.001302/0.5239, allocations: 0.9975 MB / 0.6868 GB, free: 9.449 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.5239, allocations: 56.38 kB / 0.6869 GB, free: 9.387 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.5241, allocations: 315 kB / 0.6872 GB, free: 9.18 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.5242, allocations: 36.23 kB / 0.6872 GB, free: 9.141 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.5243, allocations: 189.3 kB / 0.6874 GB, free: 8.969 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 9.986e-05/0.5244, allocations: 215.5 kB / 0.6876 GB, free: 8.781 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.5245, allocations: 132.5 kB / 0.6877 GB, free: 8.707 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.5246, allocations: 356.7 kB / 0.688 GB, free: 8.363 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.5251, allocations: 412.9 kB / 0.6884 GB, free: 8.168 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.5256, allocations: 0.493 MB / 0.6889 GB, free: 7.883 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009804/0.5266, allocations: 0.8766 MB / 0.6898 GB, free: 7.406 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5266, allocations: 1.344 kB / 0.6898 GB, free: 7.406 MB / 0.5139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001267/0.5279, allocations: 1.028 MB / 0.6908 GB, free: 6.902 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.5279, allocations: 12.41 kB / 0.6908 GB, free: 6.898 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5279, allocations: 6.5 kB / 0.6908 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.5279, allocations: 4.156 kB / 0.6908 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/0.5288, allocations: 234.4 kB / 0.691 GB, free: 6.832 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5288, allocations: 4.875 kB / 0.691 GB, free: 6.832 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.5292, allocations: 89.48 kB / 0.6911 GB, free: 6.773 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.5293, allocations: 23.38 kB / 0.6911 GB, free: 6.766 MB / 0.5139 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.0001964/0.5295, allocations: 230.5 kB / 0.6914 GB, free: 6.578 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.5295, allocations: 36.17 kB / 0.6914 GB, free: 6.559 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.5306, allocations: 0.8047 MB / 0.6922 GB, free: 6.113 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.5306, allocations: 4.875 kB / 0.6922 GB, free: 6.113 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5306, allocations: 1.625 kB / 0.6922 GB, free: 6.113 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.5306, allocations: 3.984 kB / 0.6922 GB, free: 6.109 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.5311, allocations: 0.5735 MB / 0.6927 GB, free: 5.668 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5311, allocations: 1.281 kB / 0.6927 GB, free: 5.668 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009866/0.5321, allocations: 201.1 kB / 0.6929 GB, free: 5.621 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5321, allocations: 9.422 kB / 0.6929 GB, free: 5.613 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.248e-05/0.5322, allocations: 36.86 kB / 0.693 GB, free: 5.59 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5322, allocations: 1.188 kB / 0.693 GB, free: 5.59 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5322, allocations: 0 / 0.693 GB, free: 5.59 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.5335, allocations: 1.226 MB / 0.6942 GB, free: 4.934 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.5338, allocations: 188.9 kB / 0.6944 GB, free: 4.785 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/0.5339, allocations: 32.02 kB / 0.6944 GB, free: 4.766 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.5342, allocations: 41.98 kB / 0.6944 GB, free: 4.742 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.5343, allocations: 34.69 kB / 0.6945 GB, free: 4.727 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.5343, allocations: 16.23 kB / 0.6945 GB, free: 4.719 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001613/0.5345, allocations: 220.2 kB / 0.6947 GB, free: 4.578 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.5345, allocations: 0 / 0.6947 GB, free: 4.578 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004295/0.5349, allocations: 128.4 kB / 0.6948 GB, free: 4.559 MB / 0.5139 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.001464/0.5363, allocations: 1.81 MB / 0.6966 GB, free: 3.336 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.5374, allocations: 0.7957 MB / 0.6974 GB, free: 2.98 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5374, allocations: 3.938 kB / 0.6974 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004555/0.5378, allocations: 364.5 kB / 0.6977 GB, free: 2.816 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.5381, allocations: 26.42 kB / 0.6977 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007928/0.5461, allocations: 6.986 MB / 0.7046 GB, free: 13.45 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.5466, allocations: 0.8975 MB / 0.7054 GB, free: 12.53 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0006104/0.5472, allocations: 255 kB / 0.7057 GB, free: 12.29 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.5475, allocations: 127.4 kB / 0.7058 GB, free: 12.16 MB / 0.5295 GB Notification: Performance of SimCode: time 8.31e-07/0.5475, allocations: 0 / 0.7058 GB, free: 12.16 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.5827, allocations: 9.704 MB / 0.7153 GB, free: 2.652 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.501/9.084, allocations: 11.8 kB / 0.7153 GB, free: 2.641 MB / 0.5295 GB " [Timeout remaining time 291] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.569354556966573]