Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.001024/0.001024, allocations: 75.7 kB / 20.01 MB, free: 4.508 MB / 18.57 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.0009523/0.0009523, allocations: 169.9 kB / 23.31 MB, free: 1.211 MB / 18.57 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 0.9141/0.9141, allocations: 158.6 MB / 185.1 MB, free: 3.008 MB / 170.7 MB " [Timeout remaining time 179] 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.1265/0.1265, allocations: 32.36 MB / 269.7 MB, free: 14.92 MB / 266.7 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.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 407.1 MB, free: 2.07 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.218e-05, allocations: 10.08 kB / 407.1 MB, free: 2.062 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002222/0.002245, allocations: 1.684 MB / 408.8 MB, free: 372 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009512/0.003196, allocations: 0.7804 MB / 409.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.00326, allocations: 0 / 409.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.003534, allocations: 35.77 kB / 409.6 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.003743, allocations: 67.58 kB / 409.7 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.003959, allocations: 87.69 kB / 409.8 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.004113, allocations: 95.7 kB / 409.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.0042, allocations: 8.219 kB / 409.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.144e-05/0.004282, allocations: 55.83 kB / 409.9 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.00435, allocations: 15.92 kB / 410 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.004368, allocations: 4 kB / 410 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.429e-05/0.004453, allocations: 51.84 kB / 410 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.004509, allocations: 23.92 kB / 410 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.004551, allocations: 19.92 kB / 410.1 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.004723, allocations: 111.6 kB / 410.2 MB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004726, allocations: 0 / 410.2 MB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.004727, allocations: 0 / 410.2 MB, free: 15.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.004731, allocations: 0 / 410.2 MB, free: 15.01 MB / 394.7 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.0004329/0.005164, allocations: 337.6 kB / 410.5 MB, free: 14.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.005207, allocations: 8.031 kB / 410.5 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.005239, allocations: 38.69 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.005274, allocations: 12.84 kB / 410.6 MB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.005493, allocations: 150.2 kB / 410.7 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.005506, allocations: 384 / 410.7 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.005528, allocations: 8.375 kB / 410.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.005661, allocations: 57.98 kB / 410.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.005672, allocations: 0 / 410.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.005681, allocations: 0 / 410.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.005687, allocations: 4 kB / 410.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.055e-05/0.005738, allocations: 23.92 kB / 410.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.006025, allocations: 248 kB / 411 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.006141, allocations: 62.66 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.006175, allocations: 20.84 kB / 411.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.006191, allocations: 8 kB / 411.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.006309, allocations: 75.28 kB / 411.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.00631, allocations: 0 / 411.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004178/0.006727, allocations: 185.4 kB / 411.4 MB, free: 13.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.006761, allocations: 55.41 kB / 411.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.006892, allocations: 194.2 kB / 411.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.006904, allocations: 25.7 kB / 411.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.006954, allocations: 104.1 kB / 411.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.00698, allocations: 23.78 kB / 411.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.007013, allocations: 29.72 kB / 411.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.923e-05/0.007092, allocations: 326.8 kB / 412.1 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.007131, allocations: 23.98 kB / 412.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.254e-05/0.007173, allocations: 33.7 kB / 412.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/0.007249, allocations: 65.64 kB / 412.2 MB, free: 12.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.00725, allocations: 0 / 412.2 MB, free: 12.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001182/0.007369, allocations: 101.7 kB / 412.3 MB, free: 12.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.007381, allocations: 4 kB / 412.3 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007386, allocations: 4.109 kB / 412.3 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.007398, allocations: 7.938 kB / 412.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.007463, allocations: 15.98 kB / 412.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.007469, allocations: 3.984 kB / 412.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.007499, allocations: 8 kB / 412.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.007505, allocations: 3.938 kB / 412.4 MB, free: 12.58 MB / 394.7 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 7.75e-05/0.007582, allocations: 129.8 kB / 412.5 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.007593, allocations: 7.953 kB / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.007754, allocations: 122.4 kB / 412.6 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.007757, allocations: 4 kB / 412.6 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.00776, allocations: 4 kB / 412.6 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.007764, allocations: 3.984 kB / 412.7 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.00821, allocations: 362.3 kB / 413 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.008212, allocations: 4 kB / 413 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.008236, allocations: 11.98 kB / 413 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.008239, allocations: 0 / 413 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.008246, allocations: 0 / 413 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.008249, allocations: 8.312 kB / 413 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.008251, allocations: 3.938 kB / 413 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.008383, allocations: 212.3 kB / 413.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.008397, allocations: 19.89 kB / 413.3 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.008412, allocations: 4 kB / 413.3 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-05/0.00845, allocations: 4 kB / 413.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.008484, allocations: 11.91 kB / 413.3 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.008499, allocations: 8 kB / 413.3 MB, free: 11.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.171e-05/0.008581, allocations: 143.2 kB / 413.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008581, allocations: 0 / 413.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.00876, allocations: 23.94 kB / 413.4 MB, free: 11.43 MB / 394.7 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 (9): * Single equations (assignments): 7 * 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.0009666/0.009727, allocations: 1.129 MB / 414.6 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.009865, allocations: 63.89 kB / 414.6 MB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009867, allocations: 0 / 414.6 MB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.571e-05/0.009912, allocations: 35.98 kB / 414.7 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.01014, allocations: 28.23 kB / 414.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.01134, allocations: 1.65 MB / 416.4 MB, free: 8.426 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.529e-05/0.01141, allocations: 88.31 kB / 416.4 MB, free: 8.316 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.852e-05/0.01145, allocations: 16.55 kB / 416.5 MB, free: 8.301 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.01151, allocations: 36.48 kB / 416.5 MB, free: 8.266 MB / 394.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01151, allocations: 0 / 416.5 MB, free: 8.266 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.02677, allocations: 4.194 MB / 420.7 MB, free: 3.934 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/6.974, allocations: 15.91 kB / 420.7 MB, free: 3.918 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.124482073821127]