Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.001069/0.001069, 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.000837/0.000837, 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.879/0.879, 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.1245/0.1245, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 406.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.911e-05, allocations: 2.281 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002347/0.002366, allocations: 1.68 MB / 408.6 MB, free: 492 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000899/0.003265, allocations: 0.7765 MB / 409.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.003339, allocations: 7.938 kB / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.003661, allocations: 43.77 kB / 409.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.003862, allocations: 59.69 kB / 409.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.00406, allocations: 95.62 kB / 409.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.004215, allocations: 91.7 kB / 409.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.004314, allocations: 4.234 kB / 409.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.004394, allocations: 63.75 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.004473, allocations: 23.92 kB / 409.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.004492, allocations: 4 kB / 409.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.669e-05/0.004569, allocations: 39.92 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.004625, allocations: 23.91 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.004663, allocations: 19.88 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.004831, allocations: 119.6 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.004835, allocations: 7.922 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.004836, allocations: 0 / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.00484, allocations: 0 / 410 MB, free: 15.1 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.0004229/0.005263, allocations: 333.6 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.005308, allocations: 12.03 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.005339, allocations: 34.73 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.005371, allocations: 8.891 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.005591, allocations: 162.2 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.005603, allocations: 4.359 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.005621, allocations: 8.375 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.005746, allocations: 57.98 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.005756, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.005765, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.00577, allocations: 4 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.005822, allocations: 19.92 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.006117, allocations: 259.9 kB / 410.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.006226, allocations: 54.67 kB / 410.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.00626, allocations: 24.84 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.006272, allocations: 4 kB / 410.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.006388, allocations: 71.39 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.00639, allocations: 3.938 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003854/0.006775, allocations: 185.3 kB / 411.2 MB, free: 13.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.006806, allocations: 55.41 kB / 411.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.006932, allocations: 203.3 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.006942, allocations: 29.64 kB / 411.5 MB, free: 13.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.006987, allocations: 100.1 kB / 411.6 MB, free: 13.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.007009, allocations: 23.78 kB / 411.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.007041, allocations: 29.72 kB / 411.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.007115, allocations: 326.8 kB / 411.9 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.007153, allocations: 23.98 kB / 412 MB, free: 12.92 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-05/0.007194, allocations: 37.7 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.007262, allocations: 57.7 kB / 412.1 MB, free: 12.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.007263, allocations: 4 kB / 412.1 MB, free: 12.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001175/0.007381, allocations: 101.6 kB / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.007394, allocations: 8 kB / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.007399, allocations: 4.109 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.007409, allocations: 192 / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.007472, allocations: 15.94 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.00748, allocations: 15.91 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.007507, allocations: 4 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.007513, allocations: 4 kB / 412.2 MB, free: 12.65 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.614e-05/0.007579, allocations: 133.8 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.007589, allocations: 7.953 kB / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.007744, allocations: 119.1 kB / 412.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007747, allocations: 4 kB / 412.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.00775, allocations: 4 kB / 412.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.007753, allocations: 0 / 412.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.00803, allocations: 370.3 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.008031, allocations: 4 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.008052, allocations: 8 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008055, allocations: 3.938 kB / 412.9 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.008064, allocations: 8 kB / 412.9 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.008066, allocations: 3.984 kB / 412.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.008068, allocations: 3.938 kB / 412.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.008194, allocations: 212.3 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.008206, allocations: 11.91 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.00822, allocations: 384 / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/0.008274, allocations: 7.984 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.008306, allocations: 11.94 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.008321, allocations: 7.984 kB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.904e-05/0.0084, allocations: 160.8 kB / 413.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0084, allocations: 0 / 413.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.00857, allocations: 23.94 kB / 413.3 MB, free: 11.48 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.001069/0.009638, allocations: 1.132 MB / 414.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.009765, allocations: 59.91 kB / 414.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009766, allocations: 3.938 kB / 414.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.009808, allocations: 32.05 kB / 414.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.01003, allocations: 28.22 kB / 414.5 MB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.01115, allocations: 1.681 MB / 416.2 MB, free: 8.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.081e-05/0.01121, allocations: 88.31 kB / 416.3 MB, free: 8.344 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.85e-05/0.01125, allocations: 20.48 kB / 416.3 MB, free: 8.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.01129, allocations: 36.48 kB / 416.4 MB, free: 8.289 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0113, allocations: 0 / 416.4 MB, free: 8.289 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.02599, allocations: 4.254 MB / 420.6 MB, free: 3.902 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.529/6.555, allocations: 7.906 kB / 420.6 MB, free: 3.895 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.509699053131044]