Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001264/0.001264, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001424/0.001424, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 46.94 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test88,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 67.89 kB / 0.4962 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 66.03 MB / 0.5607 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003789/0.3428, allocations: 2.302 MB / 0.563 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.3452, allocations: 1.341 MB / 0.5643 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.3453, allocations: 11.88 kB / 0.5643 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.3457, allocations: 119.4 kB / 0.5644 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005296/0.3462, allocations: 254.8 kB / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.3466, allocations: 191.5 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005708/0.3472, allocations: 470.6 kB / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3473, allocations: 43.08 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.3477, allocations: 318.9 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.348, allocations: 171.1 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.348, allocations: 16 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.3482, allocations: 71.98 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.3483, allocations: 135.5 kB / 0.566 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.3485, allocations: 182.5 kB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.3491, allocations: 449.6 kB / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3491, allocations: 0 / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3491, allocations: 0 / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.3492, allocations: 0 / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001121/0.3503, allocations: 0.7682 MB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3503, allocations: 8.031 kB / 0.5674 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.3504, allocations: 54.73 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.031e-05/0.3505, allocations: 60.52 kB / 0.5675 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/0.3511, allocations: 353.8 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.3511, allocations: 12.38 kB / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.3511, allocations: 23.88 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.3515, allocations: 201.4 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.3515, allocations: 0 / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.3516, allocations: 11.98 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3516, allocations: 4 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.3518, allocations: 87.88 kB / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009213/0.3527, allocations: 0.7734 MB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/0.3534, allocations: 230.5 kB / 0.5691 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.3535, allocations: 83.45 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.3536, allocations: 8 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003976/0.354, allocations: 204.4 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.354, allocations: 0 / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002531/0.3565, allocations: 1.137 MB / 0.5705 GB, free: 10.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.3566, allocations: 144.4 kB / 0.5706 GB, free: 9.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.3576, allocations: 0.7969 MB / 0.5714 GB, free: 9.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.3576, allocations: 37.7 kB / 0.5715 GB, free: 9.137 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.3578, allocations: 237 kB / 0.5717 GB, free: 8.902 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.358, allocations: 146.8 kB / 0.5718 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.3581, allocations: 86.09 kB / 0.5719 GB, free: 8.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.3583, allocations: 370.8 kB / 0.5723 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.3585, allocations: 116.8 kB / 0.5724 GB, free: 8.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.3589, allocations: 183.2 kB / 0.5725 GB, free: 7.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.3594, allocations: 319 kB / 0.5728 GB, free: 7.645 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3594, allocations: 4 kB / 0.5729 GB, free: 7.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007467/0.3601, allocations: 437.2 kB / 0.5733 GB, free: 7.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3602, allocations: 4 kB / 0.5733 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3602, allocations: 7.938 kB / 0.5733 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3602, allocations: 4 kB / 0.5733 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.3605, allocations: 91.83 kB / 0.5734 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.3605, allocations: 7.938 kB / 0.5734 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.3606, allocations: 20.11 kB / 0.5734 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.3606, allocations: 16.23 kB / 0.5734 GB, free: 7.059 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0002576/0.3609, allocations: 236.1 kB / 0.5736 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.4e-05/0.361, allocations: 71.53 kB / 0.5737 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009471/0.3619, allocations: 0.4943 MB / 0.5742 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.362, allocations: 4 kB / 0.5742 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.362, allocations: 11.94 kB / 0.5742 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.362, allocations: 4 kB / 0.5742 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.3637, allocations: 1.282 MB / 0.5755 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3638, allocations: 4 kB / 0.5755 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.3639, allocations: 63.84 kB / 0.5755 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.3639, allocations: 8 kB / 0.5755 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.3639, allocations: 15.98 kB / 0.5756 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.364, allocations: 4 kB / 0.5756 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.364, allocations: 8.312 kB / 0.5756 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/0.3649, allocations: 0.797 MB / 0.5763 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.365, allocations: 95.52 kB / 0.5764 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.3651, allocations: 12 kB / 0.5764 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.3654, allocations: 19.98 kB / 0.5765 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.3655, allocations: 47.81 kB / 0.5765 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.3655, allocations: 20 kB / 0.5765 GB, free: 3.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006392/0.3661, allocations: 0.5849 MB / 0.5771 GB, free: 3.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3661, allocations: 0 / 0.5771 GB, free: 3.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005316/0.3667, allocations: 87.92 kB / 0.5772 GB, free: 3.059 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003142/0.3698, allocations: 1.761 MB / 0.5789 GB, free: 1.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006468/0.3705, allocations: 303.8 kB / 0.5792 GB, free: 1.164 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3705, allocations: 0 / 0.5792 GB, free: 1.164 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.3708, allocations: 143.7 kB / 0.5793 GB, free: 1.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009246/0.3717, allocations: 135.5 kB / 0.5795 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.378, allocations: 4.748 MB / 0.5841 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.3786, allocations: 0.8859 MB / 0.585 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.3788, allocations: 87.28 kB / 0.585 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.3791, allocations: 195.3 kB / 0.5852 GB, free: 10.77 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3791, allocations: 0 / 0.5852 GB, free: 10.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04219/0.4213, allocations: 11.22 MB / 0.5962 GB, free: 15.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.02, allocations: 7.844 kB / 0.5962 GB, free: 15.64 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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: 15.12064027809538]