Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.001445/0.001445, allocations: 116.8 kB / 17.13 MB, free: 5.945 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.001451/0.001451, allocations: 196.7 kB / 20.08 MB, free: 3.008 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.53/1.53, allocations: 207.6 MB / 230.5 MB, free: 4.25 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.3411/0.3411, 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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",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.002129/0.002129, allocations: 75.8 kB / 462.2 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.289, allocations: 61.01 MB / 0.511 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002674/0.2917, allocations: 1.71 MB / 0.5126 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2928, allocations: 0.8094 MB / 0.5134 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.2928, allocations: 1.188 kB / 0.5134 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.2931, allocations: 48.72 kB / 0.5135 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.2933, allocations: 69.47 kB / 0.5136 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.2935, allocations: 93.52 kB / 0.5136 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.2937, allocations: 89.78 kB / 0.5137 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.2938, allocations: 15.73 kB / 0.5137 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.2939, allocations: 43.56 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.2939, allocations: 27.83 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.2939, allocations: 2.688 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.364e-05/0.294, allocations: 41.81 kB / 0.5139 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.2941, allocations: 30.83 kB / 0.5139 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.2941, allocations: 48.3 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.2943, allocations: 126.2 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2943, allocations: 0 / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2943, allocations: 1.312 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.2943, 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.00045/0.2948, allocations: 450.3 kB / 0.5145 GB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2948, allocations: 13.23 kB / 0.5145 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.2948, allocations: 32.16 kB / 0.5145 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.2949, allocations: 18.53 kB / 0.5145 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.2951, allocations: 222.6 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2951, allocations: 1.531 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.2951, allocations: 10 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.2953, allocations: 57.89 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2953, allocations: 1.219 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2953, allocations: 0 / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.2953, allocations: 1.344 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.38e-05/0.2954, allocations: 17.48 kB / 0.5148 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.2957, allocations: 307.4 kB / 0.5151 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.2958, allocations: 51.94 kB / 0.5152 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.2959, allocations: 20.38 kB / 0.5152 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.2959, allocations: 2.031 kB / 0.5152 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.2961, allocations: 68.77 kB / 0.5153 GB, free: 9.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.2961, allocations: 0 / 0.5153 GB, free: 9.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005274/0.2966, allocations: 187.8 kB / 0.5154 GB, free: 9.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.2966, allocations: 52.59 kB / 0.5155 GB, free: 9.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.2968, allocations: 266.7 kB / 0.5158 GB, free: 9.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.2969, allocations: 27.08 kB / 0.5158 GB, free: 9.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.2969, allocations: 111 kB / 0.5159 GB, free: 9.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.2969, allocations: 27.97 kB / 0.5159 GB, free: 9.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.297, allocations: 24.59 kB / 0.5159 GB, free: 9.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.057e-05/0.297, allocations: 324.3 kB / 0.5162 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-05/0.2971, allocations: 26.92 kB / 0.5163 GB, free: 8.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.767e-05/0.2971, allocations: 35.45 kB / 0.5163 GB, free: 8.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.977e-05/0.2972, allocations: 62.52 kB / 0.5164 GB, free: 8.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2972, allocations: 4 kB / 0.5164 GB, free: 8.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001644/0.2974, allocations: 109.5 kB / 0.5165 GB, free: 8.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2974, allocations: 5.5 kB / 0.5165 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2974, allocations: 0 / 0.5165 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2974, allocations: 1.375 kB / 0.5165 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.2975, allocations: 16.36 kB / 0.5165 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2975, allocations: 1.375 kB / 0.5165 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.828e-05/0.2976, allocations: 10.69 kB / 0.5165 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.2976, allocations: 2.75 kB / 0.5165 GB, free: 8.551 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.038e-05/0.2977, allocations: 144.6 kB / 0.5166 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.2977, allocations: 14.78 kB / 0.5167 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.2978, allocations: 20.45 kB / 0.5167 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2978, allocations: 1.375 kB / 0.5167 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2978, allocations: 3.938 kB / 0.5167 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2978, allocations: 9.25 kB / 0.5167 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.2981, allocations: 402.6 kB / 0.5171 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2981, allocations: 9.391 kB / 0.5171 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.2982, allocations: 11.25 kB / 0.5171 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.2982, allocations: 5.312 kB / 0.5171 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.2982, allocations: 1.375 kB / 0.5171 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2982, allocations: 9.359 kB / 0.5171 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2982, allocations: 0 / 0.5171 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.2984, allocations: 205.6 kB / 0.5173 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.2984, allocations: 93.14 kB / 0.5174 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.2984, allocations: 5.312 kB / 0.5174 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.2985, allocations: 2.75 kB / 0.5174 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.2985, allocations: 6.734 kB / 0.5174 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.2985, allocations: 8.125 kB / 0.5174 GB, free: 7.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.2987, allocations: 192 kB / 0.5176 GB, free: 7.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2987, allocations: 0 / 0.5176 GB, free: 7.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.2989, allocations: 24.36 kB / 0.5176 GB, free: 7.555 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.001868/0.3008, allocations: 1.115 MB / 0.5187 GB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.301, allocations: 59.89 kB / 0.5188 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.301, allocations: 0 / 0.5188 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.226e-05/0.301, allocations: 24.64 kB / 0.5188 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.3014, allocations: 28.3 kB / 0.5188 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.3028, allocations: 1.807 MB / 0.5206 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.303, allocations: 0.7197 MB / 0.5213 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.558e-05/0.303, allocations: 12.83 kB / 0.5213 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.3031, allocations: 47.41 kB / 0.5213 GB, free: 3.922 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3031, allocations: 0 / 0.5213 GB, free: 3.922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.3285, allocations: 3.723 MB / 0.525 GB, free: 124 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.52, allocations: 8.875 kB / 0.525 GB, free: 116 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.451615082100034]