Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.0008603/0.0008603, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008824/0.0008824, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9257/0.9257, allocations: 177.2 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 34.25 MB / 294.9 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test39,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 0 / 442.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.618e-05, allocations: 4.25 kB / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.1808/0.1808, allocations: 1.661 MB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.1818, allocations: 0.9585 MB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.1819, allocations: 3.938 kB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.1821, allocations: 62.47 kB / 444.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.1824, allocations: 114.6 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.1825, allocations: 78.94 kB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.1826, allocations: 109.5 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.1827, allocations: 5.484 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.1828, allocations: 60.91 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.552e-05/0.1829, allocations: 40.75 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1829, allocations: 2.688 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.528e-05/0.1829, allocations: 38.5 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.183, allocations: 23.14 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.183, allocations: 15.66 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.1832, allocations: 102.5 kB / 445.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1832, allocations: 0 / 445.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1832, allocations: 0.5625 kB / 445.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1832, allocations: 0 / 445.5 MB, free: 42.94 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004044/0.1836, allocations: 338.7 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1836, allocations: 12.66 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.554e-05/0.1837, allocations: 30.75 kB / 445.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.1837, allocations: 14.28 kB / 445.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.1839, allocations: 155.8 kB / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1839, allocations: 384 / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.1839, allocations: 4.719 kB / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.184, allocations: 52.02 kB / 446.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.184, allocations: 2.531 kB / 446.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1841, allocations: 0 / 446.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1841, allocations: 0 / 446.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.825e-05/0.1841, allocations: 21.53 kB / 446.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.1842, allocations: 156.1 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.502e-05/0.1843, allocations: 52.91 kB / 446.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.1844, allocations: 20.95 kB / 446.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.1844, allocations: 3.625 kB / 446.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.1845, allocations: 71.72 kB / 446.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.1845, allocations: 0 / 446.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001826/0.1847, allocations: 103.4 kB / 446.5 MB, free: 42.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.1847, allocations: 51.41 kB / 446.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.755e-05/0.1848, allocations: 198.2 kB / 446.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.1848, allocations: 29.2 kB / 446.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.1848, allocations: 105.8 kB / 446.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.1848, allocations: 10.78 kB / 446.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.1849, allocations: 29.28 kB / 447 MB, free: 41.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.065e-05/0.1849, allocations: 320.1 kB / 447.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-05/0.1849, allocations: 15.45 kB / 447.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/0.185, allocations: 31.73 kB / 447.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.528e-05/0.185, allocations: 45.42 kB / 447.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.185, allocations: 0 / 447.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.259e-05/0.1851, allocations: 87.41 kB / 447.4 MB, free: 41.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1851, allocations: 12.19 kB / 447.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1851, allocations: 0 / 447.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1851, allocations: 0 / 447.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.1852, allocations: 8.75 kB / 447.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.1852, allocations: 2.906 kB / 447.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.1852, allocations: 11.28 kB / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1852, allocations: 0 / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.138e-05/0.1853, allocations: 122.5 kB / 447.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-06/0.1853, allocations: 24.75 kB / 447.6 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.1854, allocations: 98.69 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1854, allocations: 2.938 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1854, allocations: 0 / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1854, allocations: 0 / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.694e-05/0.1855, allocations: 159 kB / 447.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1855, allocations: 3.188 kB / 447.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.1855, allocations: 8.969 kB / 447.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1855, allocations: 5.531 kB / 447.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1855, allocations: 3.422 kB / 447.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.1855, allocations: 6.562 kB / 447.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1855, allocations: 0 / 447.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.981e-05/0.1856, allocations: 117.1 kB / 448 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.1856, allocations: 16.36 kB / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.1856, allocations: 3.688 kB / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.762e-05/0.1856, allocations: 2.844 kB / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.1857, allocations: 6.109 kB / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1857, allocations: 2.594 kB / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.841e-05/0.1857, allocations: 151.5 kB / 448.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1857, allocations: 0 / 448.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000142/0.1859, allocations: 25.5 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008844/0.1868, allocations: 0.9904 MB / 449.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.1869, allocations: 44.06 kB / 449.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1869, allocations: 0 / 449.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/0.1869, allocations: 15.66 kB / 449.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1872, allocations: 34.25 kB / 449.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1882, allocations: 1.527 MB / 450.8 MB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.052e-05/0.1882, allocations: 90.05 kB / 450.9 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.676e-05/0.1883, allocations: 16.83 kB / 450.9 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.1883, allocations: 33.05 kB / 451 MB, free: 38.92 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1883, allocations: 0 / 451 MB, free: 38.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.2045, allocations: 3.972 MB / 454.9 MB, free: 37.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/7.161, allocations: 6.094 kB / 454.9 MB, free: 37.56 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.328855701722205]