Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 88.28 kB / 20.95 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008659/0.0008659, allocations: 152.9 kB / 24.26 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.896/0.896, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 376.8 MB, free: 3.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.756e-05, allocations: 3.156 kB / 376.8 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002359/0.002377, allocations: 1.721 MB / 378.5 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.003572, allocations: 0.989 MB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.324e-05/0.003666, allocations: 0 / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.003986, allocations: 43.7 kB / 379.5 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.004335, allocations: 91.55 kB / 379.6 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.004533, allocations: 79.66 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.004703, allocations: 115.5 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.004795, allocations: 11.94 kB / 379.8 MB, free: 244 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.00487, allocations: 47.89 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.004939, allocations: 31.84 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.004955, allocations: 4 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.958e-05/0.005034, allocations: 43.92 kB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.005088, allocations: 23.92 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.005127, allocations: 19.92 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.005304, allocations: 115.6 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005306, allocations: 0 / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005306, allocations: 3.938 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.00531, allocations: 8 kB / 380.1 MB, free: 15.95 MB / 362.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.000398/0.005708, allocations: 341.6 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.005742, allocations: 8.031 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.649e-05/0.005769, allocations: 34.75 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.005811, allocations: 16.78 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.005986, allocations: 158.3 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.005997, allocations: 384 / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.006014, allocations: 4.375 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.006132, allocations: 58.22 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.006142, allocations: 8.188 kB / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.006151, allocations: 4.125 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.006155, allocations: 0 / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.929e-05/0.006204, allocations: 23.98 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.006472, allocations: 251.9 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.006621, allocations: 62.66 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.006677, allocations: 20.8 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.00669, allocations: 4 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.006804, allocations: 71.31 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.006806, allocations: 4 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003913/0.007197, allocations: 185.3 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.007223, allocations: 51.41 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.007348, allocations: 198.8 kB / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.00736, allocations: 29.7 kB / 381.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.007404, allocations: 108.1 kB / 381.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.007427, allocations: 27.73 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.007457, allocations: 25.7 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.939e-05/0.007526, allocations: 326.8 kB / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.068e-05/0.007557, allocations: 19.98 kB / 382.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.963e-05/0.007596, allocations: 37.7 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.186e-05/0.007668, allocations: 73.56 kB / 382.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.007669, allocations: 0 / 382.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001097/0.007779, allocations: 97.64 kB / 382.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.007795, allocations: 8 kB / 382.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.0078, allocations: 0 / 382.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.00781, allocations: 0 / 382.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.00787, allocations: 19.92 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.007877, allocations: 12.17 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.007905, allocations: 7.953 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.007911, allocations: 4 kB / 382.4 MB, free: 13.48 MB / 362.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 6.983e-05/0.007981, allocations: 125.8 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.007997, allocations: 15.95 kB / 382.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.008147, allocations: 119.1 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.00815, allocations: 4 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.008154, allocations: 0 / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.008157, allocations: 3.984 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.008447, allocations: 378.7 kB / 383 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008449, allocations: 0 / 383 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.008474, allocations: 12 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.008477, allocations: 0 / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.008487, allocations: 8 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.008488, allocations: 0 / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00849, allocations: 3.938 kB / 383 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.008633, allocations: 220.2 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.008644, allocations: 11.91 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.008662, allocations: 4 kB / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.008699, allocations: 8.031 kB / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.008731, allocations: 7.922 kB / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.008745, allocations: 4 kB / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.301e-05/0.008828, allocations: 151.2 kB / 383.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008828, allocations: 0 / 383.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.009009, allocations: 31.86 kB / 383.5 MB, free: 12.31 MB / 362.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.0009885/0.009998, allocations: 1.117 MB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.01012, allocations: 59.91 kB / 384.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01012, allocations: 0 / 384.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.01016, allocations: 31.92 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.01038, allocations: 36.22 kB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.01165, allocations: 1.696 MB / 386.4 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.876e-05/0.01171, allocations: 92.25 kB / 386.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.17e-05/0.01175, allocations: 12.97 kB / 386.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.01181, allocations: 40.48 kB / 386.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01181, allocations: 4 kB / 386.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.02798, allocations: 4.376 MB / 390.9 MB, free: 4.891 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.012/7.04, allocations: 3.125 kB / 390.9 MB, free: 4.891 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.982506794854999]