Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001324/0.001324, allocations: 109.4 kB / 20.43 MB, free: 1.473 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.001493/0.001493, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 44.91 MB / 358.8 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001982/0.001982, allocations: 59.91 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3323, allocations: 65.47 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003358/0.3356, allocations: 1.747 MB / 0.5588 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3374, allocations: 1.053 MB / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.3375, allocations: 0 / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.3378, allocations: 43.75 kB / 0.5599 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.338, allocations: 95.55 kB / 0.56 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3383, allocations: 79.67 kB / 0.56 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.3384, allocations: 103.7 kB / 0.5601 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.3385, allocations: 9.766 kB / 0.5601 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.935e-05/0.3386, allocations: 51.78 kB / 0.5602 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-05/0.3387, allocations: 39.72 kB / 0.5602 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.3387, allocations: 4 kB / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.913e-05/0.3388, allocations: 39.98 kB / 0.5603 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.3389, allocations: 19.92 kB / 0.5603 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.3389, allocations: 39.73 kB / 0.5603 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.3391, allocations: 115.5 kB / 0.5604 GB, free: 4.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3391, allocations: 0 / 0.5604 GB, free: 4.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3391, allocations: 0 / 0.5604 GB, free: 4.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3391, allocations: 0 / 0.5604 GB, free: 4.316 MB / 398.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.000534/0.3397, allocations: 353.5 kB / 0.5608 GB, free: 3.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3397, allocations: 8.031 kB / 0.5608 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.3397, allocations: 30.75 kB / 0.5608 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3398, allocations: 16.83 kB / 0.5608 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.34, allocations: 150.3 kB / 0.561 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.34, allocations: 4.375 kB / 0.561 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.3401, allocations: 3.938 kB / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3402, allocations: 53.67 kB / 0.561 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3402, allocations: 0 / 0.561 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3402, allocations: 8 kB / 0.561 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.3402, allocations: 0 / 0.561 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.478e-05/0.3403, allocations: 19.92 kB / 0.5611 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.3407, allocations: 264 kB / 0.5613 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.3408, allocations: 50.67 kB / 0.5614 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.3409, allocations: 20.86 kB / 0.5614 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3409, allocations: 0 / 0.5614 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.3411, allocations: 71.33 kB / 0.5614 GB, free: 3.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.3411, allocations: 0 / 0.5614 GB, free: 3.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000519/0.3416, allocations: 177.6 kB / 0.5616 GB, free: 2.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3416, allocations: 51.41 kB / 0.5617 GB, free: 2.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.3418, allocations: 191.2 kB / 0.5618 GB, free: 2.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3418, allocations: 25.7 kB / 0.5619 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.3419, allocations: 108.1 kB / 0.562 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.342, allocations: 23.8 kB / 0.562 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.342, allocations: 25.7 kB / 0.562 GB, free: 2.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3421, allocations: 322.8 kB / 0.5623 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.3422, allocations: 24.06 kB / 0.5624 GB, free: 2.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.3423, allocations: 41.64 kB / 0.5624 GB, free: 2.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.3424, allocations: 65.62 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3424, allocations: 0 / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.3426, allocations: 101.5 kB / 0.5626 GB, free: 1.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3426, allocations: 7.984 kB / 0.5626 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3426, allocations: 0 / 0.5626 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3426, allocations: 7.938 kB / 0.5626 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.3427, allocations: 12 kB / 0.5626 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3427, allocations: 4.031 kB / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.3428, allocations: 15.92 kB / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3428, allocations: 0 / 0.5626 GB, free: 1.895 MB / 398.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.662e-05/0.3429, allocations: 117.8 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.3429, allocations: 11.95 kB / 0.5627 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.3431, allocations: 123.1 kB / 0.5628 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3431, allocations: 0 / 0.5628 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.3431, allocations: 0 / 0.5628 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3431, allocations: 7.938 kB / 0.5628 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.3436, allocations: 362.4 kB / 0.5632 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3436, allocations: 3.984 kB / 0.5632 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.3436, allocations: 11.98 kB / 0.5632 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3436, allocations: 3.938 kB / 0.5632 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.3436, allocations: 4 kB / 0.5632 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3436, allocations: 0 / 0.5632 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3436, allocations: 0 / 0.5632 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3439, allocations: 204.3 kB / 0.5634 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.3439, allocations: 11.91 kB / 0.5634 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.3439, allocations: 11.92 kB / 0.5634 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.344, allocations: 4 kB / 0.5634 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.344, allocations: 11.97 kB / 0.5634 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.344, allocations: 4 kB / 0.5635 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.3441, allocations: 137.8 kB / 0.5636 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3441, allocations: 0 / 0.5636 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3444, allocations: 31.92 kB / 0.5636 GB, free: 0.7578 MB / 398.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.002184/0.3466, allocations: 1.083 MB / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.3468, allocations: 63.83 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3468, allocations: 0 / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.3468, allocations: 23.98 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3472, allocations: 40.42 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.3491, allocations: 1.642 MB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.3494, allocations: 0.7002 MB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.3495, allocations: 20.97 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.3495, allocations: 35.42 kB / 0.5671 GB, free: 13.19 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3495, allocations: 0 / 0.5671 GB, free: 13.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.3786, allocations: 3.572 MB / 0.5706 GB, free: 9.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.54, allocations: 11.98 kB / 0.5706 GB, free: 9.68 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.597782401004224]