Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.001297/0.001297, allocations: 118.1 kB / 17.13 MB, free: 5.777 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.001347/0.001347, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.515/1.515, allocations: 207.6 MB / 230.4 MB, free: 3.926 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.3263/0.3263, 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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.002219/0.002219, allocations: 75.89 kB / 462.2 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3296, allocations: 61 MB / 0.511 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002736/0.3323, allocations: 1.7 MB / 0.5126 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3334, allocations: 0.8158 MB / 0.5134 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.3335, allocations: 0 / 0.5134 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.3338, allocations: 83.14 kB / 0.5135 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.3341, allocations: 78.08 kB / 0.5136 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.3343, allocations: 82.22 kB / 0.5137 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.3344, allocations: 112 kB / 0.5138 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.3345, allocations: 8.781 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.216e-05/0.3346, allocations: 56.67 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.345e-05/0.3347, allocations: 65.05 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.3347, allocations: 2.344 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-05/0.3348, allocations: 39.5 kB / 0.5139 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.3348, allocations: 27.81 kB / 0.514 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.3349, allocations: 34.69 kB / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.3351, allocations: 114.1 kB / 0.5141 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3351, allocations: 3.938 kB / 0.5141 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3351, allocations: 0 / 0.5141 GB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.3351, allocations: 0 / 0.5141 GB, free: 10.86 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.0004421/0.3355, allocations: 430.8 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3356, allocations: 14.02 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.328e-05/0.3356, allocations: 38.69 kB / 0.5146 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.3356, allocations: 13.81 kB / 0.5146 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.3359, allocations: 208.2 kB / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.3359, allocations: 2.406 kB / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.3359, allocations: 5.875 kB / 0.5148 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.3361, allocations: 61.91 kB / 0.5149 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3361, allocations: 4.875 kB / 0.5149 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.3361, allocations: 0 / 0.5149 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3361, allocations: 5.172 kB / 0.5149 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.793e-05/0.3362, allocations: 14.06 kB / 0.5149 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.3364, allocations: 296.5 kB / 0.5152 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3366, allocations: 51.12 kB / 0.5152 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.3366, allocations: 25.09 kB / 0.5152 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3366, allocations: 1.375 kB / 0.5152 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.3368, allocations: 65.14 kB / 0.5153 GB, free: 9.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3368, allocations: 0 / 0.5153 GB, free: 9.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004695/0.3372, allocations: 186.2 kB / 0.5155 GB, free: 9.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.3373, allocations: 52.78 kB / 0.5155 GB, free: 9.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.3374, allocations: 220.3 kB / 0.5157 GB, free: 9.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.3374, allocations: 31.08 kB / 0.5158 GB, free: 9.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.3375, allocations: 101.6 kB / 0.5159 GB, free: 9.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.3375, allocations: 23.97 kB / 0.5159 GB, free: 9.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.3375, allocations: 24.59 kB / 0.5159 GB, free: 9.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.301e-05/0.3375, allocations: 323 kB / 0.5162 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.3376, allocations: 21.61 kB / 0.5162 GB, free: 8.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/0.3377, allocations: 43.39 kB / 0.5163 GB, free: 8.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.62e-05/0.3378, allocations: 55.83 kB / 0.5163 GB, free: 8.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3378, allocations: 0 / 0.5163 GB, free: 8.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001585/0.3379, allocations: 112.3 kB / 0.5164 GB, free: 8.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3379, allocations: 5.125 kB / 0.5164 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3379, allocations: 0 / 0.5164 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3379, allocations: 1.156 kB / 0.5164 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.607e-05/0.338, allocations: 21.67 kB / 0.5165 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.338, allocations: 1.094 kB / 0.5165 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.3381, allocations: 10.47 kB / 0.5165 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.3381, allocations: 10.41 kB / 0.5165 GB, free: 8.621 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.699e-05/0.3382, allocations: 128.7 kB / 0.5166 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.3382, allocations: 10.39 kB / 0.5166 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.3382, allocations: 18.8 kB / 0.5166 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3382, allocations: 1.031 kB / 0.5166 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3382, allocations: 1.406 kB / 0.5166 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3382, allocations: 7.938 kB / 0.5166 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.3386, allocations: 394.3 kB / 0.517 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3386, allocations: 1.312 kB / 0.517 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.3386, allocations: 7.562 kB / 0.517 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3386, allocations: 5.188 kB / 0.517 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3386, allocations: 9.266 kB / 0.517 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3386, allocations: 1.281 kB / 0.517 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3386, allocations: 1.312 kB / 0.517 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.3388, allocations: 204.5 kB / 0.5172 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.3388, allocations: 91.55 kB / 0.5173 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.3388, allocations: 6 kB / 0.5173 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.3389, allocations: 1.562 kB / 0.5173 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.3389, allocations: 7.922 kB / 0.5173 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3389, allocations: 7.781 kB / 0.5173 GB, free: 7.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.984e-05/0.339, allocations: 163.4 kB / 0.5175 GB, free: 7.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.339, allocations: 0 / 0.5175 GB, free: 7.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.3393, allocations: 24.42 kB / 0.5175 GB, free: 7.656 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.001879/0.3412, allocations: 1.105 MB / 0.5186 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.3414, allocations: 55.52 kB / 0.5187 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3414, allocations: 0 / 0.5187 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.975e-05/0.3415, allocations: 28.7 kB / 0.5187 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3418, allocations: 40.39 kB / 0.5187 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.3433, allocations: 1.682 MB / 0.5204 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.3434, allocations: 0.7158 MB / 0.5211 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.35e-05/0.3435, allocations: 12.5 kB / 0.5211 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.3436, allocations: 35.42 kB / 0.5211 GB, free: 4.137 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3436, allocations: 0 / 0.5211 GB, free: 4.137 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.3695, allocations: 3.502 MB / 0.5245 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/8.643, allocations: 16.78 kB / 0.5245 GB, free: 0.5469 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.565660843160003]