Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.0008601/0.0008601, 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.0008125/0.0008125, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.791/0.791, 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.1203/0.1203, allocations: 32.37 MB / 269.6 MB, free: 14.95 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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 3.938 kB / 406.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.302e-05, allocations: 9.938 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00183/0.001843, allocations: 1.688 MB / 408.6 MB, free: 476 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008348/0.002678, allocations: 0.7842 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.002744, allocations: 0 / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.003012, allocations: 51.75 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.003185, allocations: 55.64 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.003367, allocations: 91.7 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.003493, allocations: 99.69 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.799e-05/0.003571, allocations: 8.219 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.976e-05/0.003641, allocations: 51.78 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.882e-05/0.0037, allocations: 27.91 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.003716, allocations: 4 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.003909, allocations: 43.92 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.003958, allocations: 23.91 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.003993, allocations: 23.86 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.004145, allocations: 115.6 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.004147, allocations: 0 / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004148, allocations: 7.938 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.004151, allocations: 0 / 410 MB, free: 15.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003784/0.00453, allocations: 349.5 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.004566, allocations: 15.97 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.535e-05/0.004591, allocations: 30.75 kB / 410.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.00462, allocations: 16.83 kB / 410.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.00478, allocations: 153.5 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.004792, allocations: 4.375 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.004807, allocations: 384 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.004916, allocations: 61.98 kB / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.004925, allocations: 0 / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.004932, allocations: 4 kB / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.004937, allocations: 3.984 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.924e-05/0.004986, allocations: 27.92 kB / 410.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.005239, allocations: 252 kB / 410.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.005344, allocations: 54.67 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.005377, allocations: 24.84 kB / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.005389, allocations: 0 / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.005492, allocations: 75.33 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 7.31e-07/0.005493, allocations: 0 / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003734/0.005866, allocations: 193.3 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.005895, allocations: 55.41 kB / 411.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.006028, allocations: 230.8 kB / 411.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.006038, allocations: 25.7 kB / 411.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.006081, allocations: 108.1 kB / 411.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.006103, allocations: 27.78 kB / 411.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.006131, allocations: 21.72 kB / 411.7 MB, free: 13.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.006204, allocations: 330.8 kB / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.006237, allocations: 23.98 kB / 412 MB, free: 12.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.766e-05/0.006275, allocations: 37.7 kB / 412.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.222e-05/0.006347, allocations: 65.64 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.006348, allocations: 0 / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000104/0.006452, allocations: 105.6 kB / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.006463, allocations: 4 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006467, allocations: 4.094 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.006477, allocations: 0 / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.006532, allocations: 20.22 kB / 412.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.006537, allocations: 3.984 kB / 412.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.006564, allocations: 11.86 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.00657, allocations: 4 kB / 412.3 MB, free: 12.57 MB / 394.7 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 6.573e-05/0.006636, allocations: 133.8 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.006647, allocations: 11.95 kB / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.0068, allocations: 123 kB / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.006802, allocations: 4 kB / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.006805, allocations: 0 / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.006808, allocations: 0 / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.007073, allocations: 378.4 kB / 412.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007074, allocations: 0 / 412.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.007096, allocations: 11.98 kB / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.007099, allocations: 4 kB / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.007105, allocations: 384 / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007106, allocations: 3.938 kB / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.007109, allocations: 7.938 kB / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.007236, allocations: 216.2 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.007246, allocations: 15.94 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.00726, allocations: 4.031 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.679e-05/0.007297, allocations: 0 / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.007324, allocations: 15.92 kB / 413.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.007336, allocations: 4 kB / 413.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.757e-05/0.007423, allocations: 172.3 kB / 413.4 MB, free: 11.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007423, allocations: 0 / 413.4 MB, free: 11.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001758/0.007599, allocations: 31.92 kB / 413.4 MB, free: 11.37 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: 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 (9): * Single equations (assignments): 7 * 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.0009261/0.008525, allocations: 1.133 MB / 414.5 MB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.008639, allocations: 55.91 kB / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.008641, allocations: 4 kB / 414.6 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.73e-05/0.008688, allocations: 31.92 kB / 414.6 MB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.0089, allocations: 32.28 kB / 414.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.01035, allocations: 1.744 MB / 416.4 MB, free: 8.285 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.986e-05/0.01041, allocations: 92.8 kB / 416.5 MB, free: 8.176 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.821e-05/0.01045, allocations: 12.48 kB / 416.5 MB, free: 8.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.0105, allocations: 40.48 kB / 416.5 MB, free: 8.121 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0105, allocations: 4 kB / 416.5 MB, free: 8.117 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.0273, allocations: 4.371 MB / 420.9 MB, free: 3.609 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.646/6.674, allocations: 7.906 kB / 420.9 MB, free: 3.602 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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: 8.46616414655]