Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.0008326/0.0008326, 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.0009163/0.0009163, allocations: 174 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.9108/0.9108, 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.2439/0.2439, allocations: 32.78 MB / 293.5 MB, free: 1.223 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 439.7 MB, free: 4.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.26e-05, allocations: 2.281 kB / 439.7 MB, free: 4.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002612/0.002635, allocations: 1.7 MB / 441.4 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.00393, allocations: 0.9819 MB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.89e-05/0.004019, allocations: 0 / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.004337, allocations: 27.84 kB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.004711, allocations: 99.41 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.004945, allocations: 79.66 kB / 442.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.005129, allocations: 111.6 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.005245, allocations: 7.938 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.926e-05/0.005344, allocations: 55.89 kB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.957e-05/0.005424, allocations: 23.91 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.005446, allocations: 4 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.005546, allocations: 47.86 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.005603, allocations: 27.84 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.00564, allocations: 15.94 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.005823, allocations: 111.6 kB / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.005828, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.00583, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.005835, allocations: 0 / 443 MB, free: 0.8359 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.0004556/0.006291, allocations: 341.6 kB / 443.3 MB, free: 484 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.006334, allocations: 8.031 kB / 443.3 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.006364, allocations: 34.69 kB / 443.3 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.006404, allocations: 12.89 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.006651, allocations: 145.6 kB / 443.5 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.006666, allocations: 12.3 kB / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.006685, allocations: 384 / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.006819, allocations: 61.92 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.006831, allocations: 3.984 kB / 443.6 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.00684, allocations: 4 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.006845, allocations: 4 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.246e-05/0.006898, allocations: 19.98 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1728/0.1797, allocations: 251 kB / 443.8 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1799, allocations: 54.48 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.1799, allocations: 27.39 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1799, allocations: 0 / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.1801, allocations: 63.52 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.1801, allocations: 0 / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004998/0.1806, allocations: 190.4 kB / 444.2 MB, free: 46.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.1806, allocations: 54.88 kB / 444.2 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1807, allocations: 179.6 kB / 444.4 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.096e-06/0.1807, allocations: 27.08 kB / 444.4 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.1808, allocations: 107.6 kB / 444.5 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.1808, allocations: 21.88 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.1808, allocations: 25.45 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.168e-05/0.1808, allocations: 323.1 kB / 444.9 MB, free: 45.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.1809, allocations: 20.55 kB / 444.9 MB, free: 45.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/0.1809, allocations: 38.14 kB / 445 MB, free: 45.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.331e-05/0.181, allocations: 58.11 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.181, allocations: 2 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001032/0.1811, allocations: 114.9 kB / 445.1 MB, free: 45.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1811, allocations: 5.438 kB / 445.1 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1811, allocations: 0 / 445.1 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1811, allocations: 3.594 kB / 445.1 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.1812, allocations: 14.7 kB / 445.1 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1812, allocations: 6.609 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.1812, allocations: 1.562 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.1812, allocations: 9.797 kB / 445.2 MB, free: 45.57 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 (10): * Single equations (assignments): 10 * 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.576e-05/0.1813, allocations: 123.6 kB / 445.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.1813, allocations: 13.73 kB / 445.3 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.1815, allocations: 119.3 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.1815, allocations: 2.906 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1815, allocations: 3.875 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1815, allocations: 1.531 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.1817, allocations: 374.9 kB / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1817, allocations: 0 / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.1818, allocations: 8.938 kB / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1818, allocations: 0 / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1818, allocations: 5.156 kB / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1818, allocations: 1.375 kB / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1818, allocations: 3.328 kB / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.1819, allocations: 216.5 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.1819, allocations: 13.16 kB / 446 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1819, allocations: 0 / 446 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.829e-05/0.1819, allocations: 2.625 kB / 446 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.182, allocations: 8.812 kB / 446 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.182, allocations: 2.969 kB / 446 MB, free: 44.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.998e-05/0.182, allocations: 135 kB / 446.2 MB, free: 44.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.182, allocations: 6.531 kB / 446.2 MB, free: 44.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.1822, allocations: 28.61 kB / 446.2 MB, free: 44.89 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 (9): * Single equations (assignments): 7 * 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.0008937/0.1831, allocations: 1.145 MB / 447.4 MB, free: 44.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.1832, allocations: 56.02 kB / 447.4 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1832, allocations: 2.812 kB / 447.4 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.1833, allocations: 29.78 kB / 447.4 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.1835, allocations: 27.2 kB / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009532/0.1845, allocations: 1.63 MB / 449.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.904e-05/0.1845, allocations: 86.58 kB / 449.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.156e-05/0.1846, allocations: 19.72 kB / 449.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.1846, allocations: 33.64 kB / 449.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1846, allocations: 0 / 449.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.201, allocations: 4.184 MB / 453.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.222, allocations: 2.875 kB / 453.4 MB, free: 41.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.327140560373664]