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.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.001406/0.001406, allocations: 118.9 kB / 17.83 MB, free: 5.203 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.00155/0.00155, allocations: 210.3 kB / 20.8 MB, free: 2.258 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.785/1.785, allocations: 207.6 MB / 231.2 MB, free: 4.145 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.4013/0.4013, allocations: 44.24 MB / 327.3 MB, free: 6.715 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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.002199/0.002199, allocations: 75.89 kB / 463 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.282, allocations: 61 MB / 0.5117 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002865/0.2849, allocations: 1.853 MB / 0.5135 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2862, allocations: 0.9092 MB / 0.5144 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.2864, allocations: 1.812 kB / 0.5144 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.2868, allocations: 228.7 kB / 0.5146 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.2871, allocations: 168.1 kB / 0.5148 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.2875, allocations: 147.7 kB / 0.5149 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.2878, allocations: 227.3 kB / 0.5151 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2879, allocations: 20.94 kB / 0.5152 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.2881, allocations: 128.1 kB / 0.5153 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.2883, allocations: 153.7 kB / 0.5154 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.2884, allocations: 6.719 kB / 0.5154 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.2885, allocations: 49.33 kB / 0.5155 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.765e-05/0.2886, allocations: 58.61 kB / 0.5155 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.2886, allocations: 80.67 kB / 0.5156 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.2889, allocations: 214.9 kB / 0.5158 GB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2889, allocations: 1.938 kB / 0.5158 GB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2889, allocations: 0 / 0.5158 GB, free: 10.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2889, allocations: 0 / 0.5158 GB, free: 10.32 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.0005636/0.2894, allocations: 0.5402 MB / 0.5164 GB, free: 9.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2895, allocations: 17.34 kB / 0.5164 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.585e-05/0.2895, allocations: 1.438 kB / 0.5164 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.236e-05/0.2895, allocations: 36.25 kB / 0.5164 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.2896, allocations: 28.97 kB / 0.5164 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.2898, allocations: 292 kB / 0.5167 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2899, allocations: 6.875 kB / 0.5167 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.2899, allocations: 8.125 kB / 0.5167 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.2901, allocations: 102.8 kB / 0.5168 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2901, allocations: 3.938 kB / 0.5168 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2901, allocations: 1.375 kB / 0.5168 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2901, allocations: 1.375 kB / 0.5168 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.2902, allocations: 44.52 kB / 0.5169 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.2906, allocations: 449.2 kB / 0.5173 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.2909, allocations: 107.7 kB / 0.5174 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.701e-05/0.291, allocations: 44.81 kB / 0.5174 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.291, allocations: 1.375 kB / 0.5174 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.2912, allocations: 117.9 kB / 0.5176 GB, free: 8.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.2912, allocations: 1.375 kB / 0.5176 GB, free: 8.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008794/0.2921, allocations: 373.5 kB / 0.5179 GB, free: 8.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.2921, allocations: 89.09 kB / 0.518 GB, free: 8.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.2925, allocations: 420.5 kB / 0.5184 GB, free: 7.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.2925, allocations: 33.7 kB / 0.5184 GB, free: 7.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.2925, allocations: 156.3 kB / 0.5186 GB, free: 7.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.2926, allocations: 59.48 kB / 0.5186 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.2926, allocations: 29.72 kB / 0.5187 GB, free: 7.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.2927, allocations: 346.8 kB / 0.519 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-05/0.2928, allocations: 43.98 kB / 0.519 GB, free: 7.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.46e-05/0.2929, allocations: 71.41 kB / 0.5191 GB, free: 7.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.2931, allocations: 115.5 kB / 0.5192 GB, free: 6.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2931, allocations: 4 kB / 0.5192 GB, free: 6.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002692/0.2933, allocations: 189.3 kB / 0.5194 GB, free: 6.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2933, allocations: 4 kB / 0.5194 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2933, allocations: 0 / 0.5194 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2934, allocations: 7.938 kB / 0.5194 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2935, allocations: 27.98 kB / 0.5194 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2935, allocations: 4 kB / 0.5194 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/0.2936, allocations: 11.98 kB / 0.5195 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2936, allocations: 4 kB / 0.5195 GB, free: 6.719 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.0001205/0.2937, allocations: 169.8 kB / 0.5196 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.2938, allocations: 31.77 kB / 0.5197 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.2938, allocations: 34.62 kB / 0.5197 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2938, allocations: 3.938 kB / 0.5197 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.2938, allocations: 0 / 0.5197 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2938, allocations: 4 kB / 0.5197 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.2944, allocations: 0.6242 MB / 0.5203 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2944, allocations: 0 / 0.5203 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-05/0.2945, allocations: 19.98 kB / 0.5203 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2945, allocations: 0.75 kB / 0.5203 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2945, allocations: 8 kB / 0.5203 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2945, allocations: 3.938 kB / 0.5203 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2945, allocations: 8.25 kB / 0.5203 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.2948, allocations: 376.3 kB / 0.5207 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.2949, allocations: 100.9 kB / 0.5208 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.2949, allocations: 15.92 kB / 0.5208 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.295, allocations: 4 kB / 0.5208 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.2951, allocations: 19.92 kB / 0.5208 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.2951, allocations: 12 kB / 0.5208 GB, free: 5.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.2953, allocations: 319 kB / 0.5212 GB, free: 4.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2953, allocations: 0 / 0.5212 GB, free: 4.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.2956, allocations: 32 kB / 0.5212 GB, free: 4.84 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.002001/0.2976, allocations: 1.268 MB / 0.5224 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.2979, allocations: 107.9 kB / 0.5225 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2979, allocations: 0 / 0.5225 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.298, allocations: 51.92 kB / 0.5226 GB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.2986, allocations: 59.91 kB / 0.5226 GB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.3008, allocations: 2.645 MB / 0.5252 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.3011, allocations: 0.7631 MB / 0.526 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.3012, allocations: 45.84 kB / 0.526 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.3013, allocations: 83.41 kB / 0.5261 GB, free: 15.68 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3013, allocations: 0 / 0.5261 GB, free: 15.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.324, allocations: 5.803 MB / 0.5317 GB, free: 9.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/8.854, allocations: 17.66 kB / 0.5318 GB, free: 9.785 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 12.32499628799269]