Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.0008054/0.0008054, 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.0008102/0.0008102, allocations: 170.3 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.9543/0.9543, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2349/0.2349, allocations: 32.79 MB / 293.5 MB, free: 1.227 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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.609e-05, allocations: 2.281 kB / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002097/0.002113, allocations: 1.916 MB / 441.6 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.003431, allocations: 1.009 MB / 442.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.003518, allocations: 7.938 kB / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.003788, allocations: 39.77 kB / 442.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.004032, allocations: 103.4 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.004185, allocations: 95.58 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.004355, allocations: 151.5 kB / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.004455, allocations: 25.67 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.004543, allocations: 75.81 kB / 443.1 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.004619, allocations: 35.89 kB / 443.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.004636, allocations: 12 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.251e-05/0.004708, allocations: 43.98 kB / 443.2 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.00476, allocations: 31.84 kB / 443.2 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.004804, allocations: 27.86 kB / 443.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.004997, allocations: 159.4 kB / 443.4 MB, free: 444 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004999, allocations: 0 / 443.4 MB, free: 444 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005, allocations: 0 / 443.4 MB, free: 444 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.005004, allocations: 0 / 443.4 MB, free: 444 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.176/0.181, allocations: 412.8 kB / 443.8 MB, free: 46.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1811, allocations: 9 kB / 443.8 MB, free: 46.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.1811, allocations: 41.19 kB / 443.8 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.1812, allocations: 14.05 kB / 443.8 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1814, allocations: 167.8 kB / 444 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1814, allocations: 5.969 kB / 444 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.1814, allocations: 4.844 kB / 444 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1816, allocations: 138 kB / 444.1 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1816, allocations: 1.844 kB / 444.2 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1816, allocations: 5 kB / 444.2 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1817, allocations: 4.922 kB / 444.2 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.1817, allocations: 54.97 kB / 444.2 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.1821, allocations: 483.6 kB / 444.7 MB, free: 46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.1823, allocations: 83.14 kB / 444.8 MB, free: 45.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.1824, allocations: 40.16 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.1824, allocations: 2.188 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.1825, allocations: 111.7 kB / 444.9 MB, free: 45.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.1825, allocations: 1.5 kB / 444.9 MB, free: 45.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000243/0.1828, allocations: 154.5 kB / 445.1 MB, free: 45.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.1828, allocations: 61.88 kB / 445.1 MB, free: 45.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1829, allocations: 197.9 kB / 445.3 MB, free: 45.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.1829, allocations: 28.48 kB / 445.4 MB, free: 45.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.183, allocations: 119.2 kB / 445.5 MB, free: 45.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.183, allocations: 33.33 kB / 445.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.183, allocations: 28.58 kB / 445.5 MB, free: 45.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.282e-05/0.1831, allocations: 334.2 kB / 445.9 MB, free: 45.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.1831, allocations: 26.81 kB / 445.9 MB, free: 45.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.001e-05/0.1832, allocations: 63.73 kB / 445.9 MB, free: 45.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.706e-05/0.1832, allocations: 101.2 kB / 446 MB, free: 45.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1832, allocations: 0 / 446 MB, free: 45.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001384/0.1834, allocations: 143.7 kB / 446.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1834, allocations: 6.344 kB / 446.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1834, allocations: 3.375 kB / 446.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1834, allocations: 2.75 kB / 446.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.566e-05/0.1835, allocations: 24.94 kB / 446.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1835, allocations: 2.844 kB / 446.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.1835, allocations: 16.77 kB / 446.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1835, allocations: 5.781 kB / 446.2 MB, free: 45.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 5.886e-05/0.1836, allocations: 134.7 kB / 446.4 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.1836, allocations: 13.84 kB / 446.4 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.1838, allocations: 134 kB / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1838, allocations: 5.781 kB / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1838, allocations: 0 / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1838, allocations: 3.188 kB / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.758e-05/0.1838, allocations: 177.5 kB / 446.7 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1838, allocations: 2.875 kB / 446.7 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.1839, allocations: 16.19 kB / 446.7 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1839, allocations: 6.156 kB / 446.7 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1839, allocations: 6.25 kB / 446.7 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1839, allocations: 0 / 446.7 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1839, allocations: 0 / 446.7 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1841, allocations: 204.7 kB / 446.9 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.1841, allocations: 14.27 kB / 446.9 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.1841, allocations: 2.938 kB / 446.9 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.731e-05/0.1842, allocations: 6.281 kB / 447 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.1842, allocations: 10.41 kB / 447 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1842, allocations: 2.969 kB / 447 MB, free: 44.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.19e-05/0.1843, allocations: 149.2 kB / 447.1 MB, free: 44.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1843, allocations: 0 / 447.1 MB, free: 44.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.1844, allocations: 26.62 kB / 447.1 MB, free: 44.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008593/0.1853, allocations: 1.063 MB / 448.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.1854, allocations: 82.36 kB / 448.3 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1854, allocations: 0 / 448.3 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.051e-05/0.1855, allocations: 39.06 kB / 448.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.1857, allocations: 41.11 kB / 448.4 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1867, allocations: 1.771 MB / 450.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.761e-05/0.1867, allocations: 105.7 kB / 450.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.664e-05/0.1868, allocations: 26.8 kB / 450.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.1868, allocations: 44.25 kB / 450.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of SimCode: time 6.12e-07/0.1868, allocations: 0 / 450.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.2028, allocations: 4.696 MB / 455 MB, free: 40.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/7.337, allocations: 13.66 kB / 455 MB, free: 40.75 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.462738707661629]