Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001399, allocations: 103.8 kB / 17.07 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 192.7 kB / 20.03 MB, free: 3.055 MB / 14.72 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 1.601/1.601, allocations: 205.1 MB / 227.9 MB, free: 4.348 MB / 174.1 MB " [Timeout remaining time 178] 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.3839/0.3839, allocations: 43.51 MB / 320.8 MB, free: 9.051 MB / 254.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 79.89 kB / 450.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3558, allocations: 57.77 MB / 0.496 GB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003285/0.3591, allocations: 1.663 MB / 0.4976 GB, free: 18.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.3604, allocations: 0.7795 MB / 0.4984 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.3605, allocations: 0 / 0.4984 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.3609, allocations: 62.83 kB / 0.4984 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.3611, allocations: 75.19 kB / 0.4985 GB, free: 17.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.3613, allocations: 80.5 kB / 0.4986 GB, free: 17.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3615, allocations: 99.17 kB / 0.4987 GB, free: 17.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.505e-05/0.3616, allocations: 12.11 kB / 0.4987 GB, free: 17.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.414e-05/0.3616, allocations: 47.03 kB / 0.4987 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3618, allocations: 43.61 kB / 0.4988 GB, free: 17.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.3618, allocations: 2.188 kB / 0.4988 GB, free: 17.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.799e-05/0.3619, allocations: 28.05 kB / 0.4988 GB, free: 17.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.3619, allocations: 22.56 kB / 0.4988 GB, free: 17.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.362, allocations: 34.39 kB / 0.4988 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.3622, allocations: 98.34 kB / 0.4989 GB, free: 17.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3622, allocations: 5.188 kB / 0.4989 GB, free: 17.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3622, allocations: 0 / 0.4989 GB, free: 17.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3622, allocations: 4 kB / 0.4989 GB, free: 17.16 MB / 382.1 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.0004854/0.3627, allocations: 402.4 kB / 0.4993 GB, free: 16.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3628, allocations: 12.86 kB / 0.4993 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.3628, allocations: 31.84 kB / 0.4994 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.3629, allocations: 17.31 kB / 0.4994 GB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.3631, allocations: 213.9 kB / 0.4996 GB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3631, allocations: 5.656 kB / 0.4996 GB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.3632, allocations: 6.5 kB / 0.4996 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3633, allocations: 50.89 kB / 0.4996 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3633, allocations: 0 / 0.4996 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3633, allocations: 1.125 kB / 0.4996 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3633, allocations: 0 / 0.4996 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.685e-05/0.3634, allocations: 16.02 kB / 0.4997 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.3636, allocations: 179.4 kB / 0.4998 GB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3638, allocations: 58.06 kB / 0.4999 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.3638, allocations: 21.31 kB / 0.4999 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3639, allocations: 1.062 kB / 0.4999 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.364, allocations: 64.14 kB / 0.5 GB, free: 16.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.364, allocations: 0 / 0.5 GB, free: 16.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002937/0.3643, allocations: 91.38 kB / 0.5001 GB, free: 16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.3644, allocations: 60.38 kB / 0.5001 GB, free: 15.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.3646, allocations: 193.4 kB / 0.5003 GB, free: 15.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3646, allocations: 26.73 kB / 0.5003 GB, free: 15.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.3646, allocations: 100.7 kB / 0.5004 GB, free: 15.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.3647, allocations: 10.05 kB / 0.5004 GB, free: 15.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.3647, allocations: 18.94 kB / 0.5005 GB, free: 15.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.599e-05/0.3648, allocations: 321.9 kB / 0.5008 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.3648, allocations: 20.16 kB / 0.5008 GB, free: 15.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.881e-05/0.3649, allocations: 27.03 kB / 0.5008 GB, free: 15.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.931e-05/0.365, allocations: 47.8 kB / 0.5008 GB, free: 15.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.365, allocations: 3.938 kB / 0.5009 GB, free: 15.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000143/0.3651, allocations: 83.69 kB / 0.5009 GB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3652, allocations: 9.891 kB / 0.5009 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3652, allocations: 0 / 0.5009 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3652, allocations: 1.031 kB / 0.5009 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.3653, allocations: 16.66 kB / 0.501 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3653, allocations: 5.031 kB / 0.501 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.3653, allocations: 2.219 kB / 0.501 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3653, allocations: 2.25 kB / 0.501 GB, free: 15.16 MB / 382.1 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.085e-05/0.3654, allocations: 129.9 kB / 0.5011 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.3655, allocations: 9.922 kB / 0.5011 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.3655, allocations: 15.64 kB / 0.5011 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3655, allocations: 1.188 kB / 0.5011 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3655, allocations: 4 kB / 0.5011 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3655, allocations: 1.062 kB / 0.5011 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.3656, allocations: 188 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3656, allocations: 3.938 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.3657, allocations: 3.438 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3657, allocations: 1.219 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3657, allocations: 1.188 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3657, allocations: 0 / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3657, allocations: 3.984 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.3659, allocations: 117.3 kB / 0.5014 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.3659, allocations: 88.42 kB / 0.5015 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.3659, allocations: 1.125 kB / 0.5015 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.234e-05/0.366, allocations: 1.344 kB / 0.5015 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.366, allocations: 2.312 kB / 0.5015 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.366, allocations: 10.27 kB / 0.5015 GB, free: 14.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.3661, allocations: 141.4 kB / 0.5017 GB, free: 14.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3661, allocations: 0 / 0.5017 GB, free: 14.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000207/0.3663, allocations: 20.47 kB / 0.5017 GB, free: 14.46 MB / 382.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001939/0.3683, allocations: 0.9702 MB / 0.5026 GB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.3685, allocations: 44.5 kB / 0.5027 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3685, allocations: 0 / 0.5027 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.835e-05/0.3686, allocations: 23.81 kB / 0.5027 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.369, allocations: 28.62 kB / 0.5027 GB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.3708, allocations: 1.471 MB / 0.5042 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.3711, allocations: 0.6982 MB / 0.5048 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.453e-05/0.3711, allocations: 15.55 kB / 0.5049 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.3712, allocations: 33.84 kB / 0.5049 GB, free: 11.48 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3712, allocations: 0 / 0.5049 GB, free: 11.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.403, allocations: 3.053 MB / 0.5079 GB, free: 9.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.511, allocations: 13 kB / 0.5079 GB, free: 9.684 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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: 11.58537159091793]