Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.001142/0.001142, 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.0008629/0.0008629, allocations: 170.3 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.899/0.899, allocations: 158.6 MB / 185 MB, free: 3.047 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.1319/0.1319, allocations: 32.38 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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.158e-05, allocations: 2.281 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002167/0.002188, allocations: 1.687 MB / 408.6 MB, free: 472 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.003884, allocations: 1.474 MB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.003952, allocations: 0 / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.004236, allocations: 39.77 kB / 410.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.004437, allocations: 59.64 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.004605, allocations: 95.69 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.004737, allocations: 95.64 kB / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.057e-05/0.004817, allocations: 4.234 kB / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.061e-05/0.004888, allocations: 59.81 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.029e-05/0.004968, allocations: 31.89 kB / 410.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.004986, allocations: 4 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.005073, allocations: 55.92 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.005118, allocations: 19.92 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.00515, allocations: 15.92 kB / 410.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.005319, allocations: 131.5 kB / 410.7 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005322, allocations: 7.875 kB / 410.7 MB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005323, allocations: 4 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005327, allocations: 0 / 410.7 MB, free: 14.36 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.0004492/0.005776, allocations: 329.7 kB / 411 MB, free: 14.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.005821, allocations: 8.031 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.005864, allocations: 30.75 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.005904, allocations: 8.891 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.006105, allocations: 153.6 kB / 411.2 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.006115, allocations: 384 / 411.2 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.006132, allocations: 8.359 kB / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.006276, allocations: 105.3 kB / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.006285, allocations: 0 / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.006294, allocations: 4 kB / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.006298, allocations: 0 / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.014e-05/0.006348, allocations: 19.98 kB / 411.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.006877, allocations: 247.9 kB / 411.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.006989, allocations: 62.61 kB / 411.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.007021, allocations: 20.84 kB / 411.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.007033, allocations: 0 / 411.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.007138, allocations: 71.39 kB / 411.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.00714, allocations: 3.984 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000377/0.007517, allocations: 181.4 kB / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.007554, allocations: 77.11 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.007663, allocations: 169 kB / 412.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.007674, allocations: 25.7 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.007711, allocations: 92.14 kB / 412.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.007735, allocations: 31.77 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.007766, allocations: 21.72 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.00784, allocations: 326.8 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.268e-05/0.007872, allocations: 23.98 kB / 412.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.6e-05/0.007918, allocations: 72.2 kB / 412.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.893e-05/0.007987, allocations: 61.7 kB / 412.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.007988, allocations: 0 / 412.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001145/0.008103, allocations: 109.6 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.008114, allocations: 4 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.008118, allocations: 0 / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.00813, allocations: 4.188 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.974e-05/0.00819, allocations: 16.06 kB / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.008195, allocations: 3.938 kB / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.008226, allocations: 8.359 kB / 412.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.008231, allocations: 0 / 412.9 MB, free: 11.88 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.545e-05/0.008297, allocations: 129.7 kB / 413.1 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.008309, allocations: 7.953 kB / 413.1 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.008465, allocations: 118.4 kB / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.008466, allocations: 0 / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.00847, allocations: 11.94 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.008475, allocations: 3.984 kB / 413.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.008773, allocations: 362.4 kB / 413.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.008774, allocations: 3.938 kB / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.008797, allocations: 11.98 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.008799, allocations: 0 / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.008808, allocations: 4 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.008809, allocations: 0 / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.008811, allocations: 3.938 kB / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.008952, allocations: 208.3 kB / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.008964, allocations: 15.94 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.008979, allocations: 4.031 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.009018, allocations: 7.938 kB / 413.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.00905, allocations: 11.92 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.009062, allocations: 4 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.42e-05/0.009126, allocations: 119.2 kB / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009126, allocations: 0 / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001838/0.00931, allocations: 39.86 kB / 414 MB, free: 10.75 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.001338/0.01065, allocations: 1.168 MB / 415.2 MB, free: 9.586 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.0108, allocations: 55.92 kB / 415.2 MB, free: 9.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.0108, allocations: 4.062 kB / 415.2 MB, free: 9.527 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.01085, allocations: 31.92 kB / 415.2 MB, free: 9.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.01107, allocations: 55.72 kB / 415.3 MB, free: 9.441 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.01216, allocations: 1.57 MB / 416.9 MB, free: 7.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.435e-05/0.01222, allocations: 75.89 kB / 416.9 MB, free: 7.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.384e-05/0.01227, allocations: 21.03 kB / 417 MB, free: 7.656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.01232, allocations: 32.48 kB / 417 MB, free: 7.625 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01232, allocations: 0 / 417 MB, free: 7.625 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.02864, allocations: 4.419 MB / 421.4 MB, free: 3.051 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.539/6.568, allocations: 7.953 kB / 421.4 MB, free: 3.043 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.534851755946875]