Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.001025/0.001025, allocations: 92.31 kB / 20.95 MB, free: 3.598 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.0009184/0.0009184, allocations: 160.9 kB / 24.26 MB, free: 292 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 1.068/1.068, allocations: 177 MB / 204.5 MB, free: 5.609 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.2863/0.2863, allocations: 34.24 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.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 376.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.497e-05/3.687e-05, allocations: 3.859 kB / 376.8 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003379/0.003416, allocations: 1.712 MB / 378.5 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.005065, allocations: 0.9915 MB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.005179, allocations: 0 / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004691/0.005648, allocations: 47.72 kB / 379.5 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.006038, allocations: 95.52 kB / 379.6 MB, free: 460 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.006231, allocations: 75.67 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.006417, allocations: 119.5 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.006528, allocations: 4 kB / 379.8 MB, free: 260 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.006663, allocations: 55.83 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.176e-05/0.006745, allocations: 23.91 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.006764, allocations: 8 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/0.006853, allocations: 51.86 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.006921, allocations: 23.92 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.006968, allocations: 27.84 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.007169, allocations: 123.5 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.007174, allocations: 4 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.007176, allocations: 0 / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.007187, allocations: 0 / 380.1 MB, free: 15.94 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.000563/0.00775, allocations: 349.5 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.007795, allocations: 8.031 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.002e-05/0.007825, allocations: 38.75 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.007882, allocations: 24.72 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.008103, allocations: 158.3 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.008117, allocations: 4.375 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.008144, allocations: 384 / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.008301, allocations: 58.22 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.008313, allocations: 4.188 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.008326, allocations: 8.109 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.008332, allocations: 0 / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.139e-05/0.008393, allocations: 27.98 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.008875, allocations: 267.9 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.009019, allocations: 54.67 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.009062, allocations: 24.78 kB / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.009076, allocations: 4 kB / 381.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.009222, allocations: 71.33 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.009223, allocations: 0 / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004955/0.009719, allocations: 181.3 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.009759, allocations: 55.41 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.009946, allocations: 247.6 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.00996, allocations: 25.7 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.01003, allocations: 112.1 kB / 381.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.01008, allocations: 23.8 kB / 381.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.01012, allocations: 21.7 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.01026, allocations: 326.8 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.77e-05/0.01031, allocations: 19.98 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.144e-05/0.01037, allocations: 41.69 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.01048, allocations: 65.59 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.01048, allocations: 4 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001285/0.01061, allocations: 105.6 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01062, allocations: 8 kB / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01063, allocations: 0 / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.01064, allocations: 0 / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.01072, allocations: 19.92 kB / 382.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.01073, allocations: 4.156 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.01076, allocations: 4 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.01077, allocations: 4 kB / 382.5 MB, free: 13.41 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 9.857e-05/0.01087, allocations: 141.7 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.01088, allocations: 15.91 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.01108, allocations: 127 kB / 382.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01108, allocations: 0 / 382.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.01109, allocations: 3.984 kB / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01109, allocations: 0 / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.01143, allocations: 382.3 kB / 383.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01144, allocations: 384 / 383.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.01146, allocations: 8 kB / 383.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.01147, allocations: 8.031 kB / 383.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.01148, allocations: 7.984 kB / 383.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01148, allocations: 3.938 kB / 383.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01148, allocations: 0 / 383.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.01164, allocations: 224.2 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.01166, allocations: 11.91 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.01168, allocations: 0 / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.01172, allocations: 11.98 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.01176, allocations: 11.92 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.01178, allocations: 4 kB / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.01189, allocations: 179.2 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01189, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.0121, allocations: 27.92 kB / 383.6 MB, free: 12.18 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.001796/0.01389, allocations: 1.135 MB / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.01409, allocations: 51.92 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.01409, allocations: 0 / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.143e-05/0.01415, allocations: 35.92 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.01443, allocations: 34.72 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.01591, allocations: 1.781 MB / 386.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.776e-05/0.016, allocations: 104.8 kB / 386.7 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.25e-05/0.01604, allocations: 12.98 kB / 386.8 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.01611, allocations: 40.47 kB / 386.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01611, allocations: 4 kB / 386.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.03686, allocations: 4.511 MB / 391.3 MB, free: 4.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.432/7.469, allocations: 11.86 kB / 391.3 MB, free: 4.512 MB / 362.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.748179984278977]