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.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.001776/0.001776, allocations: 111.2 kB / 17.13 MB, free: 5.754 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.002054/0.002054, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.546/1.546, allocations: 207.6 MB / 230.5 MB, free: 4.051 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.3384/0.3384, allocations: 44.24 MB / 326.5 MB, free: 6.801 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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.002252/0.002252, allocations: 79.89 kB / 462.3 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2891, allocations: 61 MB / 0.511 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003097/0.2922, allocations: 1.86 MB / 0.5128 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2935, allocations: 0.9019 MB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.2936, allocations: 3.188 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.294, allocations: 161.8 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.2943, allocations: 139.3 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.2947, allocations: 141.1 kB / 0.5141 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.2949, allocations: 215.8 kB / 0.5143 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.295, allocations: 21.69 kB / 0.5143 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.2952, allocations: 105.8 kB / 0.5144 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.2954, allocations: 132 kB / 0.5146 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.2954, allocations: 7.094 kB / 0.5146 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.2955, allocations: 53.66 kB / 0.5146 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.071e-05/0.2956, allocations: 46.31 kB / 0.5147 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.2956, allocations: 74.5 kB / 0.5147 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.2959, allocations: 201.2 kB / 0.5149 GB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2959, allocations: 0 / 0.5149 GB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2959, allocations: 1.375 kB / 0.5149 GB, free: 10.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.2959, allocations: 0 / 0.5149 GB, free: 10.3 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.0005982/0.2965, allocations: 0.5141 MB / 0.5154 GB, free: 9.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2965, allocations: 13.48 kB / 0.5154 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.2966, allocations: 36.11 kB / 0.5155 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.2966, allocations: 27.75 kB / 0.5155 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.297, allocations: 272.7 kB / 0.5158 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.297, allocations: 7.125 kB / 0.5158 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.297, allocations: 6.688 kB / 0.5158 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.2973, allocations: 106.8 kB / 0.5159 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.2973, allocations: 0 / 0.5159 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.2973, allocations: 1.375 kB / 0.5159 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2973, allocations: 1.375 kB / 0.5159 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.2974, allocations: 44.53 kB / 0.5159 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.2979, allocations: 439.7 kB / 0.5163 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.2981, allocations: 113 kB / 0.5164 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.162e-05/0.2982, allocations: 36.83 kB / 0.5165 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.2982, allocations: 5.375 kB / 0.5165 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.2984, allocations: 113.9 kB / 0.5166 GB, free: 8.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.2984, allocations: 0 / 0.5166 GB, free: 8.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009444/0.2994, allocations: 358.4 kB / 0.5169 GB, free: 8.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.2994, allocations: 90.45 kB / 0.517 GB, free: 8.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.2998, allocations: 351.8 kB / 0.5174 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.2998, allocations: 36.52 kB / 0.5174 GB, free: 8.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.014e-05/0.2999, allocations: 142.5 kB / 0.5175 GB, free: 8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.3, allocations: 51.53 kB / 0.5176 GB, free: 7.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.3, allocations: 41.66 kB / 0.5176 GB, free: 7.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.3001, allocations: 338.8 kB / 0.5179 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.3002, allocations: 44.73 kB / 0.518 GB, free: 7.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-05/0.3003, allocations: 71.41 kB / 0.5181 GB, free: 7.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.3004, allocations: 111.4 kB / 0.5182 GB, free: 7.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3004, allocations: 0 / 0.5182 GB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002606/0.3007, allocations: 185.4 kB / 0.5183 GB, free: 7.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3007, allocations: 8 kB / 0.5183 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.3007, allocations: 0 / 0.5183 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.3007, allocations: 0 / 0.5183 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.3009, allocations: 43.86 kB / 0.5184 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3009, allocations: 0 / 0.5184 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/0.301, allocations: 11.98 kB / 0.5184 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.301, allocations: 8 kB / 0.5184 GB, free: 7.059 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.0001078/0.3011, allocations: 149.8 kB / 0.5185 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.3011, allocations: 27.86 kB / 0.5186 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.3012, allocations: 30.05 kB / 0.5186 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3012, allocations: 11.92 kB / 0.5186 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3012, allocations: 0 / 0.5186 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3012, allocations: 0 / 0.5186 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.3018, allocations: 0.6203 MB / 0.5192 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3018, allocations: 0 / 0.5192 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.3018, allocations: 19.98 kB / 0.5192 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3018, allocations: 0 / 0.5192 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3019, allocations: 8 kB / 0.5192 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3019, allocations: 4 kB / 0.5193 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3019, allocations: 0 / 0.5193 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.3022, allocations: 372.2 kB / 0.5196 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.3022, allocations: 96.92 kB / 0.5197 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.3022, allocations: 4 kB / 0.5197 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3024, allocations: 11.98 kB / 0.5197 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.3024, allocations: 11.98 kB / 0.5197 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.3024, allocations: 8 kB / 0.5197 GB, free: 5.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.3026, allocations: 265.9 kB / 0.52 GB, free: 5.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3026, allocations: 0 / 0.52 GB, free: 5.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003465/0.303, allocations: 39.98 kB / 0.52 GB, free: 5.289 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.002142/0.3051, allocations: 1.271 MB / 0.5213 GB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.3054, allocations: 111.9 kB / 0.5214 GB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3054, allocations: 0 / 0.5214 GB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.3055, allocations: 59.89 kB / 0.5214 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.306, allocations: 53.47 kB / 0.5215 GB, free: 3.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.3083, allocations: 2.461 MB / 0.5239 GB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.3084, allocations: 0.7515 MB / 0.5246 GB, free: 464 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.21e-05/0.3085, allocations: 29.92 kB / 0.5246 GB, free: 436 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.3086, allocations: 79.41 kB / 0.5247 GB, free: 356 kB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3086, allocations: 0 / 0.5247 GB, free: 356 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.3377, allocations: 5.44 MB / 0.53 GB, free: 10.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/8.764, allocations: 4 kB / 0.53 GB, free: 10.82 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.720327634364367]