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.001559/0.001559, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00174/0.00174, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.375/1.375, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.9238/0.9238, allocations: 120.6 MB / 434.5 MB, free: 0.6523 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="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: 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.002073/0.002073, allocations: 63.91 kB / 0.6067 GB, free: 10.75 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1609, allocations: 85.86 MB / 0.6905 GB, free: 4.672 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.003407/0.1643, allocations: 1.733 MB / 0.6922 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1657, allocations: 0.5576 MB / 0.6928 GB, free: 2.367 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.1659, allocations: 0 / 0.6928 GB, free: 2.367 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.166, allocations: 27.72 kB / 0.6928 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.1663, allocations: 75.52 kB / 0.6929 GB, free: 2.266 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1666, allocations: 67.88 kB / 0.6929 GB, free: 2.199 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0007155/0.1673, allocations: 0.6597 MB / 0.6936 GB, free: 1.535 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.25e-05/0.1674, allocations: 12.94 kB / 0.6936 GB, free: 1.523 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.1678, allocations: 271.3 kB / 0.6939 GB, free: 1.258 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004673/0.1682, allocations: 315.1 kB / 0.6942 GB, free: 0.9492 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 9.041e-05/0.1683, allocations: 40 kB / 0.6942 GB, free: 0.9102 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.554e-05/0.1684, allocations: 36 kB / 0.6942 GB, free: 0.875 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.1686, allocations: 155.5 kB / 0.6944 GB, free: 0.7227 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.1688, allocations: 195.2 kB / 0.6946 GB, free: 0.5312 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.000551/0.1694, allocations: 0.5374 MB / 0.6951 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1694, allocations: 0 / 0.6951 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1694, allocations: 0 / 0.6951 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.1694, allocations: 0 / 0.6951 GB, free: 15.99 MB / 0.5295 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.1715, allocations: 0.8833 MB / 0.696 GB, free: 15.08 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1715, allocations: 8.031 kB / 0.696 GB, free: 15.07 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.053e-05/0.1716, allocations: 74.66 kB / 0.696 GB, free: 14.99 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.325e-05/0.1717, allocations: 48.7 kB / 0.6961 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006008/0.1723, allocations: 312.8 kB / 0.6964 GB, free: 14.61 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.1723, allocations: 29.03 kB / 0.6964 GB, free: 14.58 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.1726, allocations: 72.42 kB / 0.6965 GB, free: 14.51 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.1733, allocations: 0.5212 MB / 0.697 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.1734, allocations: 0 / 0.697 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.1734, allocations: 16 kB / 0.697 GB, free: 13.96 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.1734, allocations: 16.59 kB / 0.697 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007664/0.1742, allocations: 0.5021 MB / 0.6975 GB, free: 13.45 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.1777, allocations: 1.478 MB / 0.699 GB, free: 11.93 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.1793, allocations: 0.8528 MB / 0.6998 GB, free: 11.06 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.1798, allocations: 365.8 kB / 0.7001 GB, free: 10.7 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.1798, allocations: 8.438 kB / 0.7001 GB, free: 10.69 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.1799, allocations: 42.98 kB / 0.7002 GB, free: 10.64 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=52): time 2.324e-06/0.1799, allocations: 0 / 0.7002 GB, free: 10.64 MB / 0.5295 GB Notification: Performance of matching and sorting (n=52): time 0.001698/0.1816, allocations: 0.9962 MB / 0.7012 GB, free: 9.645 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.1816, allocations: 55.84 kB / 0.7012 GB, free: 9.578 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.182, allocations: 317.8 kB / 0.7015 GB, free: 9.258 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.1821, allocations: 37.7 kB / 0.7015 GB, free: 9.215 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.1822, allocations: 177 kB / 0.7017 GB, free: 9.039 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.1824, allocations: 214.2 kB / 0.7019 GB, free: 8.828 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.1826, allocations: 138.6 kB / 0.7021 GB, free: 8.684 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.1828, allocations: 354.8 kB / 0.7024 GB, free: 8.328 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/0.1834, allocations: 413.6 kB / 0.7028 GB, free: 7.926 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006597/0.1841, allocations: 0.5011 MB / 0.7033 GB, free: 7.398 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.1853, allocations: 0.8741 MB / 0.7041 GB, free: 6.5 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1853, allocations: 0 / 0.7041 GB, free: 6.5 MB / 0.5295 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001561/0.1869, allocations: 1.032 MB / 0.7051 GB, free: 5.461 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1869, allocations: 8 kB / 0.7051 GB, free: 5.453 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.1869, allocations: 3.938 kB / 0.7051 GB, free: 5.449 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.1869, allocations: 4 kB / 0.7052 GB, free: 5.445 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009691/0.1879, allocations: 227.7 kB / 0.7054 GB, free: 5.223 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.1879, allocations: 7.938 kB / 0.7054 GB, free: 5.215 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.1883, allocations: 91.48 kB / 0.7055 GB, free: 5.125 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.1883, allocations: 24 kB / 0.7055 GB, free: 5.102 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.0002814/0.1886, allocations: 225.8 kB / 0.7057 GB, free: 4.871 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.738e-05/0.1887, allocations: 35.77 kB / 0.7057 GB, free: 4.836 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.19, allocations: 0.7984 MB / 0.7065 GB, free: 4.031 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.19, allocations: 8 kB / 0.7065 GB, free: 4.023 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.19, allocations: 0 / 0.7065 GB, free: 4.023 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.19, allocations: 3.984 kB / 0.7065 GB, free: 4.02 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007079/0.1907, allocations: 0.4889 MB / 0.707 GB, free: 3.488 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.1907, allocations: 4 kB / 0.707 GB, free: 3.484 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009947/0.1917, allocations: 207.7 kB / 0.7072 GB, free: 3.281 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.1917, allocations: 8 kB / 0.7072 GB, free: 3.273 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.1918, allocations: 31.91 kB / 0.7072 GB, free: 3.242 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1918, allocations: 0 / 0.7072 GB, free: 3.242 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1918, allocations: 0 / 0.7072 GB, free: 3.242 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.1935, allocations: 1.227 MB / 0.7084 GB, free: 1.992 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.1938, allocations: 123.6 kB / 0.7086 GB, free: 1.871 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.692e-05/0.1939, allocations: 27.92 kB / 0.7086 GB, free: 1.844 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.1942, allocations: 43.94 kB / 0.7086 GB, free: 1.801 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.1943, allocations: 44.23 kB / 0.7087 GB, free: 1.758 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.1943, allocations: 15.94 kB / 0.7087 GB, free: 1.742 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.000242/0.1946, allocations: 221.2 kB / 0.7089 GB, free: 1.527 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.1946, allocations: 4 kB / 0.7089 GB, free: 1.523 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0004384/0.195, allocations: 124 kB / 0.709 GB, free: 1.402 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.001978/0.197, allocations: 1.794 MB / 0.7108 GB, free: 15.58 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.1982, allocations: 0.8063 MB / 0.7116 GB, free: 14.78 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1982, allocations: 448 / 0.7116 GB, free: 14.78 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0004893/0.1987, allocations: 362.2 kB / 0.7119 GB, free: 14.43 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.199, allocations: 25.59 kB / 0.7119 GB, free: 14.4 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008874/0.2079, allocations: 6.968 MB / 0.7187 GB, free: 7.301 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.2082, allocations: 305.9 kB / 0.719 GB, free: 6.984 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0005474/0.2088, allocations: 243 kB / 0.7193 GB, free: 6.746 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.2091, allocations: 131.4 kB / 0.7194 GB, free: 6.617 MB / 0.5452 GB Notification: Performance of SimCode: time 1.312e-06/0.2091, allocations: 0 / 0.7194 GB, free: 6.617 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04231/0.2514, allocations: 10.07 MB / 0.7292 GB, free: 12.73 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.14, allocations: 16.17 kB / 0.7292 GB, free: 12.72 MB / 0.5608 GB " [Timeout remaining time 289] (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.020831176545471]