Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001175/0.001175, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001305/0.001305, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.9087/0.9087, allocations: 158.6 MB / 185 MB, free: 3.023 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.1412/0.1412, allocations: 32.36 MB / 269.6 MB, free: 14.96 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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.115e-05, allocations: 2.281 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002239/0.00226, allocations: 1.672 MB / 408.6 MB, free: 488 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009591/0.003219, allocations: 0.7843 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.003291, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.003595, allocations: 43.7 kB / 409.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.003792, allocations: 59.69 kB / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.003979, allocations: 91.7 kB / 409.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.004123, allocations: 103.6 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.004215, allocations: 8.219 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.482e-05/0.00429, allocations: 47.84 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.964e-05/0.00436, allocations: 23.91 kB / 409.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.004379, allocations: 7.984 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.569e-05/0.004455, allocations: 47.86 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.004508, allocations: 19.92 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.004548, allocations: 15.94 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.004716, allocations: 115.5 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004719, allocations: 7.938 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.00472, allocations: 0 / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004724, allocations: 0 / 410 MB, free: 15.1 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.000418/0.005142, allocations: 337.7 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.005181, allocations: 8.031 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.005212, allocations: 30.75 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.005244, allocations: 12.84 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.005443, allocations: 146.3 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.005455, allocations: 384 / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.005473, allocations: 4.375 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.005608, allocations: 69.91 kB / 410.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.00562, allocations: 3.984 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.00563, allocations: 4 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.005634, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.273e-05/0.005687, allocations: 23.98 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.005991, allocations: 252 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.006117, allocations: 58.61 kB / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.006151, allocations: 16.86 kB / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.006166, allocations: 4 kB / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.006291, allocations: 79.31 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.006292, allocations: 0 / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000418/0.00671, allocations: 185.3 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.006741, allocations: 55.41 kB / 411.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.006869, allocations: 194.2 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.00688, allocations: 25.7 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.006924, allocations: 100.1 kB / 411.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.006949, allocations: 23.78 kB / 411.6 MB, free: 13.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.00698, allocations: 25.72 kB / 411.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.99e-05/0.00706, allocations: 330.8 kB / 411.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.007096, allocations: 23.98 kB / 411.9 MB, free: 12.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-05/0.007137, allocations: 37.64 kB / 412 MB, free: 12.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.29e-05/0.00721, allocations: 61.7 kB / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.007211, allocations: 0 / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00012/0.007331, allocations: 109.6 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.007343, allocations: 4 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.00735, allocations: 4.078 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.007361, allocations: 4.219 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.007429, allocations: 12 kB / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.007435, allocations: 7.922 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/0.007468, allocations: 11.98 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.007474, allocations: 4 kB / 412.2 MB, free: 12.67 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.195e-05/0.007546, allocations: 125.7 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.007558, allocations: 11.94 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.007719, allocations: 122.4 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.007722, allocations: 4 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.007725, allocations: 0 / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.00773, allocations: 4 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.008018, allocations: 370.3 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.00802, allocations: 4 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.008042, allocations: 8 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.008045, allocations: 0 / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.008053, allocations: 4 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008054, allocations: 0 / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.008057, allocations: 3.938 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.008203, allocations: 212.3 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.008218, allocations: 23.88 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.008233, allocations: 384 / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.95e-05/0.008273, allocations: 4 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.008302, allocations: 7.922 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.008315, allocations: 12 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.008397, allocations: 144.1 kB / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008397, allocations: 0 / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.008577, allocations: 27.94 kB / 413.2 MB, free: 11.52 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.0009888/0.009566, allocations: 1.124 MB / 414.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.009694, allocations: 59.91 kB / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.009696, allocations: 0 / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.477e-05/0.00974, allocations: 35.92 kB / 414.5 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.009984, allocations: 32.34 kB / 414.5 MB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.0112, allocations: 1.654 MB / 416.2 MB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.321e-05/0.01127, allocations: 88.31 kB / 416.2 MB, free: 8.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.311e-05/0.01131, allocations: 12.48 kB / 416.3 MB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.01136, allocations: 40.48 kB / 416.3 MB, free: 8.359 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01136, allocations: 0 / 416.3 MB, free: 8.359 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.02959, allocations: 4.207 MB / 420.5 MB, free: 4.023 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/6.991, allocations: 11.84 kB / 420.5 MB, free: 4.012 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.198183670639992]