Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.001371/0.001371, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.001513/0.001513, allocations: 212.4 kB / 23 MB, free: 5.004 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.458/1.458, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.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.2305/0.2305, allocations: 44.23 MB / 330.3 MB, free: 9.535 MB / 270.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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",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.002225/0.002225, allocations: 71.12 kB / 467.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1098, allocations: 61.05 MB / 0.5162 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003247/0.113, allocations: 1.731 MB / 0.5179 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1144, allocations: 0.8235 MB / 0.5187 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.18e-05/0.1144, allocations: 3.938 kB / 0.5187 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.1148, allocations: 79.77 kB / 0.5188 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.115, allocations: 83.66 kB / 0.5189 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1153, allocations: 83.7 kB / 0.5189 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.1156, allocations: 111.7 kB / 0.519 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1157, allocations: 16.2 kB / 0.5191 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1158, allocations: 47.78 kB / 0.5191 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1159, allocations: 67.73 kB / 0.5192 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1159, allocations: 4 kB / 0.5192 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/0.116, allocations: 39.98 kB / 0.5192 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.1161, allocations: 27.91 kB / 0.5192 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.579e-05/0.1161, allocations: 35.75 kB / 0.5193 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.1164, allocations: 115.5 kB / 0.5194 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1164, allocations: 0 / 0.5194 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1164, allocations: 0 / 0.5194 GB, free: 4.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1164, allocations: 0 / 0.5194 GB, free: 4.016 MB / 398.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.0005644/0.1169, allocations: 349.5 kB / 0.5197 GB, free: 3.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.117, allocations: 12.03 kB / 0.5197 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.117, allocations: 34.75 kB / 0.5198 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.1171, allocations: 12.84 kB / 0.5198 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.1173, allocations: 155.3 kB / 0.5199 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1173, allocations: 4.312 kB / 0.5199 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1174, allocations: 11.94 kB / 0.5199 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.1176, allocations: 49.67 kB / 0.52 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1176, allocations: 0 / 0.52 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1176, allocations: 4 kB / 0.52 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1176, allocations: 4 kB / 0.52 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.1177, allocations: 19.92 kB / 0.52 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.118, allocations: 267.9 kB / 0.5203 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1182, allocations: 50.67 kB / 0.5203 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.1183, allocations: 16.86 kB / 0.5203 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1183, allocations: 8 kB / 0.5203 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.1184, allocations: 67.33 kB / 0.5204 GB, free: 2.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1185, allocations: 0 / 0.5204 GB, free: 2.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005202/0.119, allocations: 177.5 kB / 0.5206 GB, free: 2.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.119, allocations: 55.41 kB / 0.5206 GB, free: 2.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1193, allocations: 218.2 kB / 0.5208 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1193, allocations: 25.7 kB / 0.5209 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.1194, allocations: 112.1 kB / 0.521 GB, free: 2.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.1194, allocations: 23.8 kB / 0.521 GB, free: 2.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.1194, allocations: 25.7 kB / 0.521 GB, free: 2.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.1196, allocations: 326.8 kB / 0.5213 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.1197, allocations: 16.19 kB / 0.5213 GB, free: 1.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.1198, allocations: 41.64 kB / 0.5214 GB, free: 1.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1199, allocations: 65.64 kB / 0.5214 GB, free: 1.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1199, allocations: 4 kB / 0.5214 GB, free: 1.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001887/0.1201, allocations: 101.5 kB / 0.5215 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1201, allocations: 11.98 kB / 0.5215 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1201, allocations: 0 / 0.5215 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1201, allocations: 0 / 0.5215 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.1202, allocations: 16 kB / 0.5216 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1202, allocations: 0 / 0.5216 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.1202, allocations: 3.938 kB / 0.5216 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1203, allocations: 7.984 kB / 0.5216 GB, free: 1.559 MB / 398.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 0.0001451/0.1204, allocations: 129.9 kB / 0.5217 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.1204, allocations: 7.953 kB / 0.5217 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.1207, allocations: 122.9 kB / 0.5218 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1207, allocations: 7.922 kB / 0.5218 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1207, allocations: 0 / 0.5218 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1207, allocations: 7.922 kB / 0.5218 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.1211, allocations: 366.4 kB / 0.5222 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1211, allocations: 4.031 kB / 0.5222 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.1211, allocations: 8 kB / 0.5222 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.1212, allocations: 7.938 kB / 0.5222 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1212, allocations: 0 / 0.5222 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1212, allocations: 0 / 0.5222 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1212, allocations: 320 / 0.5222 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1214, allocations: 212.2 kB / 0.5224 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.1214, allocations: 11.94 kB / 0.5224 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1215, allocations: 7.938 kB / 0.5224 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.1215, allocations: 0 / 0.5224 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.1216, allocations: 11.98 kB / 0.5224 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1216, allocations: 4 kB / 0.5224 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1217, allocations: 156.2 kB / 0.5226 GB, free: 432 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1217, allocations: 0 / 0.5226 GB, free: 432 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.122, allocations: 27.92 kB / 0.5226 GB, free: 404 kB / 398.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.002269/0.1242, allocations: 1.101 MB / 0.5237 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1244, allocations: 63.89 kB / 0.5238 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1244, allocations: 0 / 0.5238 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.602e-05/0.1245, allocations: 20 kB / 0.5238 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.1248, allocations: 31.91 kB / 0.5238 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.1268, allocations: 1.682 MB / 0.5254 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1272, allocations: 0.7041 MB / 0.5261 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.1273, allocations: 20.88 kB / 0.5262 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.1273, allocations: 39.42 kB / 0.5262 GB, free: 12.64 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1273, allocations: 4 kB / 0.5262 GB, free: 12.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.157, allocations: 3.659 MB / 0.5298 GB, free: 8.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.01, allocations: 11.84 kB / 0.5298 GB, free: 8.879 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.374030826998933]