Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.002029/0.002029, allocations: 122.9 kB / 17.84 MB, free: 5.223 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.001946/0.001946, allocations: 202.3 kB / 20.79 MB, free: 2.281 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.784/1.784, allocations: 207.6 MB / 231.2 MB, free: 4.109 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.3868/0.3868, allocations: 44.23 MB / 327.3 MB, free: 6.758 MB / 254.1 MB " [Timeout remaining time 179] 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.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 75.91 kB / 463 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3036, allocations: 61 MB / 0.5117 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002788/0.3064, allocations: 1.852 MB / 0.5135 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3077, allocations: 0.9042 MB / 0.5144 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3078, allocations: 5.438 kB / 0.5144 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.3082, allocations: 163.2 kB / 0.5146 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.3085, allocations: 138.5 kB / 0.5147 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.3089, allocations: 146.5 kB / 0.5148 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.3092, allocations: 228.4 kB / 0.5151 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3093, allocations: 16.42 kB / 0.5151 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.3094, allocations: 110.3 kB / 0.5152 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.3096, allocations: 129.6 kB / 0.5153 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.3096, allocations: 6.875 kB / 0.5153 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.3097, allocations: 46.23 kB / 0.5154 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.255e-05/0.3098, allocations: 53.28 kB / 0.5154 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.3098, allocations: 72.03 kB / 0.5155 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.3101, allocations: 200.6 kB / 0.5157 GB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3101, allocations: 0 / 0.5157 GB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3101, allocations: 1.25 kB / 0.5157 GB, free: 10.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3101, allocations: 0 / 0.5157 GB, free: 10.31 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.0006337/0.3108, allocations: 0.5174 MB / 0.5162 GB, free: 9.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3108, allocations: 13.61 kB / 0.5162 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.443e-05/0.3108, allocations: 1.438 kB / 0.5162 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.699e-05/0.3108, allocations: 37.16 kB / 0.5162 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.3109, allocations: 30.67 kB / 0.5162 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.3112, allocations: 264.7 kB / 0.5165 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3112, allocations: 11 kB / 0.5165 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.3113, allocations: 4.188 kB / 0.5165 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3115, allocations: 97.98 kB / 0.5166 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.3115, allocations: 3.984 kB / 0.5166 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3115, allocations: 1.094 kB / 0.5166 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3115, allocations: 1.562 kB / 0.5166 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.3116, allocations: 44.5 kB / 0.5167 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.312, allocations: 441 kB / 0.5171 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.3123, allocations: 111.2 kB / 0.5172 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.676e-05/0.3124, allocations: 37.95 kB / 0.5172 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.3124, allocations: 0.8125 kB / 0.5172 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.3126, allocations: 118.4 kB / 0.5173 GB, free: 8.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.3126, allocations: 0 / 0.5173 GB, free: 8.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000823/0.3135, allocations: 369.4 kB / 0.5177 GB, free: 8.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.3135, allocations: 79.86 kB / 0.5178 GB, free: 8.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.3138, allocations: 358.8 kB / 0.5181 GB, free: 8.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3138, allocations: 29.64 kB / 0.5181 GB, free: 8.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.3139, allocations: 144.4 kB / 0.5183 GB, free: 7.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.3139, allocations: 55.53 kB / 0.5183 GB, free: 7.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.3139, allocations: 37.66 kB / 0.5184 GB, free: 7.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.314, allocations: 342.8 kB / 0.5187 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.3141, allocations: 35.98 kB / 0.5187 GB, free: 7.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.221e-05/0.3142, allocations: 71.41 kB / 0.5188 GB, free: 7.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3143, allocations: 123.3 kB / 0.5189 GB, free: 7.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.3144, allocations: 0 / 0.5189 GB, free: 7.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002593/0.3146, allocations: 173.4 kB / 0.5191 GB, free: 7.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3146, allocations: 8 kB / 0.5191 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3146, allocations: 0 / 0.5191 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3146, allocations: 11.92 kB / 0.5191 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3148, allocations: 31.98 kB / 0.5191 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3148, allocations: 8 kB / 0.5191 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.3149, allocations: 11.98 kB / 0.5191 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3149, allocations: 4 kB / 0.5191 GB, free: 7.02 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 9.558e-05/0.315, allocations: 149.8 kB / 0.5193 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.315, allocations: 27.8 kB / 0.5193 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.315, allocations: 30.05 kB / 0.5193 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.315, allocations: 3.938 kB / 0.5193 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3151, allocations: 4 kB / 0.5194 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3151, allocations: 7.984 kB / 0.5194 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.3156, allocations: 0.6124 MB / 0.52 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3156, allocations: 4 kB / 0.52 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.3157, allocations: 15.94 kB / 0.52 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3157, allocations: 4 kB / 0.52 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.3157, allocations: 12.73 kB / 0.52 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3157, allocations: 4.062 kB / 0.52 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3157, allocations: 0 / 0.52 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.316, allocations: 368.2 kB / 0.5203 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.316, allocations: 100.9 kB / 0.5204 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.316, allocations: 4 kB / 0.5204 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.3162, allocations: 15.98 kB / 0.5205 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.3162, allocations: 15.98 kB / 0.5205 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.3163, allocations: 8 kB / 0.5205 GB, free: 5.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.3164, allocations: 265.9 kB / 0.5207 GB, free: 5.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3164, allocations: 0 / 0.5207 GB, free: 5.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.3168, allocations: 32 kB / 0.5208 GB, free: 5.246 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.002022/0.3188, allocations: 1.268 MB / 0.522 GB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.319, allocations: 107.8 kB / 0.5221 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.319, allocations: 0 / 0.5221 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3191, allocations: 55.91 kB / 0.5222 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.3197, allocations: 60.58 kB / 0.5222 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3218, allocations: 2.457 MB / 0.5246 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.322, allocations: 0.7476 MB / 0.5254 GB, free: 432 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.547e-05/0.322, allocations: 29.94 kB / 0.5254 GB, free: 404 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.22e-05/0.3221, allocations: 79.39 kB / 0.5255 GB, free: 324 kB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3221, allocations: 0 / 0.5255 GB, free: 324 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.3435, allocations: 5.483 MB / 0.5308 GB, free: 10.76 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/8.851, allocations: 9.719 kB / 0.5308 GB, free: 10.75 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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: 12.310530002054293]