Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.001241/0.001241, 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.001346/0.001346, 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.513/1.513, allocations: 207.6 MB / 230.5 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.38/0.38, allocations: 44.24 MB / 326.5 MB, free: 6.797 MB / 254.1 MB " [Timeout remaining time 179] 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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",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.002281/0.002281, allocations: 80.45 kB / 462.2 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3344, allocations: 60.99 MB / 0.511 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003643/0.3381, allocations: 1.719 MB / 0.5126 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3396, allocations: 0.8059 MB / 0.5134 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.843e-05/0.3397, allocations: 5.938 kB / 0.5134 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.3401, allocations: 37.61 kB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.3404, allocations: 61.75 kB / 0.5135 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.3408, allocations: 89.77 kB / 0.5136 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.3411, allocations: 89.03 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.3412, allocations: 15.95 kB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.3413, allocations: 44.08 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3414, allocations: 30.41 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.3415, allocations: 3.562 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.3416, allocations: 42.91 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/0.3417, allocations: 26.64 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.3417, allocations: 28.25 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.342, allocations: 113 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.342, allocations: 5.562 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.342, allocations: 0 / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.926e-06/0.342, allocations: 0 / 0.514 GB, free: 10.84 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.0006282/0.3427, allocations: 419.2 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.3427, allocations: 12.95 kB / 0.5144 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.3428, allocations: 32.19 kB / 0.5144 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.3428, allocations: 17.19 kB / 0.5145 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.3431, allocations: 216.9 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3432, allocations: 384 / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.3432, allocations: 5.969 kB / 0.5147 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.3434, allocations: 54.45 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3434, allocations: 4 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3434, allocations: 0.9688 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3434, allocations: 1.312 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.3435, allocations: 22.27 kB / 0.5148 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.3439, allocations: 285.4 kB / 0.515 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.3441, allocations: 53.08 kB / 0.5151 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/0.3442, allocations: 23.89 kB / 0.5151 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3442, allocations: 5.328 kB / 0.5151 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.3444, allocations: 73.09 kB / 0.5152 GB, free: 9.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.3444, allocations: 0 / 0.5152 GB, free: 9.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006981/0.3451, allocations: 165.8 kB / 0.5153 GB, free: 9.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.3451, allocations: 60.52 kB / 0.5154 GB, free: 9.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.3454, allocations: 190.2 kB / 0.5156 GB, free: 9.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.3454, allocations: 31.83 kB / 0.5156 GB, free: 9.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.3454, allocations: 101 kB / 0.5157 GB, free: 9.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.3454, allocations: 27.7 kB / 0.5157 GB, free: 9.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.3455, allocations: 19.72 kB / 0.5157 GB, free: 9.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.3455, allocations: 322.6 kB / 0.5161 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.176e-05/0.3456, allocations: 23.36 kB / 0.5161 GB, free: 8.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.984e-05/0.3457, allocations: 38.48 kB / 0.5161 GB, free: 8.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3458, allocations: 59.06 kB / 0.5162 GB, free: 8.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3458, allocations: 0 / 0.5162 GB, free: 8.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002419/0.3461, allocations: 104.1 kB / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3461, allocations: 5.688 kB / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3461, allocations: 0 / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3461, allocations: 1.344 kB / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3462, allocations: 21.12 kB / 0.5163 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3462, allocations: 9.703 kB / 0.5163 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.3463, allocations: 9.094 kB / 0.5163 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3463, allocations: 2.531 kB / 0.5163 GB, free: 8.637 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 8.924e-05/0.3464, allocations: 119 kB / 0.5164 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.3464, allocations: 13.31 kB / 0.5164 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.3465, allocations: 13.53 kB / 0.5165 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3465, allocations: 5.516 kB / 0.5165 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3465, allocations: 0 / 0.5165 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3465, allocations: 7.938 kB / 0.5165 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.347, allocations: 397.2 kB / 0.5168 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.347, allocations: 1.375 kB / 0.5168 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.347, allocations: 10.86 kB / 0.5169 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.347, allocations: 5.312 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.347, allocations: 1.75 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.347, allocations: 1.375 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.347, allocations: 5.312 kB / 0.5169 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3473, allocations: 212.6 kB / 0.5171 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.3473, allocations: 87.77 kB / 0.5172 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.3474, allocations: 13.3 kB / 0.5172 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.3475, allocations: 2.75 kB / 0.5172 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.3475, allocations: 2.75 kB / 0.5172 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.3475, allocations: 8.109 kB / 0.5172 GB, free: 7.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.3477, allocations: 145.2 kB / 0.5173 GB, free: 7.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3477, allocations: 0 / 0.5173 GB, free: 7.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.3482, allocations: 24.48 kB / 0.5173 GB, free: 7.676 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.00251/0.3507, allocations: 1.103 MB / 0.5184 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.3509, allocations: 55.53 kB / 0.5185 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3509, allocations: 0 / 0.5185 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.351, allocations: 20.62 kB / 0.5185 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.3515, allocations: 36.25 kB / 0.5185 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.3535, allocations: 1.631 MB / 0.5201 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.3536, allocations: 0.708 MB / 0.5208 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.488e-05/0.3537, allocations: 25.11 kB / 0.5208 GB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.3537, allocations: 31.42 kB / 0.5209 GB, free: 4.391 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3537, allocations: 0 / 0.5209 GB, free: 4.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.3835, allocations: 3.392 MB / 0.5242 GB, free: 0.918 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.528, allocations: 11.94 kB / 0.5242 GB, free: 0.9062 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.458625396247953]