Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.00154/0.00154, allocations: 114.6 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.001412/0.001412, 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.478/1.478, allocations: 207.6 MB / 230.4 MB, free: 4.031 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.3468/0.3468, allocations: 44.24 MB / 326.5 MB, free: 6.828 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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",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.002406/0.002406, allocations: 75.89 kB / 462.2 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3141, allocations: 60.99 MB / 0.511 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003374/0.3175, allocations: 1.72 MB / 0.5126 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3189, allocations: 0.8065 MB / 0.5134 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.319, allocations: 9 kB / 0.5134 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.3194, allocations: 37.02 kB / 0.5135 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.3198, allocations: 61.62 kB / 0.5135 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.3201, allocations: 80.62 kB / 0.5136 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.3204, allocations: 97.83 kB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3205, allocations: 8.219 kB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.3206, allocations: 44.06 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3207, allocations: 34.88 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.3208, allocations: 3.562 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.3209, allocations: 42.73 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.321, allocations: 21.23 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.562e-05/0.3211, allocations: 35.8 kB / 0.5139 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.3214, allocations: 109.6 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3214, allocations: 3.938 kB / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3214, allocations: 0 / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3214, allocations: 0 / 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.0006509/0.322, allocations: 416.5 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.3221, allocations: 11.27 kB / 0.5144 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.3221, allocations: 36.22 kB / 0.5144 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.3222, allocations: 9.359 kB / 0.5144 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.3225, allocations: 202.3 kB / 0.5146 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.3226, allocations: 6.25 kB / 0.5146 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3226, allocations: 6.438 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3227, allocations: 54.55 kB / 0.5147 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3228, allocations: 3.953 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3228, allocations: 0 / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3228, allocations: 1.406 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.3229, allocations: 22.17 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.3233, allocations: 292.9 kB / 0.515 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3234, allocations: 52.73 kB / 0.5151 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.3235, allocations: 16.67 kB / 0.5151 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.3235, allocations: 5.562 kB / 0.5151 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.3237, allocations: 64.14 kB / 0.5151 GB, free: 9.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3237, allocations: 0 / 0.5151 GB, free: 9.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005796/0.3242, allocations: 178 kB / 0.5153 GB, free: 9.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3243, allocations: 52.84 kB / 0.5154 GB, free: 9.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.3245, allocations: 175.4 kB / 0.5155 GB, free: 9.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3245, allocations: 30.8 kB / 0.5156 GB, free: 9.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.3245, allocations: 100.6 kB / 0.5157 GB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.3246, allocations: 27.44 kB / 0.5157 GB, free: 9.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.3246, allocations: 21.78 kB / 0.5157 GB, free: 9.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.3247, allocations: 321.2 kB / 0.516 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/0.3248, allocations: 23.02 kB / 0.516 GB, free: 8.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.898e-05/0.3248, allocations: 35.08 kB / 0.5161 GB, free: 8.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.848e-05/0.3249, allocations: 63.48 kB / 0.5161 GB, free: 8.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3249, allocations: 4 kB / 0.5161 GB, free: 8.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001648/0.3251, allocations: 102.9 kB / 0.5162 GB, free: 8.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3251, allocations: 5.844 kB / 0.5162 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3251, allocations: 1.594 kB / 0.5162 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3251, allocations: 4.172 kB / 0.5162 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/0.3252, allocations: 21.33 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3252, allocations: 5.812 kB / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.3253, allocations: 13.25 kB / 0.5163 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3253, allocations: 2.844 kB / 0.5163 GB, free: 8.648 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 7.078e-05/0.3253, allocations: 121.4 kB / 0.5164 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.3254, allocations: 9.734 kB / 0.5164 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.3254, allocations: 12.91 kB / 0.5164 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3254, allocations: 1.844 kB / 0.5164 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3254, allocations: 0 / 0.5164 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3254, allocations: 3.938 kB / 0.5164 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.3258, allocations: 395.9 kB / 0.5168 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3258, allocations: 1.406 kB / 0.5168 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.3258, allocations: 10.83 kB / 0.5168 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3258, allocations: 9.125 kB / 0.5168 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.3258, allocations: 1.469 kB / 0.5168 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3258, allocations: 1.281 kB / 0.5168 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3258, allocations: 1.375 kB / 0.5168 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.326, allocations: 208.2 kB / 0.517 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.3261, allocations: 83.81 kB / 0.5171 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.3261, allocations: 13.3 kB / 0.5171 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.3261, allocations: 1.375 kB / 0.5171 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.3262, allocations: 4.125 kB / 0.5171 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.3262, allocations: 6.734 kB / 0.5171 GB, free: 7.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.93e-05/0.3263, allocations: 135.5 kB / 0.5173 GB, free: 7.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3263, allocations: 0 / 0.5173 GB, free: 7.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.3265, allocations: 28.44 kB / 0.5173 GB, free: 7.703 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.002001/0.3285, allocations: 1.11 MB / 0.5184 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.3288, allocations: 51.55 kB / 0.5184 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3288, allocations: 0 / 0.5184 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.3288, allocations: 32.47 kB / 0.5184 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.3292, allocations: 32.19 kB / 0.5185 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.331, allocations: 1.612 MB / 0.5201 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.3312, allocations: 0.6999 MB / 0.5207 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.3312, allocations: 15.14 kB / 0.5207 GB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.3313, allocations: 32.7 kB / 0.5208 GB, free: 4.48 MB / 382.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3313, allocations: 0 / 0.5208 GB, free: 4.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.3563, allocations: 3.338 MB / 0.524 GB, free: 1.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.468, allocations: 1.156 kB / 0.524 GB, free: 1.07 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.30074126413092]