Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.001091/0.001091, allocations: 92.31 kB / 20.95 MB, free: 3.602 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.0009151/0.0009151, allocations: 164.9 kB / 24.26 MB, free: 296 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.111/1.111, allocations: 177 MB / 204.5 MB, free: 5.57 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.4211/0.4211, allocations: 34.24 MB / 295.2 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 376.8 MB, free: 3.336 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.485e-05, allocations: 6.25 kB / 376.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002932/0.002957, allocations: 1.716 MB / 378.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.004973, allocations: 0.9851 MB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.005105, allocations: 0 / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004739/0.005579, allocations: 27.78 kB / 379.5 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.005943, allocations: 95.48 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.006132, allocations: 83.66 kB / 379.7 MB, free: 412 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.006377, allocations: 111.6 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.006509, allocations: 8 kB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.006604, allocations: 55.83 kB / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.361e-05/0.006698, allocations: 23.91 kB / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.006721, allocations: 11.94 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.006822, allocations: 43.92 kB / 379.9 MB, free: 156 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.007051, allocations: 19.86 kB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.558e-05/0.007116, allocations: 19.92 kB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.007389, allocations: 111.6 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.007391, allocations: 0 / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.567e-05/0.007407, allocations: 4.062 kB / 380.1 MB, free: 16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.007413, allocations: 3.984 kB / 380.1 MB, free: 15.99 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.0007707/0.008183, allocations: 329.6 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.008238, allocations: 8.031 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.008284, allocations: 46.67 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.008335, allocations: 8.891 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.008558, allocations: 149.5 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.008575, allocations: 4.375 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.008598, allocations: 384 / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.008758, allocations: 58.23 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.008775, allocations: 4.188 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.008793, allocations: 4.125 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.008808, allocations: 0 / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.878e-05/0.008897, allocations: 23.98 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.009338, allocations: 263.9 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.009472, allocations: 54.67 kB / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.00951, allocations: 24.78 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.009527, allocations: 4 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.009669, allocations: 75.33 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.00967, allocations: 0 / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005038/0.01017, allocations: 181.3 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.01021, allocations: 51.41 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.01034, allocations: 171 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.01035, allocations: 29.7 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.01041, allocations: 100.1 kB / 381.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.01044, allocations: 23.84 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.01047, allocations: 21.72 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.01057, allocations: 318.8 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.446e-05/0.01061, allocations: 27.98 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.969e-05/0.01067, allocations: 37.7 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.01079, allocations: 69.58 kB / 382.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01079, allocations: 0 / 382.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001584/0.01095, allocations: 109.6 kB / 382.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.01098, allocations: 4 kB / 382.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.01099, allocations: 0 / 382.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.01101, allocations: 4 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.01112, allocations: 19.97 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.01113, allocations: 160 / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.01117, allocations: 11.92 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.01118, allocations: 7.984 kB / 382.3 MB, free: 13.59 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 8.329e-05/0.01126, allocations: 124 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.01128, allocations: 15.94 kB / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.01146, allocations: 118.4 kB / 382.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.01146, allocations: 3.984 kB / 382.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.01147, allocations: 4 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01147, allocations: 4 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.01179, allocations: 366.3 kB / 382.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.0118, allocations: 4.359 kB / 382.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.01182, allocations: 12 kB / 382.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.01182, allocations: 4 kB / 382.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.01184, allocations: 7.938 kB / 382.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.01184, allocations: 3.938 kB / 382.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01184, allocations: 4 kB / 382.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.01199, allocations: 216.2 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.01201, allocations: 11.98 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.01202, allocations: 4 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.88e-05/0.01206, allocations: 4 kB / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.01211, allocations: 11.92 kB / 383.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.01212, allocations: 0 / 383.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.872e-05/0.0122, allocations: 140 kB / 383.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0122, allocations: 0 / 383.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.01238, allocations: 27.95 kB / 383.4 MB, free: 12.44 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.001716/0.0141, allocations: 1.115 MB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.01425, allocations: 63.91 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01425, allocations: 0 / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.28e-05/0.0143, allocations: 31.88 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.0146, allocations: 41.19 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.01596, allocations: 1.638 MB / 386.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.67e-05/0.01606, allocations: 85.44 kB / 386.3 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.09e-05/0.01611, allocations: 8.984 kB / 386.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.01618, allocations: 40.48 kB / 386.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01618, allocations: 0 / 386.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.03493, allocations: 4.229 MB / 390.6 MB, free: 5.242 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.075, allocations: 7.938 kB / 390.6 MB, free: 5.234 MB / 362.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.68023139424622]