Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.0008623/0.0008623, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008408/0.0008408, allocations: 169.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9463/0.9463, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1406/0.1406, allocations: 32.36 MB / 269.6 MB, free: 15.05 MB / 266.7 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.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.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 406.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.241e-05, allocations: 2.281 kB / 406.9 MB, free: 2.188 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002546/0.002569, allocations: 1.761 MB / 408.7 MB, free: 424 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.0037, allocations: 0.8544 MB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.003798, allocations: 3.938 kB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.004258, allocations: 307.2 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.004567, allocations: 215.2 kB / 410 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.004864, allocations: 147.5 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.005125, allocations: 251.2 kB / 410.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.005179, allocations: 9.797 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.005326, allocations: 143.7 kB / 410.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.005513, allocations: 207.6 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.005539, allocations: 4 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.964e-05/0.005639, allocations: 51.86 kB / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.005752, allocations: 139.6 kB / 411 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.532e-05/0.005827, allocations: 67.66 kB / 411 MB, free: 14.03 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.006167, allocations: 346.8 kB / 411.4 MB, free: 13.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.006171, allocations: 8 kB / 411.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.006173, allocations: 0 / 411.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.00618, allocations: 0 / 411.4 MB, free: 13.68 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007813/0.006962, allocations: 0.6631 MB / 412 MB, free: 12.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.007006, allocations: 12.03 kB / 412.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.00704, allocations: 38.69 kB / 412.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.007098, allocations: 52.55 kB / 412.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.007532, allocations: 389.8 kB / 412.5 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.007548, allocations: 4.375 kB / 412.5 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.007562, allocations: 8.359 kB / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.007743, allocations: 87.69 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.007754, allocations: 3.984 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.007766, allocations: 7.984 kB / 412.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.007773, allocations: 4 kB / 412.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.544e-05/0.007848, allocations: 31.92 kB / 412.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.008169, allocations: 325.5 kB / 413 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.008359, allocations: 105.2 kB / 413.1 MB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.008416, allocations: 45.69 kB / 413.1 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.008433, allocations: 4 kB / 413.1 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.008605, allocations: 109 kB / 413.2 MB, free: 11.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.008607, allocations: 0 / 413.2 MB, free: 11.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003382/0.008945, allocations: 213.4 kB / 413.5 MB, free: 11.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.008988, allocations: 81.05 kB / 413.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007123/0.009701, allocations: 1.05 MB / 414.6 MB, free: 10.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.009714, allocations: 29.7 kB / 414.6 MB, free: 10.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.009826, allocations: 232.1 kB / 414.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.009862, allocations: 23.84 kB / 414.9 MB, free: 9.988 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.009901, allocations: 29.7 kB / 414.9 MB, free: 9.953 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.01001, allocations: 366.8 kB / 415.2 MB, free: 9.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-05/0.01007, allocations: 31.98 kB / 415.3 MB, free: 9.555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.995e-05/0.01013, allocations: 59.41 kB / 415.3 MB, free: 9.484 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.01025, allocations: 87.36 kB / 415.4 MB, free: 9.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01025, allocations: 4 kB / 415.4 MB, free: 9.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002004/0.01045, allocations: 181.2 kB / 415.6 MB, free: 9.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.01046, allocations: 8 kB / 415.6 MB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01047, allocations: 0 / 415.6 MB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01048, allocations: 0 / 415.6 MB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.839e-05/0.01057, allocations: 27.92 kB / 415.6 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.01058, allocations: 0 / 415.6 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.01064, allocations: 15.92 kB / 415.7 MB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.01064, allocations: 8 kB / 415.7 MB, free: 9.141 MB / 394.7 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0004361/0.01108, allocations: 230 kB / 415.9 MB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.01113, allocations: 59.59 kB / 415.9 MB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.01141, allocations: 205.7 kB / 416.1 MB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01141, allocations: 0 / 416.1 MB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.01142, allocations: 4 kB / 416.1 MB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.01142, allocations: 0 / 416.1 MB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.01164, allocations: 288.6 kB / 416.4 MB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.01165, allocations: 4 kB / 416.4 MB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.01168, allocations: 11.94 kB / 416.4 MB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01169, allocations: 7.938 kB / 416.5 MB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.0117, allocations: 11.98 kB / 416.5 MB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.0117, allocations: 0 / 416.5 MB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0117, allocations: 0 / 416.5 MB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.0119, allocations: 205.6 kB / 416.7 MB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.01197, allocations: 71.53 kB / 416.7 MB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.012, allocations: 7.984 kB / 416.7 MB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.01204, allocations: 7.938 kB / 416.8 MB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.01207, allocations: 15.97 kB / 416.8 MB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.01209, allocations: 4 kB / 416.8 MB, free: 7.949 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005158/0.0126, allocations: 0.78 MB / 417.6 MB, free: 7.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0126, allocations: 7.938 kB / 417.6 MB, free: 7.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001932/0.0128, allocations: 40 kB / 417.6 MB, free: 7.125 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009921/0.01379, allocations: 1.1 MB / 418.7 MB, free: 6.027 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.01396, allocations: 79.91 kB / 418.8 MB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01397, allocations: 0 / 418.8 MB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.37e-05/0.01403, allocations: 52.03 kB / 418.8 MB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.01431, allocations: 66.12 kB / 418.9 MB, free: 5.832 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.01843, allocations: 4.586 MB / 423.5 MB, free: 1.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.01857, allocations: 233.8 kB / 423.7 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.785e-05/0.01866, allocations: 62.94 kB / 423.8 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.01878, allocations: 148.5 kB / 423.9 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01878, allocations: 0 / 423.9 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.04194, allocations: 9.978 MB / 433.9 MB, free: 6.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/6.988, allocations: 15.78 kB / 433.9 MB, free: 6.555 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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: 9.229851090349257]