Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.0008789/0.0008789, 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.001225/0.001225, 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.9146/0.9146, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2422/0.2422, allocations: 32.79 MB / 293.5 MB, free: 1.215 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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 439.7 MB, free: 4.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.196e-05, allocations: 4.391 kB / 439.7 MB, free: 4.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002278/0.0023, allocations: 1.712 MB / 441.4 MB, free: 2.406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.003602, allocations: 0.9664 MB / 442.4 MB, free: 1.434 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.003685, allocations: 3.938 kB / 442.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.004006, allocations: 87.67 kB / 442.4 MB, free: 1.344 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.004315, allocations: 119.5 kB / 442.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.004515, allocations: 79.59 kB / 442.6 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.004694, allocations: 123.5 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.004784, allocations: 4 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.659e-05/0.004881, allocations: 63.88 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.004978, allocations: 55.86 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.004993, allocations: 7.938 kB / 442.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.005078, allocations: 43.92 kB / 442.9 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.005134, allocations: 27.91 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.005173, allocations: 19.94 kB / 443 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.005361, allocations: 131.5 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.005364, allocations: 0 / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.005365, allocations: 0 / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.00537, allocations: 0 / 443.1 MB, free: 0.6797 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.0004433/0.005814, allocations: 349.5 kB / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.005851, allocations: 8.031 kB / 443.5 MB, free: 308 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.005884, allocations: 42.67 kB / 443.5 MB, free: 256 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.005919, allocations: 12.84 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.006153, allocations: 157.5 kB / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.006167, allocations: 4.375 kB / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.006185, allocations: 4.375 kB / 443.7 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1705/0.1767, allocations: 61.17 kB / 443.7 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.1767, allocations: 2.875 kB / 443.7 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.1768, allocations: 0 / 443.7 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1768, allocations: 0 / 443.7 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.1769, allocations: 22.53 kB / 443.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.1772, allocations: 255.2 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1773, allocations: 56.56 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.1774, allocations: 22.38 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.1774, allocations: 2.469 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.1775, allocations: 70.59 kB / 444.2 MB, free: 46.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.1775, allocations: 0 / 444.2 MB, free: 46.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004353/0.1779, allocations: 188 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.178, allocations: 57.03 kB / 444.4 MB, free: 46.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1781, allocations: 228 kB / 444.6 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.1781, allocations: 32.55 kB / 444.7 MB, free: 46.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.1781, allocations: 104.7 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.1782, allocations: 28.11 kB / 444.8 MB, free: 45.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.1782, allocations: 21.38 kB / 444.8 MB, free: 45.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.412e-05/0.1782, allocations: 332.1 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.1783, allocations: 22.69 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.1783, allocations: 36.2 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.877e-05/0.1784, allocations: 69.23 kB / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1784, allocations: 0.5625 kB / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001129/0.1785, allocations: 104.3 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1785, allocations: 5.875 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1785, allocations: 1.094 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1785, allocations: 6.531 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.1786, allocations: 18.38 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1786, allocations: 6.797 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.1786, allocations: 7.406 kB / 445.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.1786, allocations: 2.562 kB / 445.4 MB, free: 45.52 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.984e-05/0.1787, allocations: 130.3 kB / 445.5 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.1787, allocations: 16.69 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.1789, allocations: 123.1 kB / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1789, allocations: 0 / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1789, allocations: 2.844 kB / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1789, allocations: 3.938 kB / 445.7 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.1792, allocations: 372.1 kB / 446 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1792, allocations: 0 / 446 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.1792, allocations: 19.56 kB / 446.1 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1792, allocations: 2.938 kB / 446.1 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1792, allocations: 6.281 kB / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1792, allocations: 4.344 kB / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1792, allocations: 0 / 446.1 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.1793, allocations: 212.9 kB / 446.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.1793, allocations: 13.98 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1793, allocations: 10.48 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.038e-05/0.1794, allocations: 6.812 kB / 446.3 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.1794, allocations: 6.484 kB / 446.3 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1794, allocations: 5.312 kB / 446.3 MB, free: 44.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.182e-05/0.1795, allocations: 174.1 kB / 446.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1795, allocations: 0 / 446.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.1797, allocations: 28.67 kB / 446.5 MB, free: 44.77 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.0009363/0.1806, allocations: 1.144 MB / 447.7 MB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.1807, allocations: 64.67 kB / 447.7 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1807, allocations: 0 / 447.7 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.1808, allocations: 30.19 kB / 447.8 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.181, allocations: 24.67 kB / 447.8 MB, free: 43.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.1821, allocations: 1.735 MB / 449.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.189e-05/0.1821, allocations: 107.7 kB / 449.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.1e-05/0.1822, allocations: 17.08 kB / 449.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.1822, allocations: 40.22 kB / 449.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1822, allocations: 0 / 449.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.2005, allocations: 4.4 MB / 454.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.803/7.004, allocations: 8.359 kB / 454.1 MB, free: 41.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_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_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.11634991876781]