Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.000834/0.000834, allocations: 79.7 kB / 20.67 MB, free: 3.879 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.0008322/0.0008322, allocations: 170 kB / 23.95 MB, free: 0.6055 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.8909/0.8909, 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.2375/0.2375, 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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.251e-05, allocations: 2.281 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00314/0.003162, allocations: 1.675 MB / 441.3 MB, free: 2.465 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.004797, allocations: 0.9586 MB / 442.3 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.004893, allocations: 0 / 442.3 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.005232, allocations: 55.69 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.005634, allocations: 107.5 kB / 442.5 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.00581, allocations: 71.67 kB / 442.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.005957, allocations: 107.6 kB / 442.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.005996, allocations: 4.234 kB / 442.6 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.006079, allocations: 55.81 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/0.006161, allocations: 35.91 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.006176, allocations: 4 kB / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.006244, allocations: 43.84 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.006293, allocations: 15.92 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.006325, allocations: 19.94 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.006475, allocations: 107.6 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.006477, allocations: 0 / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006478, allocations: 0 / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.006482, allocations: 0 / 442.9 MB, free: 0.8828 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004102/0.006892, allocations: 337.6 kB / 443.2 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.006932, allocations: 12.03 kB / 443.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.757e-05/0.00696, allocations: 30.75 kB / 443.3 MB, free: 484 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.006994, allocations: 8.891 kB / 443.3 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.007189, allocations: 150.1 kB / 443.4 MB, free: 300 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.007202, allocations: 8.375 kB / 443.4 MB, free: 292 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.007212, allocations: 12.3 kB / 443.5 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.007314, allocations: 53.98 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.00732, allocations: 0 / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.007328, allocations: 0 / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.007332, allocations: 0 / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.563e-05/0.007377, allocations: 15.98 kB / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.007519, allocations: 148.8 kB / 443.7 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1682/0.1757, allocations: 51.22 kB / 443.7 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.1758, allocations: 23.36 kB / 443.7 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1758, allocations: 0 / 443.7 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.1759, allocations: 70.83 kB / 443.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.1759, allocations: 0 / 443.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002109/0.1761, allocations: 100.7 kB / 443.9 MB, free: 46.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.1761, allocations: 52.03 kB / 444 MB, free: 46.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1762, allocations: 182.5 kB / 444.1 MB, free: 46.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.1762, allocations: 28.92 kB / 444.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.1763, allocations: 100.8 kB / 444.3 MB, free: 46.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.1763, allocations: 14.94 kB / 444.3 MB, free: 46.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.1763, allocations: 21.31 kB / 444.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.484e-05/0.1764, allocations: 325.1 kB / 444.6 MB, free: 45.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.1764, allocations: 16.31 kB / 444.6 MB, free: 45.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.315e-05/0.1764, allocations: 30.67 kB / 444.7 MB, free: 45.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.727e-05/0.1765, allocations: 50.98 kB / 444.7 MB, free: 45.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1765, allocations: 3.75 kB / 444.7 MB, free: 45.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.14e-05/0.1766, allocations: 83.97 kB / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1766, allocations: 6.125 kB / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1766, allocations: 2.375 kB / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1766, allocations: 0 / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.1767, allocations: 15.16 kB / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1767, allocations: 0 / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.1767, allocations: 11.66 kB / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1767, allocations: 3.344 kB / 444.8 MB, free: 45.86 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 (7): * Single equations (assignments): 7 * 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 4.819e-05/0.1767, allocations: 133.5 kB / 445 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-06/0.1768, allocations: 10.02 kB / 445 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.1769, allocations: 99.08 kB / 445.1 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1769, allocations: 0 / 445.1 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1769, allocations: 0 / 445.1 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1769, allocations: 0 / 445.1 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.019e-05/0.177, allocations: 158.4 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.177, allocations: 0 / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.431e-05/0.177, allocations: 10.75 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.177, allocations: 0 / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.177, allocations: 3.469 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.177, allocations: 0 / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.177, allocations: 2.938 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.364e-05/0.1771, allocations: 120.2 kB / 445.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.1771, allocations: 6.828 kB / 445.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1771, allocations: 7.062 kB / 445.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.756e-05/0.1771, allocations: 6.031 kB / 445.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.1771, allocations: 3.703 kB / 445.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1771, allocations: 9.484 kB / 445.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.427e-05/0.1772, allocations: 140.8 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1772, allocations: 0 / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001539/0.1774, allocations: 20.67 kB / 445.6 MB, free: 45.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007482/0.1781, allocations: 0.9863 MB / 446.5 MB, free: 44.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1782, allocations: 42.66 kB / 446.6 MB, free: 44.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.1782, allocations: 1.312 kB / 446.6 MB, free: 44.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.186e-05/0.1782, allocations: 24.83 kB / 446.6 MB, free: 44.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.1784, allocations: 22.12 kB / 446.6 MB, free: 44.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007946/0.1792, allocations: 1.495 MB / 448.1 MB, free: 43.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.1792, allocations: 100.4 kB / 448.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.662e-05/0.1793, allocations: 8.125 kB / 448.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.1793, allocations: 39.86 kB / 448.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1793, allocations: 0 / 448.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.1927, allocations: 3.929 MB / 452.2 MB, free: 42.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.825/7.017, allocations: 2.656 kB / 452.2 MB, free: 42.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059952 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.069536204449832]