Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.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.001253/0.001253, allocations: 123.2 kB / 17.79 MB, free: 5.246 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.001273/0.001273, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.34/1.34, allocations: 225.6 MB / 249.1 MB, free: 3.602 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.6934/0.6934, allocations: 120.6 MB / 424.6 MB, free: 5.539 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.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.89 kB / 0.5932 GB, free: 3.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5483/0.5502, allocations: 84.65 MB / 0.6759 GB, free: 16.41 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.002294/0.5525, allocations: 1.818 MB / 0.6777 GB, free: 15.08 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0007677/0.5532, allocations: 0.5584 MB / 0.6782 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.5533, allocations: 1.188 kB / 0.6782 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.5534, allocations: 36.95 kB / 0.6782 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.5536, allocations: 64.84 kB / 0.6783 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.5538, allocations: 77.5 kB / 0.6784 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.5541, allocations: 353.4 kB / 0.6787 GB, free: 14.28 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.5541, allocations: 20.73 kB / 0.6787 GB, free: 14.28 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.5542, allocations: 139.1 kB / 0.6789 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.5544, allocations: 150.6 kB / 0.679 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.5545, allocations: 19.25 kB / 0.679 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 4.234e-05/0.5545, allocations: 19.25 kB / 0.679 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 8.063e-05/0.5546, allocations: 76.41 kB / 0.6791 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.5547, allocations: 110.6 kB / 0.6792 GB, free: 13.99 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.5549, allocations: 268.7 kB / 0.6795 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5549, allocations: 8.844 kB / 0.6795 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5549, allocations: 0 / 0.6795 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5549, allocations: 0 / 0.6795 GB, free: 13.82 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001093/0.556, allocations: 0.6318 MB / 0.6801 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5561, allocations: 16.88 kB / 0.6801 GB, free: 13.28 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.526e-05/0.5561, allocations: 45.44 kB / 0.6802 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.5562, allocations: 28.56 kB / 0.6802 GB, free: 13.21 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.5565, allocations: 260.9 kB / 0.6804 GB, free: 12.97 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5565, allocations: 24.94 kB / 0.6805 GB, free: 12.95 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.5566, allocations: 33.17 kB / 0.6805 GB, free: 12.94 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.557, allocations: 302.1 kB / 0.6808 GB, free: 12.75 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.5571, allocations: 0.9375 kB / 0.6808 GB, free: 12.75 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.5571, allocations: 5.812 kB / 0.6808 GB, free: 12.75 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.5571, allocations: 5.562 kB / 0.6808 GB, free: 12.75 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.5574, allocations: 239.2 kB / 0.681 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.5594, allocations: 1.102 MB / 0.6821 GB, free: 11.86 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008242/0.5602, allocations: 433.3 kB / 0.6825 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.5604, allocations: 166.8 kB / 0.6827 GB, free: 11.56 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.5604, allocations: 5.188 kB / 0.6827 GB, free: 11.55 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.5605, allocations: 33.09 kB / 0.6827 GB, free: 11.52 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=23): time 1.303e-06/0.5605, allocations: 0 / 0.6827 GB, free: 11.52 MB / 0.5139 GB Notification: Performance of matching and sorting (n=23): time 0.0006512/0.5611, allocations: 469.4 kB / 0.6832 GB, free: 11.28 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.5611, allocations: 53.94 kB / 0.6832 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.5613, allocations: 219 kB / 0.6834 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.5613, allocations: 34.89 kB / 0.6835 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.5614, allocations: 130.2 kB / 0.6836 GB, free: 10.89 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.5614, allocations: 101.5 kB / 0.6837 GB, free: 10.8 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.5615, allocations: 69.12 kB / 0.6837 GB, free: 10.76 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.5616, allocations: 338.4 kB / 0.6841 GB, free: 10.43 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.5618, allocations: 187.5 kB / 0.6842 GB, free: 10.34 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.5621, allocations: 247 kB / 0.6845 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/0.5626, allocations: 426.4 kB / 0.6849 GB, free: 9.961 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5626, allocations: 1.188 kB / 0.6849 GB, free: 9.961 MB / 0.5139 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006354/0.5632, allocations: 0.5063 MB / 0.6854 GB, free: 9.699 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5632, allocations: 5.656 kB / 0.6854 GB, free: 9.699 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5633, allocations: 1.094 kB / 0.6854 GB, free: 9.699 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.5633, allocations: 2.438 kB / 0.6854 GB, free: 9.699 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.5637, allocations: 110.3 kB / 0.6855 GB, free: 9.672 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.5637, allocations: 2.531 kB / 0.6855 GB, free: 9.672 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.5639, allocations: 41.69 kB / 0.6855 GB, free: 9.645 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.564, allocations: 12.91 kB / 0.6855 GB, free: 9.641 MB / 0.5139 GB 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.0001174/0.5641, allocations: 169.7 kB / 0.6857 GB, free: 9.488 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.5641, allocations: 24.88 kB / 0.6857 GB, free: 9.473 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.9e-05/0.5642, allocations: 35.12 kB / 0.6858 GB, free: 9.438 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.5642, allocations: 3.031 kB / 0.6858 GB, free: 9.438 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5642, allocations: 7.938 kB / 0.6858 GB, free: 9.43 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5642, allocations: 3.984 kB / 0.6858 GB, free: 9.426 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.5645, allocations: 357.1 kB / 0.6861 GB, free: 9.113 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5645, allocations: 4.875 kB / 0.6861 GB, free: 9.109 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/0.565, allocations: 91.92 kB / 0.6862 GB, free: 9.09 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.565, allocations: 1.062 kB / 0.6862 GB, free: 9.09 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.565, allocations: 13.81 kB / 0.6862 GB, free: 9.082 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.565, allocations: 4.953 kB / 0.6862 GB, free: 9.078 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5651, allocations: 1.125 kB / 0.6862 GB, free: 9.078 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006632/0.5657, allocations: 0.6142 MB / 0.6868 GB, free: 8.711 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.5659, allocations: 129.9 kB / 0.687 GB, free: 8.59 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.5659, allocations: 15.05 kB / 0.687 GB, free: 8.582 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.5661, allocations: 20.28 kB / 0.687 GB, free: 8.57 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.5661, allocations: 14.52 kB / 0.687 GB, free: 8.562 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.5661, allocations: 11.92 kB / 0.687 GB, free: 8.555 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001167/0.5662, allocations: 163 kB / 0.6872 GB, free: 8.438 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9e-08/0.5662, allocations: 0 / 0.6872 GB, free: 8.438 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003022/0.5665, allocations: 63.44 kB / 0.6872 GB, free: 8.426 MB / 0.5139 GB 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.0008416/0.5674, allocations: 1.173 MB / 0.6884 GB, free: 7.508 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.5679, allocations: 381.8 kB / 0.6887 GB, free: 7.34 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5679, allocations: 0 / 0.6887 GB, free: 7.34 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.5681, allocations: 159 kB / 0.6889 GB, free: 7.27 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.5683, allocations: 10.75 kB / 0.6889 GB, free: 7.262 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.572, allocations: 3.99 MB / 0.6928 GB, free: 4.414 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.5722, allocations: 0.7945 MB / 0.6936 GB, free: 3.664 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0002454/0.5724, allocations: 109.9 kB / 0.6937 GB, free: 3.621 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.5726, allocations: 65.09 kB / 0.6937 GB, free: 3.57 MB / 0.5139 GB Notification: Performance of SimCode: time 5.91e-07/0.5726, allocations: 4 kB / 0.6937 GB, free: 3.566 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.6017, allocations: 5.211 MB / 0.6988 GB, free: 1.039 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.633, allocations: 5.906 kB / 0.6988 GB, free: 1.035 MB / 0.5139 GB " [Timeout remaining time 291] (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad_fmu --startTime=0 --stopTime=500 --stepSize=0.05 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.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.262194706127048]