Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001225/0.001225, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001474/0.001474, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9463/0.9463, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2469/0.2469, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 439.7 MB, free: 4.188 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.502e-05, allocations: 4.391 kB / 439.7 MB, free: 4.184 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00259/0.002615, allocations: 1.793 MB / 441.4 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.00402, allocations: 1.047 MB / 442.5 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.004104, allocations: 4 kB / 442.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004482/0.004553, allocations: 303 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.004958, allocations: 263 kB / 443.1 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.005186, allocations: 107.6 kB / 443.2 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.005438, allocations: 259.2 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.005482, allocations: 13.8 kB / 443.4 MB, free: 400 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.005629, allocations: 155.5 kB / 443.6 MB, free: 244 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.005815, allocations: 200.1 kB / 443.8 MB, free: 44 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.005836, allocations: 8 kB / 443.8 MB, free: 36 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1989/0.2048, allocations: 51.53 kB / 443.8 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.205, allocations: 131.9 kB / 444 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.2051, allocations: 76.31 kB / 444 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004702/0.2056, allocations: 352.5 kB / 444.4 MB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.2056, allocations: 0 / 444.4 MB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2056, allocations: 0 / 444.4 MB, free: 43.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.2056, allocations: 1.406 kB / 444.4 MB, free: 43.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008941/0.2065, allocations: 0.6751 MB / 445.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.2066, allocations: 11.38 kB / 445.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.2066, allocations: 30.75 kB / 445.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.2067, allocations: 56.86 kB / 445.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.2072, allocations: 381.3 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.2072, allocations: 3.312 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.2072, allocations: 7.156 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.2074, allocations: 88.55 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2074, allocations: 0 / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2074, allocations: 8.125 kB / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.2074, allocations: 0 / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.2075, allocations: 37.42 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.2078, allocations: 320.2 kB / 446 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.208, allocations: 111.7 kB / 446.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.208, allocations: 38.2 kB / 446.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.2081, allocations: 0.7188 kB / 446.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.2082, allocations: 113.8 kB / 446.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.284e-06/0.2082, allocations: 3.562 kB / 446.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003889/0.2086, allocations: 221.2 kB / 446.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.2087, allocations: 80.3 kB / 446.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007724/0.2094, allocations: 1.034 MB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2095, allocations: 27.89 kB / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.2096, allocations: 232.4 kB / 447.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.2096, allocations: 28.02 kB / 447.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.2097, allocations: 30.98 kB / 447.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.2098, allocations: 373.3 kB / 448.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.707e-05/0.2098, allocations: 29.53 kB / 448.3 MB, free: 41.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.423e-05/0.2099, allocations: 55.61 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.21, allocations: 92.56 kB / 448.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.21, allocations: 0.7188 kB / 448.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002058/0.2103, allocations: 185.2 kB / 448.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2103, allocations: 13.09 kB / 448.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2103, allocations: 0 / 448.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2103, allocations: 2.406 kB / 448.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.2104, allocations: 20.67 kB / 448.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2104, allocations: 6.188 kB / 448.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.352e-05/0.2105, allocations: 9.078 kB / 448.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.2105, allocations: 7.281 kB / 448.7 MB, free: 41.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001484/0.2106, allocations: 217.8 kB / 448.9 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.2107, allocations: 54.53 kB / 448.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.2109, allocations: 210.3 kB / 449.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.211, allocations: 2.75 kB / 449.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.211, allocations: 0 / 449.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.211, allocations: 2.906 kB / 449.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.2111, allocations: 297 kB / 449.4 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2111, allocations: 0 / 449.4 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.2112, allocations: 12.58 kB / 449.4 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2112, allocations: 2.688 kB / 449.4 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2112, allocations: 6.75 kB / 449.4 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.2112, allocations: 9.141 kB / 449.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2112, allocations: 1.703 kB / 449.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.2114, allocations: 221.7 kB / 449.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.2115, allocations: 67.67 kB / 449.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.2115, allocations: 3.938 kB / 449.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.2115, allocations: 12.73 kB / 449.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.2116, allocations: 6.188 kB / 449.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.2116, allocations: 5.594 kB / 449.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005582/0.2122, allocations: 0.7711 MB / 450.5 MB, free: 41 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2122, allocations: 0 / 450.5 MB, free: 41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.2124, allocations: 45.36 kB / 450.6 MB, free: 41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001286/0.2137, allocations: 1.1 MB / 451.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.2139, allocations: 84.64 kB / 451.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2139, allocations: 0 / 451.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.214e-05/0.214, allocations: 48.02 kB / 451.8 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.2143, allocations: 77.28 kB / 451.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.2179, allocations: 4.531 MB / 456.4 MB, free: 38.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.218, allocations: 246.8 kB / 456.7 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.2181, allocations: 61.09 kB / 456.7 MB, free: 38.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.2182, allocations: 151.9 kB / 456.9 MB, free: 37.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.724e-06/0.2182, allocations: 0 / 456.9 MB, free: 37.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.242, allocations: 9.968 MB / 466.8 MB, free: 35.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.169/7.411, allocations: 7.875 kB / 466.8 MB, free: 35.95 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.613700808025897]