Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 114.4 kB / 17.12 MB, free: 5.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 211.2 kB / 20.09 MB, free: 2.941 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.44/1.44, allocations: 207.6 MB / 230.5 MB, free: 4.016 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.3087/0.3087, allocations: 44.24 MB / 326.6 MB, free: 6.82 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 79.89 kB / 462.3 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3031, allocations: 61 MB / 0.511 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003238/0.3063, allocations: 1.713 MB / 0.5127 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3075, allocations: 0.8111 MB / 0.5135 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.3076, allocations: 6.062 kB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.3079, allocations: 56.91 kB / 0.5135 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.3081, allocations: 63.41 kB / 0.5136 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.3084, allocations: 84.67 kB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.3085, allocations: 91.88 kB / 0.5138 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.378e-05/0.3086, allocations: 17.36 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.051e-05/0.3087, allocations: 40.42 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.3088, allocations: 37.77 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.3088, allocations: 2.812 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.92e-05/0.3089, allocations: 43.05 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.3089, allocations: 26.92 kB / 0.5139 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.309, allocations: 36.84 kB / 0.514 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.3093, allocations: 144.9 kB / 0.5141 GB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3093, allocations: 1.156 kB / 0.5141 GB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3093, allocations: 0 / 0.5141 GB, free: 10.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.3093, allocations: 0 / 0.5141 GB, free: 10.78 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.0005667/0.3098, allocations: 439.2 kB / 0.5145 GB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3099, allocations: 12.42 kB / 0.5145 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.3099, allocations: 40.05 kB / 0.5146 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.31, allocations: 14.59 kB / 0.5146 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.3102, allocations: 224.1 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3102, allocations: 384 / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.3103, allocations: 5.875 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.3104, allocations: 58.83 kB / 0.5149 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3104, allocations: 0 / 0.5149 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3104, allocations: 2.031 kB / 0.5149 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3104, allocations: 0 / 0.5149 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.3105, allocations: 17.52 kB / 0.5149 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.3108, allocations: 299.8 kB / 0.5152 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.311, allocations: 59.58 kB / 0.5152 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.311, allocations: 20.44 kB / 0.5152 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.311, allocations: 1.469 kB / 0.5152 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.3112, allocations: 73.33 kB / 0.5153 GB, free: 9.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3112, allocations: 0 / 0.5153 GB, free: 9.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000523/0.3117, allocations: 184.5 kB / 0.5155 GB, free: 9.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.3117, allocations: 53.09 kB / 0.5155 GB, free: 9.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.3119, allocations: 265.3 kB / 0.5158 GB, free: 9.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.3119, allocations: 31.08 kB / 0.5158 GB, free: 9.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.312, allocations: 115 kB / 0.5159 GB, free: 9.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.312, allocations: 19.98 kB / 0.516 GB, free: 9.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.3121, allocations: 24.58 kB / 0.516 GB, free: 8.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.3121, allocations: 328.3 kB / 0.5163 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/0.3122, allocations: 18.98 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.139e-05/0.3122, allocations: 39.39 kB / 0.5163 GB, free: 8.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.3124, allocations: 62.45 kB / 0.5164 GB, free: 8.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3124, allocations: 0 / 0.5164 GB, free: 8.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.3125, allocations: 113.5 kB / 0.5165 GB, free: 8.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3125, allocations: 5.5 kB / 0.5165 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3126, allocations: 192 / 0.5165 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3126, allocations: 1.375 kB / 0.5165 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.3126, allocations: 16.31 kB / 0.5165 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3127, allocations: 5.359 kB / 0.5165 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.3127, allocations: 10.69 kB / 0.5166 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3127, allocations: 6.781 kB / 0.5166 GB, free: 8.496 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.137e-05/0.3128, allocations: 140.8 kB / 0.5167 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.3128, allocations: 14.78 kB / 0.5167 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.3129, allocations: 20.27 kB / 0.5167 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3129, allocations: 1.375 kB / 0.5167 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3129, allocations: 0 / 0.5167 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3129, allocations: 5.312 kB / 0.5167 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.3132, allocations: 406.6 kB / 0.5171 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3132, allocations: 5.359 kB / 0.5171 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.3133, allocations: 6.875 kB / 0.5171 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.3133, allocations: 5.312 kB / 0.5171 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3133, allocations: 1.375 kB / 0.5171 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3133, allocations: 1.375 kB / 0.5171 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3133, allocations: 0 / 0.5171 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.3134, allocations: 214 kB / 0.5173 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.3135, allocations: 93.12 kB / 0.5174 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3135, allocations: 5.312 kB / 0.5174 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.3136, allocations: 6.75 kB / 0.5174 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.3136, allocations: 10.73 kB / 0.5175 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.3136, allocations: 4.031 kB / 0.5175 GB, free: 7.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.3138, allocations: 195.2 kB / 0.5176 GB, free: 7.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3138, allocations: 0 / 0.5176 GB, free: 7.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.314, allocations: 17.5 kB / 0.5177 GB, free: 7.512 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.001947/0.316, allocations: 1.123 MB / 0.5188 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.3162, allocations: 48.23 kB / 0.5188 GB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3162, allocations: 1.781 kB / 0.5188 GB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.3162, allocations: 31.56 kB / 0.5188 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.3166, allocations: 27.88 kB / 0.5189 GB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.3183, allocations: 1.809 MB / 0.5206 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.3184, allocations: 0.7158 MB / 0.5213 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.365e-05/0.3185, allocations: 12.88 kB / 0.5213 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.3185, allocations: 43.42 kB / 0.5214 GB, free: 3.859 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3185, allocations: 0 / 0.5214 GB, free: 3.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.342, allocations: 3.727 MB / 0.525 GB, free: 68 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.436/8.778, allocations: 9.594 kB / 0.525 GB, free: 60 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.713320412993198]