Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.0008366/0.0008366, allocations: 79.69 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.001174/0.001174, 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.9274/0.9274, 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.2416/0.2416, allocations: 32.79 MB / 293.5 MB, free: 1.25 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.735e-05, allocations: 2.281 kB / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002079/0.002097, allocations: 1.71 MB / 441.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.00321, allocations: 0.9975 MB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.003275, allocations: 0 / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.003516, allocations: 39.66 kB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.00376, allocations: 95.53 kB / 442.5 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.003899, allocations: 79.59 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.004048, allocations: 115.6 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.221e-05/0.00414, allocations: 12 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.004221, allocations: 63.81 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.004293, allocations: 31.89 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.004309, allocations: 4 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.004442, allocations: 111.8 kB / 442.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.004487, allocations: 19.92 kB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.004525, allocations: 27.91 kB / 443 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.004743, allocations: 179.4 kB / 443.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.004745, allocations: 0 / 443.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004745, allocations: 0 / 443.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.00475, allocations: 7.938 kB / 443.2 MB, free: 0.668 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000404/0.005154, allocations: 357.4 kB / 443.5 MB, free: 296 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.005187, allocations: 12.03 kB / 443.5 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.005214, allocations: 34.75 kB / 443.6 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.005243, allocations: 8.891 kB / 443.6 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.005422, allocations: 156.6 kB / 443.7 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.005432, allocations: 4.312 kB / 443.7 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.005447, allocations: 4.375 kB / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1782/0.1837, allocations: 97.94 kB / 443.8 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1837, allocations: 0 / 443.8 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1837, allocations: 1.219 kB / 443.8 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1837, allocations: 4.656 kB / 443.8 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.1838, allocations: 22.66 kB / 443.8 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.1842, allocations: 239.1 kB / 444.1 MB, free: 46.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.1843, allocations: 66.62 kB / 444.1 MB, free: 46.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.1844, allocations: 28.19 kB / 444.2 MB, free: 46.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.1844, allocations: 2.875 kB / 444.2 MB, free: 46.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.1845, allocations: 73.08 kB / 444.2 MB, free: 46.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.1845, allocations: 0.8438 kB / 444.2 MB, free: 46.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004845/0.185, allocations: 215.6 kB / 444.5 MB, free: 46.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.185, allocations: 77.11 kB / 444.5 MB, free: 45.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.1852, allocations: 178.5 kB / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1852, allocations: 35.34 kB / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.1852, allocations: 92.08 kB / 444.8 MB, free: 45.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.1852, allocations: 32.64 kB / 444.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.1853, allocations: 28.59 kB / 444.9 MB, free: 45.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.805e-05/0.1853, allocations: 322.8 kB / 445.2 MB, free: 45.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.1853, allocations: 29.8 kB / 445.2 MB, free: 45.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-05/0.1854, allocations: 77.75 kB / 445.3 MB, free: 45.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.341e-05/0.1855, allocations: 81.94 kB / 445.4 MB, free: 45.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1855, allocations: 0 / 445.4 MB, free: 45.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001314/0.1856, allocations: 138.2 kB / 445.5 MB, free: 45.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1856, allocations: 5.906 kB / 445.5 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1856, allocations: 0 / 445.5 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1856, allocations: 2.781 kB / 445.5 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.1857, allocations: 23.48 kB / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1857, allocations: 10.02 kB / 445.6 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.1857, allocations: 3.312 kB / 445.6 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1858, allocations: 7.375 kB / 445.6 MB, free: 45.29 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 (13): * Single equations (assignments): 13 * 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.555e-05/0.1858, allocations: 122.3 kB / 445.7 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.1858, allocations: 12.62 kB / 445.7 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.186, allocations: 139.7 kB / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.186, allocations: 0 / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.186, allocations: 2.906 kB / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.186, allocations: 7.875 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.1863, allocations: 399.9 kB / 446.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1863, allocations: 0 / 446.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.724e-05/0.1863, allocations: 15.81 kB / 446.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1863, allocations: 9.344 kB / 446.3 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1863, allocations: 3.188 kB / 446.3 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1863, allocations: 0 / 446.3 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1863, allocations: 3.75 kB / 446.3 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.1864, allocations: 224 kB / 446.5 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.1864, allocations: 13.92 kB / 446.5 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.1865, allocations: 10.78 kB / 446.5 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.181e-05/0.1865, allocations: 2.781 kB / 446.5 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.1865, allocations: 10.14 kB / 446.5 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1866, allocations: 3 kB / 446.5 MB, free: 44.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.226e-05/0.1866, allocations: 135.2 kB / 446.7 MB, free: 44.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1866, allocations: 0 / 446.7 MB, free: 44.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003175/0.1869, allocations: 57.56 kB / 446.7 MB, free: 44.53 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: 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 (11): * Single equations (assignments): 9 * 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.00127/0.1882, allocations: 1.263 MB / 448 MB, free: 43.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.1883, allocations: 79.3 kB / 448.1 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1883, allocations: 4.062 kB / 448.1 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.1884, allocations: 36.91 kB / 448.1 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.0002331/0.1886, allocations: 27.84 kB / 448.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1897, allocations: 1.681 MB / 449.8 MB, free: 42.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.1897, allocations: 89.91 kB / 449.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.245e-05/0.1898, allocations: 32.44 kB / 449.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.1899, allocations: 45.73 kB / 450 MB, free: 42.24 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1899, allocations: 192 / 450 MB, free: 42.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.207, allocations: 5.123 MB / 455.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/7.078, allocations: 14.97 kB / 455.1 MB, free: 40.65 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.217495520599186]