Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.0008823/0.0008823, 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.001558/0.001558, 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.9067/0.9067, 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.2568/0.2568, 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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.439e-05, allocations: 4.531 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002582/0.002607, allocations: 1.716 MB / 441.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.003812, allocations: 0.9664 MB / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.029e-05/0.003902, allocations: 3.938 kB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.00423, allocations: 83.7 kB / 442.4 MB, free: 1.371 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.004551, allocations: 127.4 kB / 442.6 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.004753, allocations: 71.67 kB / 442.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.00495, allocations: 127.5 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.005052, allocations: 4 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.728e-05/0.005149, allocations: 63.88 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.005255, allocations: 59.8 kB / 442.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.005273, allocations: 4 kB / 442.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-05/0.005372, allocations: 43.92 kB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.005432, allocations: 27.92 kB / 443 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.005475, allocations: 23.92 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.005678, allocations: 127.5 kB / 443.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.005682, allocations: 0 / 443.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005684, allocations: 0 / 443.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.005688, allocations: 0 / 443.1 MB, free: 0.7031 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.0004765/0.006165, allocations: 349.5 kB / 443.4 MB, free: 340 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.006205, allocations: 8.031 kB / 443.5 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.006239, allocations: 38.69 kB / 443.5 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.006274, allocations: 12.84 kB / 443.5 MB, free: 272 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.006524, allocations: 165.5 kB / 443.7 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.006537, allocations: 4.375 kB / 443.7 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.006554, allocations: 384 / 443.7 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.006695, allocations: 61.92 kB / 443.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.006705, allocations: 0 / 443.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.006713, allocations: 4 kB / 443.7 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.006718, allocations: 0 / 443.7 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.168/0.1747, allocations: 16.8 kB / 443.8 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.175, allocations: 256.8 kB / 444 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.1752, allocations: 60.91 kB / 444.1 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.1752, allocations: 20.19 kB / 444.1 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1752, allocations: 2.688 kB / 444.1 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.1753, allocations: 71.53 kB / 444.2 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.215e-06/0.1753, allocations: 0 / 444.2 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004649/0.1758, allocations: 189.7 kB / 444.3 MB, free: 46.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.1758, allocations: 53.52 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.176, allocations: 226.2 kB / 444.6 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.176, allocations: 29.58 kB / 444.6 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.176, allocations: 110.2 kB / 444.7 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1761, allocations: 28.25 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.1761, allocations: 25.16 kB / 444.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.1761, allocations: 326 kB / 445.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/0.1762, allocations: 25.45 kB / 445.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/0.1762, allocations: 32.67 kB / 445.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.537e-05/0.1763, allocations: 64.58 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1763, allocations: 4.5 kB / 445.2 MB, free: 45.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001198/0.1764, allocations: 113 kB / 445.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1764, allocations: 9.219 kB / 445.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1764, allocations: 0.9375 kB / 445.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1764, allocations: 0 / 445.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.1765, allocations: 18.16 kB / 445.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1765, allocations: 3.203 kB / 445.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.1766, allocations: 6.031 kB / 445.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1766, allocations: 2.969 kB / 445.4 MB, free: 45.56 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 6.178e-05/0.1766, allocations: 135 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.1766, allocations: 18.91 kB / 445.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.1768, allocations: 123 kB / 445.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1768, allocations: 0 / 445.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1768, allocations: 0 / 445.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1768, allocations: 2.562 kB / 445.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.1771, allocations: 374.5 kB / 446 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1771, allocations: 2.781 kB / 446 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.1771, allocations: 12.34 kB / 446 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1771, allocations: 0 / 446 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.1771, allocations: 8.594 kB / 446.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1771, allocations: 2.031 kB / 446.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1771, allocations: 0 / 446.1 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.1773, allocations: 219.4 kB / 446.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.1773, allocations: 14.47 kB / 446.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1773, allocations: 3.188 kB / 446.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.032e-05/0.1773, allocations: 6.969 kB / 446.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.1774, allocations: 12.62 kB / 446.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1774, allocations: 7.031 kB / 446.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.881e-05/0.1775, allocations: 175.5 kB / 446.5 MB, free: 44.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1775, allocations: 0 / 446.5 MB, free: 44.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.1776, allocations: 24.56 kB / 446.5 MB, free: 44.83 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.0009109/0.1786, allocations: 1.138 MB / 447.6 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1787, allocations: 60.39 kB / 447.7 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1787, allocations: 0 / 447.7 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.1787, allocations: 28.25 kB / 447.7 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.179, allocations: 38.03 kB / 447.8 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.1801, allocations: 1.732 MB / 449.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.368e-05/0.1801, allocations: 100.8 kB / 449.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.975e-05/0.1802, allocations: 23.83 kB / 449.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.1803, allocations: 39.7 kB / 449.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1803, allocations: 0 / 449.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.1972, allocations: 4.401 MB / 454.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.807/7.004, allocations: 3.234 kB / 454.1 MB, free: 41.15 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.10392424929887]