Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.00127/0.00127, allocations: 118.1 kB / 17.13 MB, free: 5.777 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.001941/0.001941, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.494/1.494, allocations: 207.6 MB / 230.5 MB, free: 3.949 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.3526/0.3526, allocations: 44.23 MB / 326.5 MB, free: 6.855 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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.002157/0.002157, allocations: 79.89 kB / 462.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2891, allocations: 61 MB / 0.511 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00287/0.2919, allocations: 1.857 MB / 0.5128 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.2932, allocations: 0.9063 MB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.2932, allocations: 1.906 kB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004823/0.2937, allocations: 224.8 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.2941, allocations: 172 kB / 0.5141 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.2945, allocations: 153.3 kB / 0.5142 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.2947, allocations: 226.4 kB / 0.5144 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2949, allocations: 17.78 kB / 0.5144 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.295, allocations: 118.4 kB / 0.5145 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.2952, allocations: 160.8 kB / 0.5147 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.2952, allocations: 10.81 kB / 0.5147 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.934e-05/0.2953, allocations: 50.23 kB / 0.5148 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.2954, allocations: 53.77 kB / 0.5148 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.914e-05/0.2955, allocations: 83.84 kB / 0.5149 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.2957, allocations: 208.1 kB / 0.5151 GB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2957, allocations: 0 / 0.5151 GB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2957, allocations: 1.375 kB / 0.5151 GB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.2957, allocations: 0 / 0.5151 GB, free: 10.25 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006708/0.2964, allocations: 0.547 MB / 0.5156 GB, free: 9.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.2965, allocations: 14.61 kB / 0.5156 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.2965, allocations: 35.94 kB / 0.5157 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.2965, allocations: 28.75 kB / 0.5157 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.2968, allocations: 288.8 kB / 0.516 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2969, allocations: 6.562 kB / 0.516 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.2969, allocations: 8.375 kB / 0.516 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.2971, allocations: 98.08 kB / 0.5161 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2971, allocations: 0 / 0.5161 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2971, allocations: 9.297 kB / 0.5161 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2971, allocations: 1.281 kB / 0.5161 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.2972, allocations: 40.7 kB / 0.5161 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.2976, allocations: 444.5 kB / 0.5166 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.2978, allocations: 120.7 kB / 0.5167 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.509e-05/0.2979, allocations: 37.23 kB / 0.5167 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.2979, allocations: 5.609 kB / 0.5167 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.2981, allocations: 117.4 kB / 0.5168 GB, free: 8.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.2981, allocations: 0 / 0.5168 GB, free: 8.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007725/0.2989, allocations: 377.9 kB / 0.5172 GB, free: 8.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.2989, allocations: 87.8 kB / 0.5173 GB, free: 8.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.2992, allocations: 423.2 kB / 0.5177 GB, free: 7.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.2992, allocations: 33.7 kB / 0.5177 GB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.2993, allocations: 156.3 kB / 0.5178 GB, free: 7.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.2993, allocations: 55.56 kB / 0.5179 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.2994, allocations: 33.72 kB / 0.5179 GB, free: 7.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.2994, allocations: 346.8 kB / 0.5183 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.2995, allocations: 35.98 kB / 0.5183 GB, free: 7.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.2996, allocations: 71.41 kB / 0.5184 GB, free: 7.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.2998, allocations: 115.4 kB / 0.5185 GB, free: 7.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2998, allocations: 4 kB / 0.5185 GB, free: 7 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000246/0.3, allocations: 185.3 kB / 0.5187 GB, free: 6.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3, allocations: 4 kB / 0.5187 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3, allocations: 3.938 kB / 0.5187 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3, allocations: 8.062 kB / 0.5187 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3002, allocations: 31.92 kB / 0.5187 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3002, allocations: 7.984 kB / 0.5187 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.3002, allocations: 8 kB / 0.5187 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3002, allocations: 4 kB / 0.5187 GB, free: 6.746 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001005/0.3003, allocations: 165.8 kB / 0.5189 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.3004, allocations: 31.77 kB / 0.5189 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.3004, allocations: 38.62 kB / 0.5189 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3004, allocations: 7.938 kB / 0.519 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3004, allocations: 0 / 0.519 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3005, allocations: 7.984 kB / 0.519 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.301, allocations: 0.6128 MB / 0.5196 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.301, allocations: 0 / 0.5196 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.301, allocations: 23.98 kB / 0.5196 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.301, allocations: 64 / 0.5196 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.301, allocations: 8 kB / 0.5196 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.301, allocations: 4.016 kB / 0.5196 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.301, allocations: 7.984 kB / 0.5196 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.3013, allocations: 367.9 kB / 0.52 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.3014, allocations: 108.9 kB / 0.5201 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.3014, allocations: 4 kB / 0.5201 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3015, allocations: 4 kB / 0.5201 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.3016, allocations: 15.98 kB / 0.5201 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3016, allocations: 15.92 kB / 0.5201 GB, free: 5.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.3018, allocations: 315 kB / 0.5204 GB, free: 4.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3018, allocations: 3.938 kB / 0.5204 GB, free: 4.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.3021, allocations: 39.98 kB / 0.5204 GB, free: 4.875 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001863/0.3039, allocations: 1.269 MB / 0.5217 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.3042, allocations: 107.8 kB / 0.5218 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3042, allocations: 0 / 0.5218 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.3043, allocations: 56.16 kB / 0.5218 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.3048, allocations: 61.05 kB / 0.5219 GB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.3069, allocations: 2.641 MB / 0.5245 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.3071, allocations: 0.7632 MB / 0.5252 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.562e-05/0.3072, allocations: 33.86 kB / 0.5252 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3073, allocations: 83.41 kB / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3073, allocations: 0 / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.3353, allocations: 5.783 MB / 0.531 GB, free: 9.855 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/8.864, allocations: 3.906 kB / 0.531 GB, free: 9.852 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.795606613624841]