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.001293/0.001293, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.001442/0.001442, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.282/1.282, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8858/0.8858, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 0.491 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.5073, allocations: 80.69 MB / 0.5698 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.002732/0.51, allocations: 1.802 MB / 0.5716 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007943/0.5108, allocations: 0.5538 MB / 0.5721 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.5109, allocations: 0 / 0.5721 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.511, allocations: 21.16 kB / 0.5722 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.5113, allocations: 71.89 kB / 0.5722 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.5115, allocations: 82.77 kB / 0.5723 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005364/0.5121, allocations: 0.6515 MB / 0.5729 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.5122, allocations: 54.23 kB / 0.573 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.5124, allocations: 245.9 kB / 0.5732 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.5127, allocations: 282.5 kB / 0.5735 GB, free: 40.67 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.369e-05/0.5128, allocations: 40.75 kB / 0.5735 GB, free: 40.67 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.582e-05/0.5129, allocations: 38.5 kB / 0.5736 GB, free: 40.67 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.5131, allocations: 142 kB / 0.5737 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.5133, allocations: 228.3 kB / 0.5739 GB, free: 40.41 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.5137, allocations: 0.5303 MB / 0.5745 GB, free: 40.07 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5137, allocations: 3.938 kB / 0.5745 GB, free: 40.07 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5137, allocations: 0 / 0.5745 GB, free: 40.07 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.5138, allocations: 1.25 kB / 0.5745 GB, free: 40.07 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.001915/0.5157, allocations: 0.9408 MB / 0.5754 GB, free: 39.39 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5157, allocations: 17.86 kB / 0.5754 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.278e-05/0.5158, allocations: 72.16 kB / 0.5755 GB, free: 39.31 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.5159, allocations: 42.72 kB / 0.5755 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.5163, allocations: 354.9 kB / 0.5758 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.5163, allocations: 28.72 kB / 0.5759 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.5166, allocations: 71.5 kB / 0.5759 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/0.5173, allocations: 0.523 MB / 0.5764 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.5173, allocations: 5.062 kB / 0.5765 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.5173, allocations: 14.53 kB / 0.5765 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.5174, allocations: 19.67 kB / 0.5765 GB, free: 38.63 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006914/0.5181, allocations: 0.507 MB / 0.577 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003019/0.5211, allocations: 1.567 MB / 0.5785 GB, free: 37.44 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.5226, allocations: 0.8725 MB / 0.5794 GB, free: 37.01 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004913/0.5231, allocations: 389.9 kB / 0.5797 GB, free: 36.82 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.5231, allocations: 5.469 kB / 0.5797 GB, free: 36.82 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.5231, allocations: 37.53 kB / 0.5798 GB, free: 36.78 MB / 462.3 MB Notification: Performance of pre-optimization done (n=52): time 2.134e-06/0.5231, allocations: 0 / 0.5798 GB, free: 36.78 MB / 462.3 MB Notification: Performance of matching and sorting (n=52): time 0.001372/0.5245, allocations: 0.9853 MB / 0.5807 GB, free: 36.3 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.5245, allocations: 64.89 kB / 0.5808 GB, free: 36.23 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.5248, allocations: 314.1 kB / 0.5811 GB, free: 36.02 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.5248, allocations: 37.48 kB / 0.5811 GB, free: 35.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.5249, allocations: 175.8 kB / 0.5813 GB, free: 35.82 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5251, allocations: 206.2 kB / 0.5815 GB, free: 35.64 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.5252, allocations: 133.8 kB / 0.5816 GB, free: 35.57 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.215e-05/0.5253, allocations: 356.7 kB / 0.582 GB, free: 35.23 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/0.5259, allocations: 416.4 kB / 0.5824 GB, free: 35.03 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.5265, allocations: 0.4968 MB / 0.5828 GB, free: 34.75 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.5276, allocations: 0.8765 MB / 0.5837 GB, free: 34.27 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.5276, allocations: 1.219 kB / 0.5837 GB, free: 34.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001338/0.5289, allocations: 1.02 MB / 0.5847 GB, free: 33.78 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5289, allocations: 5.375 kB / 0.5847 GB, free: 33.78 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.529, allocations: 14.77 kB / 0.5847 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.529, allocations: 4.719 kB / 0.5847 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/0.5299, allocations: 233.6 kB / 0.5849 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.5299, allocations: 16.27 kB / 0.585 GB, free: 33.69 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.5303, allocations: 81.75 kB / 0.585 GB, free: 33.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.5303, allocations: 24.41 kB / 0.5851 GB, free: 33.63 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.000196/0.5305, allocations: 218.5 kB / 0.5853 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.5306, allocations: 31.34 kB / 0.5853 GB, free: 33.44 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009648/0.5316, allocations: 0.8188 MB / 0.5861 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.5316, allocations: 4 kB / 0.5861 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.5316, allocations: 0 / 0.5861 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5316, allocations: 0 / 0.5861 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.5321, allocations: 0.5716 MB / 0.5867 GB, free: 32.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5322, allocations: 3.984 kB / 0.5867 GB, free: 32.07 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009076/0.5331, allocations: 199.8 kB / 0.5869 GB, free: 31.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5331, allocations: 4 kB / 0.5869 GB, free: 31.87 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.5331, allocations: 35.91 kB / 0.5869 GB, free: 31.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5331, allocations: 4 kB / 0.5869 GB, free: 31.83 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5332, allocations: 4 kB / 0.5869 GB, free: 31.83 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.5343, allocations: 1.219 MB / 0.5881 GB, free: 30.59 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.5345, allocations: 188.5 kB / 0.5883 GB, free: 30.39 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-05/0.5346, allocations: 35.91 kB / 0.5883 GB, free: 30.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.5349, allocations: 39.94 kB / 0.5883 GB, free: 30.32 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.5349, allocations: 32.39 kB / 0.5884 GB, free: 30.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.535, allocations: 12 kB / 0.5884 GB, free: 30.27 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001565/0.5351, allocations: 229.9 kB / 0.5886 GB, free: 30.05 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5351, allocations: 0 / 0.5886 GB, free: 30.05 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003921/0.5355, allocations: 127.9 kB / 0.5887 GB, free: 29.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.001413/0.537, allocations: 1.797 MB / 0.5905 GB, free: 28.1 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.5382, allocations: 1.052 MB / 0.5915 GB, free: 27.05 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5382, allocations: 4 kB / 0.5915 GB, free: 27.05 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.5385, allocations: 374.1 kB / 0.5919 GB, free: 26.68 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.5389, allocations: 24.89 kB / 0.5919 GB, free: 26.66 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006203/0.5451, allocations: 7.023 MB / 0.5988 GB, free: 19.5 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.5454, allocations: 0.9014 MB / 0.5996 GB, free: 18.58 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000439/0.5458, allocations: 250.9 kB / 0.5999 GB, free: 18.33 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.546, allocations: 127.4 kB / 0.6 GB, free: 18.21 MB / 462.3 MB Notification: Performance of SimCode: time 7.62e-07/0.5461, allocations: 0 / 0.6 GB, free: 18.21 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.5724, allocations: 9.461 MB / 0.6092 GB, free: 8.926 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.601/9.173, allocations: 448 / 0.6092 GB, free: 8.926 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches