Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 119.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002193/0.002193, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 207.6 MB / 230.5 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.363/0.363, allocations: 44.24 MB / 326.5 MB, free: 6.844 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 75.89 kB / 462.2 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.274, allocations: 61 MB / 0.511 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002856/0.2768, allocations: 1.709 MB / 0.5126 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2779, allocations: 0.8104 MB / 0.5134 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.278, allocations: 3.938 kB / 0.5134 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.2783, allocations: 38.56 kB / 0.5135 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.2785, allocations: 58.14 kB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.2787, allocations: 84.66 kB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.2788, allocations: 94.05 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.72e-05/0.2789, allocations: 12.28 kB / 0.5137 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.279, allocations: 48.02 kB / 0.5138 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.426e-05/0.2791, allocations: 25.73 kB / 0.5138 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.2791, allocations: 7.625 kB / 0.5138 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-05/0.2792, allocations: 42.94 kB / 0.5138 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.2793, allocations: 23.39 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.2793, allocations: 34.73 kB / 0.5139 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.2795, allocations: 111.1 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2795, allocations: 3.984 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2795, allocations: 0 / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2795, allocations: 0 / 0.514 GB, free: 10.88 MB / 382.1 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.0004359/0.28, allocations: 412.4 kB / 0.5144 GB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.28, allocations: 16.77 kB / 0.5144 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.28, allocations: 36.3 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.2801, allocations: 13.19 kB / 0.5145 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.2803, allocations: 215.3 kB / 0.5147 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2803, allocations: 5.672 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2803, allocations: 6.938 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.2804, allocations: 53.33 kB / 0.5147 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2804, allocations: 1.062 kB / 0.5147 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2804, allocations: 0 / 0.5147 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2804, allocations: 1.188 kB / 0.5147 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.2805, allocations: 22.33 kB / 0.5148 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.2808, allocations: 289.7 kB / 0.515 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.2809, allocations: 52.19 kB / 0.5151 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.281, allocations: 21.81 kB / 0.5151 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.281, allocations: 7.984 kB / 0.5151 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.2811, allocations: 74.06 kB / 0.5152 GB, free: 9.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.2811, allocations: 0 / 0.5152 GB, free: 9.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004747/0.2816, allocations: 170.4 kB / 0.5153 GB, free: 9.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.2816, allocations: 55.34 kB / 0.5154 GB, free: 9.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2818, allocations: 190.6 kB / 0.5156 GB, free: 9.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.2818, allocations: 27.08 kB / 0.5156 GB, free: 9.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.2818, allocations: 108.2 kB / 0.5157 GB, free: 9.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.2818, allocations: 23.97 kB / 0.5157 GB, free: 9.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.2819, allocations: 20.59 kB / 0.5157 GB, free: 9.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.2819, allocations: 325.5 kB / 0.5161 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.282, allocations: 22.98 kB / 0.5161 GB, free: 8.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.381e-05/0.282, allocations: 35.45 kB / 0.5161 GB, free: 8.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.388e-05/0.2821, allocations: 63.77 kB / 0.5162 GB, free: 8.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.2821, allocations: 0 / 0.5162 GB, free: 8.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001517/0.2823, allocations: 102.9 kB / 0.5163 GB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2823, allocations: 5.5 kB / 0.5163 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2823, allocations: 1.375 kB / 0.5163 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2823, allocations: 3.938 kB / 0.5163 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.2824, allocations: 21.67 kB / 0.5163 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2824, allocations: 1.375 kB / 0.5163 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.2824, allocations: 9.344 kB / 0.5163 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2824, allocations: 6.75 kB / 0.5163 GB, free: 8.68 MB / 382.1 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 7.161e-05/0.2825, allocations: 123.5 kB / 0.5164 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.2825, allocations: 9.453 kB / 0.5164 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.2826, allocations: 16.83 kB / 0.5165 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2826, allocations: 1.375 kB / 0.5165 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2826, allocations: 0 / 0.5165 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2826, allocations: 5.312 kB / 0.5165 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.2829, allocations: 401.1 kB / 0.5168 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2829, allocations: 0 / 0.5168 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.283, allocations: 8.625 kB / 0.5169 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.283, allocations: 5.312 kB / 0.5169 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.283, allocations: 5.375 kB / 0.5169 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.283, allocations: 5.359 kB / 0.5169 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.283, allocations: 3.938 kB / 0.5169 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.2832, allocations: 200.4 kB / 0.5171 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.2832, allocations: 87.77 kB / 0.5172 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.2832, allocations: 9.312 kB / 0.5172 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.2833, allocations: 2.75 kB / 0.5172 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.2833, allocations: 6.734 kB / 0.5172 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.2833, allocations: 4.125 kB / 0.5172 GB, free: 7.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.591e-05/0.2834, allocations: 145.1 kB / 0.5173 GB, free: 7.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2834, allocations: 0 / 0.5173 GB, free: 7.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000252/0.2837, allocations: 24.84 kB / 0.5173 GB, free: 7.73 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.001858/0.2855, allocations: 1.114 MB / 0.5184 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.2857, allocations: 55.81 kB / 0.5185 GB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2857, allocations: 0 / 0.5185 GB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.2858, allocations: 23.02 kB / 0.5185 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.2861, allocations: 33.83 kB / 0.5185 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.2874, allocations: 1.625 MB / 0.5201 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.2875, allocations: 0.7002 MB / 0.5208 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.583e-05/0.2876, allocations: 16.88 kB / 0.5208 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.2876, allocations: 39.36 kB / 0.5209 GB, free: 4.414 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2876, allocations: 0 / 0.5209 GB, free: 4.414 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.3111, allocations: 3.408 MB / 0.5242 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.562, allocations: 3.938 kB / 0.5242 GB, free: 0.9219 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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: 11.503085738047957]