Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.001379/0.001379, allocations: 112.8 kB / 17.13 MB, free: 5.949 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.001418/0.001418, allocations: 191.7 kB / 20.08 MB, free: 3.012 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.521/1.521, allocations: 207.6 MB / 230.5 MB, free: 4.051 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.3522/0.3522, allocations: 44.23 MB / 326.5 MB, free: 6.855 MB / 254.1 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.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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",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.003014/0.003014, allocations: 72.25 kB / 462.2 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.353, allocations: 60.99 MB / 0.511 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003279/0.3563, allocations: 1.677 MB / 0.5126 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3577, allocations: 0.7879 MB / 0.5134 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.283e-05/0.3577, allocations: 3.938 kB / 0.5134 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.3581, allocations: 58.5 kB / 0.5134 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.3584, allocations: 52.72 kB / 0.5135 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.3586, allocations: 87.78 kB / 0.5136 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.3588, allocations: 95.2 kB / 0.5137 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.3589, allocations: 6.609 kB / 0.5137 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.359, allocations: 43.06 kB / 0.5137 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.178e-05/0.3591, allocations: 30.75 kB / 0.5137 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3591, allocations: 1.812 kB / 0.5137 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.984e-05/0.3592, allocations: 31.58 kB / 0.5138 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.312e-05/0.3592, allocations: 22.64 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.3593, allocations: 45.17 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.3595, allocations: 119.5 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3595, allocations: 4 kB / 0.514 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3595, allocations: 0.75 kB / 0.514 GB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3595, allocations: 4 kB / 0.514 GB, free: 10.91 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.0004598/0.36, allocations: 428.8 kB / 0.5144 GB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.36, allocations: 13.48 kB / 0.5144 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.7e-05/0.36, allocations: 36.11 kB / 0.5144 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.3601, allocations: 14.34 kB / 0.5144 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.3603, allocations: 213.7 kB / 0.5146 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.3603, allocations: 2.125 kB / 0.5146 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.3603, allocations: 6.094 kB / 0.5146 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.3604, allocations: 53.88 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3605, allocations: 3.938 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3605, allocations: 5.672 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3605, allocations: 0 / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.3605, allocations: 12 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.3607, allocations: 187.3 kB / 0.5149 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.3608, allocations: 57.28 kB / 0.5149 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.819e-05/0.3609, allocations: 17.34 kB / 0.515 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3609, allocations: 7.922 kB / 0.515 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.361, allocations: 64.45 kB / 0.515 GB, free: 9.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.361, allocations: 0 / 0.515 GB, free: 9.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002654/0.3613, allocations: 97.64 kB / 0.5151 GB, free: 9.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.3613, allocations: 59.39 kB / 0.5152 GB, free: 9.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.3616, allocations: 262.3 kB / 0.5154 GB, free: 9.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.3616, allocations: 30.83 kB / 0.5155 GB, free: 9.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.3616, allocations: 115.1 kB / 0.5156 GB, free: 9.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.3617, allocations: 10.28 kB / 0.5156 GB, free: 9.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.3617, allocations: 17.97 kB / 0.5156 GB, free: 9.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.3618, allocations: 328.5 kB / 0.5159 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-05/0.3618, allocations: 15.17 kB / 0.5159 GB, free: 8.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.302e-05/0.3619, allocations: 32.3 kB / 0.516 GB, free: 8.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.827e-05/0.362, allocations: 39.38 kB / 0.516 GB, free: 8.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.362, allocations: 3.938 kB / 0.516 GB, free: 8.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001457/0.3621, allocations: 89.55 kB / 0.5161 GB, free: 8.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3621, allocations: 4.031 kB / 0.5161 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3621, allocations: 2.031 kB / 0.5161 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3622, allocations: 4 kB / 0.5161 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.3622, allocations: 13.47 kB / 0.5161 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3622, allocations: 0 / 0.5161 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.3623, allocations: 7.703 kB / 0.5161 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.3623, allocations: 9.906 kB / 0.5161 GB, free: 8.824 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 0.0001082/0.3624, allocations: 140.2 kB / 0.5163 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.3624, allocations: 13.91 kB / 0.5163 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.3625, allocations: 15.94 kB / 0.5163 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3625, allocations: 5.453 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3625, allocations: 0 / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3625, allocations: 4 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.3626, allocations: 202.5 kB / 0.5165 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.3626, allocations: 0 / 0.5165 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.3626, allocations: 4.281 kB / 0.5165 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3626, allocations: 0 / 0.5165 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3626, allocations: 5.516 kB / 0.5165 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3626, allocations: 0 / 0.5165 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3627, allocations: 0 / 0.5165 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.3628, allocations: 123.1 kB / 0.5166 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.3629, allocations: 87.84 kB / 0.5167 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.3629, allocations: 1.812 kB / 0.5167 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.458e-05/0.3629, allocations: 1.562 kB / 0.5167 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.363, allocations: 6.703 kB / 0.5167 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.363, allocations: 1.406 kB / 0.5167 GB, free: 8.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.3631, allocations: 196 kB / 0.5169 GB, free: 8.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3631, allocations: 0 / 0.5169 GB, free: 8.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.3634, allocations: 21.7 kB / 0.5169 GB, free: 8.094 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.001654/0.365, allocations: 0.9662 MB / 0.5179 GB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.3652, allocations: 41.91 kB / 0.5179 GB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3652, allocations: 3.938 kB / 0.5179 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.442e-05/0.3652, allocations: 15.06 kB / 0.5179 GB, free: 7.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.3655, allocations: 36.28 kB / 0.518 GB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.3668, allocations: 1.658 MB / 0.5196 GB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.367, allocations: 0.7158 MB / 0.5203 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.164e-05/0.367, allocations: 12.55 kB / 0.5203 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.367, allocations: 39.42 kB / 0.5203 GB, free: 4.961 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.367, allocations: 3.938 kB / 0.5203 GB, free: 4.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.3909, allocations: 3.412 MB / 0.5237 GB, free: 1.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.484, allocations: 15.78 kB / 0.5237 GB, free: 1.457 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.425796275958419]