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.001018/0.001018, 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.001568/0.001568, 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.8778/0.8778, 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.2332/0.2332, 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.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.262e-06/1.262e-06, allocations: 0 / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.517e-05, allocations: 7.203 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002498/0.002523, allocations: 1.714 MB / 441.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.0037, allocations: 0.978 MB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.757e-05/0.003778, allocations: 0 / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.004049, allocations: 35.77 kB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.004352, allocations: 95.47 kB / 442.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.004719, allocations: 75.67 kB / 442.6 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.004884, allocations: 111.6 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.004982, allocations: 7.984 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.005066, allocations: 55.84 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.943e-05/0.005135, allocations: 31.84 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.005152, allocations: 4 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.005233, allocations: 47.86 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.005282, allocations: 19.86 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.005318, allocations: 23.91 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.005495, allocations: 111.6 kB / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.005499, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0055, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005504, 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.0004337/0.005938, allocations: 341.6 kB / 443.3 MB, free: 484 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.005986, allocations: 8.031 kB / 443.3 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.006022, allocations: 34.75 kB / 443.3 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.006061, allocations: 8.891 kB / 443.4 MB, free: 424 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.006335, allocations: 152.6 kB / 443.5 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.006349, allocations: 4.375 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.006377, allocations: 384 / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.006534, allocations: 61.98 kB / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.00655, allocations: 3.938 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.006562, allocations: 3.984 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.006567, allocations: 4 kB / 443.6 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/0.006628, allocations: 19.98 kB / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.17/0.1767, allocations: 250.1 kB / 443.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1769, allocations: 59.11 kB / 443.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.1769, allocations: 19.56 kB / 443.9 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1769, allocations: 0.5156 kB / 443.9 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.1771, allocations: 72.31 kB / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.1771, allocations: 0 / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004389/0.1775, allocations: 182.2 kB / 444.2 MB, free: 46.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.1775, allocations: 56.81 kB / 444.2 MB, free: 46.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.1776, allocations: 173.9 kB / 444.4 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.1776, allocations: 28.86 kB / 444.4 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.1777, allocations: 101.4 kB / 444.5 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.1777, allocations: 30.78 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.1777, allocations: 20.34 kB / 444.6 MB, free: 45.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.117e-05/0.1777, allocations: 327.6 kB / 444.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.1778, allocations: 22 kB / 444.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.1778, allocations: 44.88 kB / 445 MB, free: 45.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.156e-05/0.1779, allocations: 58.16 kB / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1779, allocations: 1.75 kB / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001032/0.178, allocations: 113.3 kB / 445.1 MB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.178, allocations: 5.906 kB / 445.1 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.178, allocations: 0 / 445.1 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.178, allocations: 3.625 kB / 445.1 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.1781, allocations: 17.84 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1781, allocations: 3.766 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.1781, allocations: 8.406 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.1781, allocations: 2.969 kB / 445.2 MB, free: 45.55 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.048e-05/0.1782, allocations: 121.8 kB / 445.3 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.1782, allocations: 17.61 kB / 445.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.1783, allocations: 118.7 kB / 445.4 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1783, allocations: 2.875 kB / 445.4 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1783, allocations: 0 / 445.4 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1783, allocations: 0 / 445.4 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.1786, allocations: 374.6 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1786, allocations: 0 / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.1786, allocations: 11.31 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1786, allocations: 2.531 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.1786, allocations: 3.5 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1786, allocations: 3.781 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1786, allocations: 0 / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.1787, allocations: 214.8 kB / 446 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.1787, allocations: 11.77 kB / 446 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1788, allocations: 0 / 446 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.1788, allocations: 9.844 kB / 446 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.1788, allocations: 5.812 kB / 446 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1788, allocations: 5.75 kB / 446.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.928e-05/0.1789, allocations: 132.1 kB / 446.2 MB, free: 44.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1789, allocations: 6.562 kB / 446.2 MB, free: 44.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.1791, allocations: 27.2 kB / 446.2 MB, free: 44.88 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.0009332/0.18, allocations: 1.139 MB / 447.4 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.1801, allocations: 64.02 kB / 447.4 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1801, allocations: 2.844 kB / 447.4 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.278e-05/0.1802, allocations: 24.48 kB / 447.4 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.1804, allocations: 29.95 kB / 447.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009598/0.1814, allocations: 1.628 MB / 449.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.1814, allocations: 92.38 kB / 449.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.087e-05/0.1814, allocations: 17.22 kB / 449.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.1815, allocations: 32.42 kB / 449.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of SimCode: time 6.62e-07/0.1815, allocations: 0 / 449.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.1972, allocations: 4.175 MB / 453.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.61/6.808, allocations: 0 / 453.4 MB, free: 41.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.750052141956985]