Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.000883/0.000883, 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.00105/0.00105, 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.8371/0.8371, 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.1244/0.1244, allocations: 32.36 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.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 3.938 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.696e-05, allocations: 2.281 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002009/0.002026, allocations: 1.644 MB / 408.6 MB, free: 0.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009728/0.002999, allocations: 0.757 MB / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.003061, allocations: 0 / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.003362, allocations: 63.61 kB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.003544, allocations: 63.77 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.003705, allocations: 79.7 kB / 409.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.003842, allocations: 99.62 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.003879, allocations: 4 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.607e-05/0.003956, allocations: 43.84 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.004024, allocations: 31.89 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.00404, allocations: 0 / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.004102, allocations: 27.94 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.00416, allocations: 27.92 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.004197, allocations: 27.86 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.00436, allocations: 115.6 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004363, allocations: 3.938 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.004364, allocations: 0 / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.004368, allocations: 0 / 409.9 MB, free: 15.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004098/0.004778, allocations: 353.5 kB / 410.2 MB, free: 14.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.004814, allocations: 12.03 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.004847, allocations: 30.75 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.004879, allocations: 12.84 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.005092, allocations: 161.2 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.005103, allocations: 4.375 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.005113, allocations: 4.359 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.005225, allocations: 53.94 kB / 410.5 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.005231, allocations: 0 / 410.5 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.00524, allocations: 7.922 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.005244, allocations: 0 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.005291, allocations: 19.98 kB / 410.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.005435, allocations: 160.7 kB / 410.7 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.00554, allocations: 54.61 kB / 410.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.005573, allocations: 24.84 kB / 410.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.005585, allocations: 0 / 410.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.0057, allocations: 75.27 kB / 410.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.005701, allocations: 0 / 410.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001973/0.005898, allocations: 101.6 kB / 411 MB, free: 13.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.005927, allocations: 51.41 kB / 411 MB, free: 13.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.006106, allocations: 267.5 kB / 411.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.006119, allocations: 29.69 kB / 411.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.006164, allocations: 108.1 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.006189, allocations: 11.94 kB / 411.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.006217, allocations: 21.72 kB / 411.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.006297, allocations: 326.8 kB / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.237e-05/0.006329, allocations: 15.98 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.006364, allocations: 33.64 kB / 411.8 MB, free: 13.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.086e-05/0.006425, allocations: 41.7 kB / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006427, allocations: 0 / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.846e-05/0.006525, allocations: 97.47 kB / 411.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.006537, allocations: 8.031 kB / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.006541, allocations: 0 / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.006553, allocations: 0 / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.006613, allocations: 15.98 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.006619, allocations: 0 / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.006649, allocations: 3.953 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.006655, allocations: 4 kB / 412 MB, free: 12.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 (7): * Single equations (assignments): 7 * 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 7.398e-05/0.006729, allocations: 133.8 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.006743, allocations: 19.78 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.006885, allocations: 106.8 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006886, allocations: 4 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.00689, allocations: 0 / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.006894, allocations: 7.922 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.007003, allocations: 164.7 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007004, allocations: 384 / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.007021, allocations: 4 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.007024, allocations: 7.938 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.00703, allocations: 0 / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.007031, allocations: 4 kB / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.007032, allocations: 0 / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.007135, allocations: 124.9 kB / 412.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.007151, allocations: 23.84 kB / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.007166, allocations: 4 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.75e-05/0.007184, allocations: 0 / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.007209, allocations: 7.984 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.007219, allocations: 0 / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.007325, allocations: 203.3 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007325, allocations: 0 / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001447/0.00747, allocations: 19.98 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008744/0.008344, allocations: 0.9974 MB / 413.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.008454, allocations: 47.92 kB / 413.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008456, allocations: 0 / 413.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/0.008491, allocations: 23.92 kB / 413.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.008675, allocations: 23.77 kB / 413.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.009813, allocations: 1.666 MB / 415.5 MB, free: 9.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.36e-05/0.009877, allocations: 104.9 kB / 415.6 MB, free: 9.016 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.405e-05/0.009921, allocations: 8.484 kB / 415.7 MB, free: 9.004 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.00997, allocations: 40.59 kB / 415.7 MB, free: 8.965 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/0.00997, allocations: 3.938 kB / 415.7 MB, free: 8.961 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.0245, allocations: 4.225 MB / 419.9 MB, free: 4.609 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.479/6.504, allocations: 3.938 kB / 419.9 MB, free: 4.605 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.37601909134537]