Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.0007999/0.0007999, allocations: 80.48 kB / 19.93 MB, free: 4.625 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.000826/0.000826, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8199/0.8199, allocations: 158.6 MB / 185 MB, free: 3.027 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.1265/0.1265, allocations: 32.37 MB / 269.6 MB, free: 14.96 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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 406.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.803e-05, allocations: 6.078 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002125/0.002143, allocations: 1.688 MB / 408.6 MB, free: 480 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008277/0.002971, allocations: 0.7725 MB / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.003031, allocations: 0 / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.003302, allocations: 43.77 kB / 409.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.003487, allocations: 63.62 kB / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.00366, allocations: 83.7 kB / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.003791, allocations: 107.6 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.871e-05/0.00387, allocations: 4.234 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.903e-05/0.003939, allocations: 51.84 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.004, allocations: 27.89 kB / 409.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.004015, allocations: 4 kB / 409.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.677e-05/0.004081, allocations: 43.92 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.004125, allocations: 11.94 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.004158, allocations: 23.91 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.004306, allocations: 111.7 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004308, allocations: 3.938 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004309, allocations: 3.938 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.004313, allocations: 0 / 410 MB, free: 15.11 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.0003523/0.004665, allocations: 325.6 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.004697, allocations: 12.03 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.654e-05/0.004724, allocations: 38.73 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.004749, allocations: 8.891 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.004911, allocations: 138.2 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.004921, allocations: 4.375 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.004938, allocations: 8.125 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.005041, allocations: 57.67 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005049, allocations: 0 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.005057, allocations: 4 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.00506, allocations: 0 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/0.005107, allocations: 19.98 kB / 410.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.005367, allocations: 255.9 kB / 410.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.005473, allocations: 54.67 kB / 410.9 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.005504, allocations: 16.86 kB / 410.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.005516, allocations: 8 kB / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.005619, allocations: 75.31 kB / 411 MB, free: 13.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.005621, allocations: 3.984 kB / 411 MB, free: 13.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003549/0.005976, allocations: 177.5 kB / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.006002, allocations: 55.34 kB / 411.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.006103, allocations: 174.3 kB / 411.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.006112, allocations: 25.7 kB / 411.4 MB, free: 13.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.006155, allocations: 100.1 kB / 411.5 MB, free: 13.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.006175, allocations: 23.8 kB / 411.5 MB, free: 13.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.006206, allocations: 33.7 kB / 411.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.00627, allocations: 314.8 kB / 411.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.006304, allocations: 23.98 kB / 411.9 MB, free: 13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.006344, allocations: 37.7 kB / 411.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.801e-05/0.006412, allocations: 61.64 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.006413, allocations: 0 / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001055/0.006518, allocations: 105.6 kB / 412.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.006529, allocations: 8 kB / 412.1 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006532, allocations: 4.188 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.006542, allocations: 0 / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.731e-05/0.0066, allocations: 24.11 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.006605, allocations: 7.922 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.00663, allocations: 3.938 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.006637, allocations: 8 kB / 412.1 MB, free: 12.73 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 5.855e-05/0.006695, allocations: 117.8 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.006706, allocations: 7.953 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.006848, allocations: 122.4 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.006849, allocations: 0 / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.006852, allocations: 7.938 kB / 412.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006855, allocations: 0 / 412.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.007122, allocations: 366.4 kB / 412.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007124, allocations: 0 / 412.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.007144, allocations: 11.98 kB / 412.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.007147, allocations: 3.938 kB / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.007156, allocations: 8 kB / 412.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.007158, allocations: 384 / 412.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007158, allocations: 0 / 412.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.007282, allocations: 212.3 kB / 413 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.007293, allocations: 11.88 kB / 413 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.007307, allocations: 8 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.612e-05/0.007343, allocations: 0 / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.00737, allocations: 15.92 kB / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.007381, allocations: 4 kB / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.903e-05/0.00744, allocations: 123.2 kB / 413.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00744, allocations: 3.938 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.007609, allocations: 31.92 kB / 413.2 MB, free: 11.61 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.0009248/0.008534, allocations: 1.129 MB / 414.3 MB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.008649, allocations: 59.91 kB / 414.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.008651, allocations: 0 / 414.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.008692, allocations: 28.11 kB / 414.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.008905, allocations: 36.28 kB / 414.4 MB, free: 10.37 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.009934, allocations: 1.589 MB / 416 MB, free: 8.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.819e-05/0.009992, allocations: 83.31 kB / 416.1 MB, free: 8.578 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.683e-05/0.01003, allocations: 24.42 kB / 416.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.01007, allocations: 32.48 kB / 416.1 MB, free: 8.523 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.01007, allocations: 4 kB / 416.1 MB, free: 8.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.02357, allocations: 4.079 MB / 420.2 MB, free: 4.309 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.566/6.59, allocations: 15.91 kB / 420.2 MB, free: 4.293 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.413229702971876]