Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.001784/0.001784, allocations: 119.3 kB / 17.13 MB, free: 5.926 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.001935/0.001935, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.486/1.486, allocations: 207.6 MB / 230.5 MB, free: 4.027 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.3432/0.3432, allocations: 44.24 MB / 326.5 MB, free: 6.852 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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.002167/0.002167, allocations: 75.88 kB / 462.2 MB, free: 0.875 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3083, allocations: 60.99 MB / 0.511 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002731/0.3111, allocations: 1.712 MB / 0.5126 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3122, allocations: 0.8134 MB / 0.5134 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.723e-05/0.3122, allocations: 1.031 kB / 0.5134 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.3125, allocations: 36.97 kB / 0.5135 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.3127, allocations: 59.98 kB / 0.5135 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.3129, allocations: 86.25 kB / 0.5136 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.3131, allocations: 102.1 kB / 0.5137 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.55e-05/0.3132, allocations: 7.656 kB / 0.5137 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.344e-05/0.3132, allocations: 43.06 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.3133, allocations: 34.06 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.3133, allocations: 3.344 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.3134, allocations: 39.8 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.925e-05/0.3135, allocations: 16.55 kB / 0.5138 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.3135, allocations: 27.94 kB / 0.5139 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.3137, allocations: 116 kB / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3137, allocations: 0 / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3137, allocations: 0 / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.3137, allocations: 0.9375 kB / 0.514 GB, free: 10.83 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004549/0.3142, allocations: 405.2 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3142, allocations: 17.7 kB / 0.5144 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.3142, allocations: 34.73 kB / 0.5144 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.3143, allocations: 9.453 kB / 0.5144 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3145, allocations: 215.3 kB / 0.5146 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3145, allocations: 1.656 kB / 0.5146 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.3145, allocations: 5.625 kB / 0.5146 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.3147, allocations: 54.33 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3147, allocations: 0 / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3147, allocations: 0 / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3147, allocations: 5.938 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.934e-05/0.3148, allocations: 17.61 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.315, allocations: 285.2 kB / 0.515 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.3152, allocations: 55.31 kB / 0.515 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.3152, allocations: 21.59 kB / 0.5151 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3153, allocations: 4 kB / 0.5151 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.3154, allocations: 65.23 kB / 0.5151 GB, free: 9.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3154, allocations: 1.281 kB / 0.5151 GB, free: 9.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004929/0.3159, allocations: 172.9 kB / 0.5153 GB, free: 9.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.3159, allocations: 55.34 kB / 0.5153 GB, free: 9.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.316, allocations: 162 kB / 0.5155 GB, free: 9.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.316, allocations: 29.7 kB / 0.5155 GB, free: 9.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.3161, allocations: 99.69 kB / 0.5156 GB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.3161, allocations: 25.12 kB / 0.5156 GB, free: 9.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.3161, allocations: 20.81 kB / 0.5157 GB, free: 9.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.3162, allocations: 324.6 kB / 0.516 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.528e-05/0.3163, allocations: 26.64 kB / 0.516 GB, free: 8.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.3163, allocations: 35.42 kB / 0.516 GB, free: 8.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.874e-05/0.3164, allocations: 58.77 kB / 0.5161 GB, free: 8.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3164, allocations: 5.312 kB / 0.5161 GB, free: 8.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001651/0.3166, allocations: 106.8 kB / 0.5162 GB, free: 8.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3166, allocations: 5.5 kB / 0.5162 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3166, allocations: 3.938 kB / 0.5162 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3166, allocations: 5.359 kB / 0.5162 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/0.3167, allocations: 16.36 kB / 0.5162 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3167, allocations: 1.375 kB / 0.5162 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.3167, allocations: 6.781 kB / 0.5162 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.3168, allocations: 2.75 kB / 0.5162 GB, free: 8.656 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 (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.3168, allocations: 128.6 kB / 0.5164 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.3168, allocations: 8.078 kB / 0.5164 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.3169, allocations: 16.78 kB / 0.5164 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3169, allocations: 1.375 kB / 0.5164 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3169, allocations: 0 / 0.5164 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3169, allocations: 1.375 kB / 0.5164 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.3173, allocations: 398.3 kB / 0.5168 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3173, allocations: 1.375 kB / 0.5168 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.3173, allocations: 15.23 kB / 0.5168 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3173, allocations: 1.375 kB / 0.5168 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.3173, allocations: 1.375 kB / 0.5168 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.3173, allocations: 5.375 kB / 0.5168 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3173, allocations: 0 / 0.5168 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.3175, allocations: 212.2 kB / 0.517 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.3175, allocations: 83.81 kB / 0.5171 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.3175, allocations: 5.359 kB / 0.5171 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.3176, allocations: 2.75 kB / 0.5171 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.3176, allocations: 2.75 kB / 0.5171 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3177, allocations: 12.11 kB / 0.5171 GB, free: 7.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.854e-05/0.3177, allocations: 126.1 kB / 0.5172 GB, free: 7.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3177, allocations: 4 kB / 0.5172 GB, free: 7.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.318, allocations: 19.12 kB / 0.5172 GB, free: 7.707 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.001842/0.3198, allocations: 1.105 MB / 0.5183 GB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.32, allocations: 51.5 kB / 0.5184 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.32, allocations: 5.312 kB / 0.5184 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.782e-05/0.3201, allocations: 27.42 kB / 0.5184 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3204, allocations: 28.83 kB / 0.5184 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3218, allocations: 1.571 MB / 0.52 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.3219, allocations: 0.6995 MB / 0.5206 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.322, allocations: 17.12 kB / 0.5207 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.322, allocations: 31.67 kB / 0.5207 GB, free: 4.523 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.322, allocations: 3.938 kB / 0.5207 GB, free: 4.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.3461, allocations: 3.278 MB / 0.5239 GB, free: 1.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.234/8.58, allocations: 12.78 kB / 0.5239 GB, free: 1.219 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.434399636927992]