Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.0008497/0.0008497, 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.001472/0.001472, 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.9392/0.9392, allocations: 158.6 MB / 185 MB, free: 3.039 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.1358/0.1358, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.082e-05, allocations: 10.02 kB / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002121/0.002141, allocations: 1.672 MB / 408.6 MB, free: 476 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008874/0.003029, allocations: 0.7803 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.003088, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.003395, allocations: 107.7 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.003591, allocations: 91.59 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.003779, allocations: 87.69 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.00392, allocations: 111.7 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.221e-05/0.004003, allocations: 4.234 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.32e-05/0.004086, allocations: 71.75 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.793e-05/0.004174, allocations: 59.86 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.004192, allocations: 4 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.292e-05/0.004265, allocations: 43.92 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.004322, allocations: 27.86 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.004359, allocations: 23.91 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.004523, allocations: 127.5 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.004525, allocations: 3.938 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.004527, allocations: 0 / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.00453, allocations: 0 / 410.1 MB, free: 14.93 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.0003916/0.004922, allocations: 361.4 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.004956, allocations: 8.031 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.004983, allocations: 30.75 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.005015, allocations: 20.84 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.005197, allocations: 154.4 kB / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.005206, allocations: 384 / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.005222, allocations: 4.375 kB / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.005354, allocations: 57.98 kB / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.005363, allocations: 0 / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.005371, allocations: 0 / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.005376, allocations: 0 / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.066e-05/0.005427, allocations: 31.91 kB / 410.8 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.005716, allocations: 259.9 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.005839, allocations: 62.67 kB / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.005872, allocations: 20.86 kB / 411.1 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.005886, allocations: 3.938 kB / 411.1 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.006004, allocations: 71.38 kB / 411.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.006005, allocations: 0 / 411.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004066/0.006411, allocations: 189.3 kB / 411.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.006447, allocations: 59.41 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.006598, allocations: 245.9 kB / 411.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.006611, allocations: 37.62 kB / 411.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.006658, allocations: 108.1 kB / 411.8 MB, free: 13.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.006685, allocations: 31.77 kB / 411.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.006716, allocations: 21.72 kB / 411.9 MB, free: 13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.006802, allocations: 334.8 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.006836, allocations: 16 kB / 412.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.13e-05/0.006877, allocations: 37.7 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.006949, allocations: 61.64 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.006953, allocations: 4 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001177/0.00707, allocations: 109.6 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.007082, allocations: 8.031 kB / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.007087, allocations: 80 / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.007098, allocations: 192 / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.00717, allocations: 19.98 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.007176, allocations: 7.922 kB / 412.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.007204, allocations: 0 / 412.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.007211, allocations: 4 kB / 412.5 MB, free: 12.39 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 8.011e-05/0.007291, allocations: 137.8 kB / 412.6 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.007304, allocations: 11.91 kB / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.007468, allocations: 131.1 kB / 412.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.00747, allocations: 0 / 412.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.007473, allocations: 0 / 412.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.007478, allocations: 3.984 kB / 412.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.007769, allocations: 374.4 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007771, allocations: 0 / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.007793, allocations: 8 kB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.007795, allocations: 7.938 kB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.007803, allocations: 4.375 kB / 413.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007805, allocations: 0 / 413.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.007808, allocations: 15.97 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.007947, allocations: 216.2 kB / 413.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.007959, allocations: 11.91 kB / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.007973, allocations: 0 / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-05/0.008013, allocations: 8 kB / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.008041, allocations: 11.92 kB / 413.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.008053, allocations: 0 / 413.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.008155, allocations: 188.3 kB / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008155, allocations: 0 / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001859/0.008341, allocations: 31.92 kB / 413.6 MB, free: 11.16 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.0009593/0.009301, allocations: 1.137 MB / 414.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.009421, allocations: 55.92 kB / 414.8 MB, free: 9.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009422, allocations: 64 / 414.8 MB, free: 9.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.009468, allocations: 35.92 kB / 414.8 MB, free: 9.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.009701, allocations: 32.16 kB / 414.9 MB, free: 9.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.01097, allocations: 1.783 MB / 416.6 MB, free: 8.027 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.777e-05/0.01104, allocations: 104.7 kB / 416.7 MB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.773e-05/0.01109, allocations: 16.55 kB / 416.8 MB, free: 7.891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.01114, allocations: 40.48 kB / 416.8 MB, free: 7.848 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01114, allocations: 0 / 416.8 MB, free: 7.848 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.0276, allocations: 4.452 MB / 421.2 MB, free: 3.262 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/6.894, allocations: 7.891 kB / 421.3 MB, free: 3.254 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.129860090091825]