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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 91.06 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 174.5 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9784/0.9784, allocations: 120.5 MB / 413.2 MB, free: 9.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003035, allocations: 11.98 kB / 0.495 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.5394, allocations: 82.83 MB / 0.5759 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.001697/0.5412, allocations: 1.508 MB / 0.5774 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007958/0.542, allocations: 0.5434 MB / 0.5779 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.5421, allocations: 5.719 kB / 0.5779 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.5422, allocations: 19.78 kB / 0.5779 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.5424, allocations: 58.03 kB / 0.578 GB, free: 40.1 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.5426, allocations: 70.62 kB / 0.578 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.5431, allocations: 0.7211 MB / 0.5787 GB, free: 39.63 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.976e-05/0.5432, allocations: 42.98 kB / 0.5788 GB, free: 39.61 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.5434, allocations: 204.8 kB / 0.579 GB, free: 39.51 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.5437, allocations: 254.1 kB / 0.5792 GB, free: 39.36 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.178e-05/0.5437, allocations: 22.16 kB / 0.5792 GB, free: 39.36 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.818e-05/0.5438, allocations: 21.53 kB / 0.5793 GB, free: 39.36 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.5441, allocations: 122.2 kB / 0.5794 GB, free: 39.27 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004874/0.5446, allocations: 216.8 kB / 0.5796 GB, free: 39.11 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.5458, allocations: 0.5005 MB / 0.5801 GB, free: 38.79 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.5458, allocations: 0 / 0.5801 GB, free: 38.79 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5458, allocations: 3.938 kB / 0.5801 GB, free: 38.79 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.734e-05/0.5459, allocations: 0.9062 kB / 0.5801 GB, free: 38.79 MB / 462.3 MB 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.00324/0.5491, allocations: 0.8752 MB / 0.5809 GB, free: 38.14 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 7.691e-05/0.5492, allocations: 10.34 kB / 0.581 GB, free: 38.14 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000254/0.5495, allocations: 71.97 kB / 0.581 GB, free: 38.08 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.5498, allocations: 44.69 kB / 0.5811 GB, free: 38.05 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.5503, allocations: 355.2 kB / 0.5814 GB, free: 37.76 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.5503, allocations: 40.61 kB / 0.5814 GB, free: 37.73 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.5506, allocations: 73.41 kB / 0.5815 GB, free: 37.7 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008863/0.5515, allocations: 0.5208 MB / 0.582 GB, free: 37.41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.5515, allocations: 5.188 kB / 0.582 GB, free: 37.4 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.5515, allocations: 14.5 kB / 0.582 GB, free: 37.39 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/0.5516, allocations: 12.03 kB / 0.582 GB, free: 37.39 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.5526, allocations: 0.5023 MB / 0.5825 GB, free: 37.16 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.5562, allocations: 1.596 MB / 0.5841 GB, free: 36.2 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.5577, allocations: 0.8746 MB / 0.585 GB, free: 35.76 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004541/0.5581, allocations: 378.9 kB / 0.5853 GB, free: 35.58 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.5582, allocations: 9.547 kB / 0.5853 GB, free: 35.58 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.5582, allocations: 37.62 kB / 0.5854 GB, free: 35.54 MB / 462.3 MB Notification: Performance of pre-optimization done (n=52): time 2.334e-06/0.5582, allocations: 0 / 0.5854 GB, free: 35.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=52): time 0.001514/0.5597, allocations: 1.001 MB / 0.5863 GB, free: 35.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.5598, allocations: 57.19 kB / 0.5864 GB, free: 34.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.56, allocations: 310.7 kB / 0.5867 GB, free: 34.78 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.5601, allocations: 40.2 kB / 0.5867 GB, free: 34.73 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.364e-05/0.5602, allocations: 173.2 kB / 0.5869 GB, free: 34.58 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.5603, allocations: 205 kB / 0.5871 GB, free: 34.4 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.5604, allocations: 74.7 kB / 0.5872 GB, free: 34.35 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.5605, allocations: 356.7 kB / 0.5875 GB, free: 34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.561, allocations: 418.7 kB / 0.5879 GB, free: 33.61 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.5614, allocations: 0.4971 MB / 0.5884 GB, free: 33.09 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008718/0.5623, allocations: 0.8702 MB / 0.5892 GB, free: 32.19 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5623, allocations: 0 / 0.5892 GB, free: 32.19 MB / 462.3 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00132/0.5636, allocations: 1.024 MB / 0.5902 GB, free: 31.16 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5637, allocations: 10.81 kB / 0.5902 GB, free: 31.15 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5637, allocations: 7.938 kB / 0.5902 GB, free: 31.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.5637, allocations: 7.938 kB / 0.5903 GB, free: 31.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008645/0.5646, allocations: 227.7 kB / 0.5905 GB, free: 30.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.5646, allocations: 11.94 kB / 0.5905 GB, free: 30.9 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.565, allocations: 83.36 kB / 0.5906 GB, free: 30.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.565, allocations: 24 kB / 0.5906 GB, free: 30.8 MB / 462.3 MB 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.0001983/0.5652, allocations: 225.5 kB / 0.5908 GB, free: 30.57 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.5653, allocations: 39.53 kB / 0.5908 GB, free: 30.53 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.5665, allocations: 0.806 MB / 0.5916 GB, free: 29.71 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.5665, allocations: 4 kB / 0.5916 GB, free: 29.71 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5665, allocations: 0 / 0.5916 GB, free: 29.71 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5665, allocations: 0 / 0.5916 GB, free: 29.71 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.567, allocations: 0.5716 MB / 0.5922 GB, free: 29.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.567, allocations: 0 / 0.5922 GB, free: 29.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009102/0.5679, allocations: 207.7 kB / 0.5924 GB, free: 28.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.568, allocations: 4 kB / 0.5924 GB, free: 28.88 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.568, allocations: 39.91 kB / 0.5924 GB, free: 28.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.568, allocations: 4 kB / 0.5924 GB, free: 28.84 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.568, allocations: 0 / 0.5924 GB, free: 28.84 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.5693, allocations: 1.219 MB / 0.5936 GB, free: 27.6 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.5695, allocations: 184.5 kB / 0.5938 GB, free: 27.4 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/0.5695, allocations: 35.91 kB / 0.5938 GB, free: 27.37 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.57, allocations: 39.94 kB / 0.5939 GB, free: 27.33 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.5701, allocations: 36.33 kB / 0.5939 GB, free: 27.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.5701, allocations: 16 kB / 0.5939 GB, free: 27.28 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001594/0.5703, allocations: 225.9 kB / 0.5941 GB, free: 27.06 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5703, allocations: 0 / 0.5941 GB, free: 27.06 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004084/0.5707, allocations: 131.8 kB / 0.5943 GB, free: 26.93 MB / 462.3 MB 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.001442/0.5721, allocations: 1.793 MB / 0.596 GB, free: 25.11 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001/0.5731, allocations: 0.8335 MB / 0.5968 GB, free: 24.28 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.5732, allocations: 0 / 0.5968 GB, free: 24.28 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005176/0.5737, allocations: 366.2 kB / 0.5972 GB, free: 23.92 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.574, allocations: 29.91 kB / 0.5972 GB, free: 23.89 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007577/0.5816, allocations: 7.49 MB / 0.6045 GB, free: 16.27 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.5819, allocations: 0.9017 MB / 0.6054 GB, free: 15.34 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004955/0.5824, allocations: 255 kB / 0.6056 GB, free: 15.09 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.5826, allocations: 126.1 kB / 0.6058 GB, free: 14.97 MB / 462.3 MB Notification: Performance of SimCode: time 1.232e-06/0.5827, allocations: 0 / 0.6058 GB, free: 14.97 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.6016, allocations: 9.048 MB / 0.6146 GB, free: 6.145 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.6018, allocations: 240 kB / 0.6148 GB, free: 5.895 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/2.815, allocations: 3.016 kB / 0.6148 GB, free: 5.895 MB / 462.3 MB (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 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches