Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.0008973/0.0008973, allocations: 80.53 kB / 19.93 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.0008845/0.0008845, allocations: 173.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.8341/0.8341, 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.133/0.133, allocations: 32.36 MB / 269.6 MB, free: 14.98 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.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.354e-05, allocations: 5.938 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002338/0.002362, allocations: 1.676 MB / 408.6 MB, free: 476 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.003737, allocations: 1.482 MB / 410.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.918e-05/0.003816, allocations: 0 / 410.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.004091, allocations: 39.77 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.004316, allocations: 63.58 kB / 410.2 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.004518, allocations: 87.69 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.004666, allocations: 99.69 kB / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.004763, allocations: 16.17 kB / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.79e-05/0.004841, allocations: 55.83 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.004928, allocations: 27.91 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.004946, allocations: 4 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.005051, allocations: 59.89 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.005098, allocations: 19.92 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.005132, allocations: 15.94 kB / 410.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.005313, allocations: 131.5 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.005316, allocations: 3.938 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005317, allocations: 3.938 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.778e-06/0.00532, allocations: 4 kB / 410.7 MB, free: 14.35 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.0004025/0.005723, allocations: 325.7 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.005758, allocations: 12.03 kB / 411 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.005787, allocations: 34.75 kB / 411.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.005819, allocations: 8.891 kB / 411.1 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.006007, allocations: 137.6 kB / 411.2 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.006019, allocations: 8.375 kB / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.006035, allocations: 384 / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.006174, allocations: 105.3 kB / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.006183, allocations: 0 / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.006191, allocations: 4 kB / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.006197, allocations: 4 kB / 411.3 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.829e-05/0.006245, allocations: 19.98 kB / 411.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.00652, allocations: 251.9 kB / 411.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.006636, allocations: 66.61 kB / 411.7 MB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.34e-05/0.006679, allocations: 16.86 kB / 411.7 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.006695, allocations: 0 / 411.7 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.006824, allocations: 75.36 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.314e-06/0.006827, allocations: 7.984 kB / 411.8 MB, free: 13.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003969/0.007224, allocations: 177.4 kB / 411.9 MB, free: 12.97 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.007263, allocations: 81.11 kB / 412 MB, free: 12.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.007367, allocations: 157 kB / 412.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.007381, allocations: 33.7 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.007421, allocations: 96.09 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.007445, allocations: 27.78 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.007475, allocations: 17.72 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.007555, allocations: 326.8 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/0.007592, allocations: 23.98 kB / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-05/0.007649, allocations: 76.2 kB / 412.7 MB, free: 12.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.192e-05/0.007721, allocations: 61.7 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007722, allocations: 0 / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001186/0.00784, allocations: 101.6 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.007853, allocations: 8 kB / 412.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.007857, allocations: 80 / 412.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.007868, allocations: 0 / 412.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.007928, allocations: 12.19 kB / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.007934, allocations: 12.05 kB / 412.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.007967, allocations: 11.92 kB / 412.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.007974, allocations: 4 kB / 413 MB, free: 11.86 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.835e-05/0.008042, allocations: 125.7 kB / 413.1 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.008054, allocations: 7.953 kB / 413.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.008205, allocations: 114.4 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.008207, allocations: 0 / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.00821, allocations: 0 / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008214, allocations: 7.922 kB / 413.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.00857, allocations: 370.4 kB / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.008571, allocations: 0 / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.008595, allocations: 19.92 kB / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.008597, allocations: 384 / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.008604, allocations: 0 / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.008606, allocations: 4 kB / 413.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.008608, allocations: 7.938 kB / 413.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.008741, allocations: 204.3 kB / 413.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.008752, allocations: 11.94 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.008769, allocations: 8 kB / 413.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.008809, allocations: 7.969 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.008837, allocations: 11.92 kB / 413.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.00885, allocations: 4 kB / 413.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.008913, allocations: 123.2 kB / 414 MB, free: 10.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008913, allocations: 0 / 414 MB, free: 10.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006795/0.009593, allocations: 35.86 kB / 414 MB, free: 10.74 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.001298/0.01089, allocations: 1.167 MB / 415.2 MB, free: 9.574 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.01108, allocations: 51.92 kB / 415.2 MB, free: 9.523 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01108, allocations: 0 / 415.2 MB, free: 9.523 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.007e-05/0.01113, allocations: 39.98 kB / 415.3 MB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.01144, allocations: 39.72 kB / 415.3 MB, free: 9.445 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.01279, allocations: 1.574 MB / 416.9 MB, free: 7.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.704e-05/0.01285, allocations: 79.89 kB / 416.9 MB, free: 7.676 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.725e-05/0.01291, allocations: 21.03 kB / 417 MB, free: 7.652 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.01296, allocations: 32.48 kB / 417 MB, free: 7.621 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01296, allocations: 0 / 417 MB, free: 7.621 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.0302, allocations: 4.427 MB / 421.4 MB, free: 3.039 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.575/6.605, allocations: 8.016 kB / 421.4 MB, free: 3.031 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.556057434529066]