Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.00127/0.00127, allocations: 119.9 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.00131/0.00131, 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.542/1.542, allocations: 207.6 MB / 230.5 MB, free: 4.035 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.3714/0.3714, allocations: 44.24 MB / 326.5 MB, free: 6.801 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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.002118/0.002118, allocations: 75.89 kB / 462.2 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3351, allocations: 60.99 MB / 0.511 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002944/0.338, allocations: 1.72 MB / 0.5126 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3392, allocations: 0.8076 MB / 0.5134 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.3393, allocations: 5.375 kB / 0.5134 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.3396, allocations: 48.34 kB / 0.5135 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.3398, allocations: 69.03 kB / 0.5136 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.34, allocations: 85.45 kB / 0.5136 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.3402, allocations: 97.19 kB / 0.5137 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3403, allocations: 10.12 kB / 0.5137 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.3404, allocations: 45.92 kB / 0.5138 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.3404, allocations: 30.92 kB / 0.5138 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3405, allocations: 4.031 kB / 0.5138 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.3405, allocations: 37.97 kB / 0.5139 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.3406, allocations: 36.7 kB / 0.5139 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.3407, allocations: 43.55 kB / 0.5139 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3409, allocations: 131.2 kB / 0.5141 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3409, allocations: 3.938 kB / 0.5141 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3409, allocations: 0 / 0.5141 GB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3409, allocations: 1.594 kB / 0.5141 GB, free: 10.96 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.0005103/0.3414, allocations: 450.9 kB / 0.5145 GB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3414, allocations: 12.58 kB / 0.5145 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.3415, allocations: 36.06 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.3415, allocations: 16.19 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.3418, allocations: 227.5 kB / 0.5148 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3418, allocations: 5.406 kB / 0.5148 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3418, allocations: 6.156 kB / 0.5148 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.3419, allocations: 53.89 kB / 0.5148 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.342, allocations: 0 / 0.5148 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.342, allocations: 5.047 kB / 0.5148 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.342, allocations: 1.219 kB / 0.5148 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.342, allocations: 17.86 kB / 0.5149 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.3424, allocations: 308.5 kB / 0.5151 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3425, allocations: 51.48 kB / 0.5152 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.3426, allocations: 20.61 kB / 0.5152 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3426, allocations: 5.172 kB / 0.5152 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.3428, allocations: 73.59 kB / 0.5153 GB, free: 9.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3428, allocations: 3.938 kB / 0.5153 GB, free: 9.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005212/0.3433, allocations: 176.3 kB / 0.5155 GB, free: 9.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.3433, allocations: 57.11 kB / 0.5155 GB, free: 9.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.3436, allocations: 276.1 kB / 0.5158 GB, free: 9.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.3436, allocations: 26.8 kB / 0.5158 GB, free: 9.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.3436, allocations: 112.1 kB / 0.5159 GB, free: 9.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.3436, allocations: 24.08 kB / 0.5159 GB, free: 9.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.3437, allocations: 31.45 kB / 0.516 GB, free: 9.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.3437, allocations: 324.2 kB / 0.5163 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.702e-05/0.3438, allocations: 22.83 kB / 0.5163 GB, free: 8.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.3438, allocations: 35.42 kB / 0.5163 GB, free: 8.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.344, allocations: 59.83 kB / 0.5164 GB, free: 8.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.344, allocations: 11.88 kB / 0.5164 GB, free: 8.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.3441, allocations: 101.6 kB / 0.5165 GB, free: 8.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3442, allocations: 5.5 kB / 0.5165 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3442, allocations: 0 / 0.5165 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3442, allocations: 1.562 kB / 0.5165 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.3443, allocations: 20.3 kB / 0.5165 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3443, allocations: 5.312 kB / 0.5165 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.3443, allocations: 14.64 kB / 0.5165 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3443, allocations: 2.75 kB / 0.5165 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 9.501e-05/0.3444, allocations: 138.4 kB / 0.5167 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.3444, allocations: 18.77 kB / 0.5167 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.3445, allocations: 21.64 kB / 0.5167 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3445, allocations: 0 / 0.5167 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3445, allocations: 1.375 kB / 0.5167 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.3445, allocations: 3.938 kB / 0.5167 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.3449, allocations: 404.1 kB / 0.5171 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3449, allocations: 1.375 kB / 0.5171 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.3449, allocations: 10.91 kB / 0.5171 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3449, allocations: 5.312 kB / 0.5171 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.3449, allocations: 5.359 kB / 0.5171 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3449, allocations: 1.75 kB / 0.5171 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3449, allocations: 0 / 0.5171 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.3451, allocations: 211.2 kB / 0.5173 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.3451, allocations: 95.77 kB / 0.5174 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3452, allocations: 6.688 kB / 0.5174 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.3452, allocations: 5.375 kB / 0.5174 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.3453, allocations: 8.109 kB / 0.5174 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3453, allocations: 2.75 kB / 0.5174 GB, free: 7.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.3454, allocations: 209.5 kB / 0.5176 GB, free: 7.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3454, allocations: 0 / 0.5176 GB, free: 7.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.3457, allocations: 25.81 kB / 0.5177 GB, free: 7.66 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.001967/0.3477, allocations: 1.109 MB / 0.5187 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3479, allocations: 54.5 kB / 0.5188 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3479, allocations: 1.188 kB / 0.5188 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.817e-05/0.3479, allocations: 22.61 kB / 0.5188 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.3483, allocations: 29.95 kB / 0.5189 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.3498, allocations: 1.85 MB / 0.5207 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.3499, allocations: 0.7158 MB / 0.5214 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.589e-05/0.35, allocations: 17.17 kB / 0.5214 GB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.35, allocations: 43.42 kB / 0.5214 GB, free: 3.969 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.35, allocations: 3.938 kB / 0.5214 GB, free: 3.965 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.3746, allocations: 3.793 MB / 0.5251 GB, free: 100 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.515, allocations: 14.83 kB / 0.5251 GB, free: 88 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.463681187015027]