Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 109.8 kB / 21.1 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 191.8 kB / 24.36 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 253.1 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2105/0.2105, allocations: 44.91 MB / 353.2 MB, free: 11.88 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.88 kB / 496.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2996, allocations: 64.29 MB / 0.548 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00351/0.3031, allocations: 1.721 MB / 0.5497 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3047, allocations: 0.9029 MB / 0.5506 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.3048, allocations: 1.125 kB / 0.5506 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.3051, allocations: 42.06 kB / 0.5506 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.3053, allocations: 48.42 kB / 0.5507 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.3056, allocations: 115.2 kB / 0.5508 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.3057, allocations: 98.88 kB / 0.5509 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3059, allocations: 13.52 kB / 0.5509 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.306, allocations: 44.62 kB / 0.5509 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.306, allocations: 25.89 kB / 0.5509 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3061, allocations: 4.188 kB / 0.551 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3062, allocations: 55.16 kB / 0.551 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.3062, allocations: 17.8 kB / 0.551 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.3063, allocations: 27.75 kB / 0.551 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.3065, allocations: 110.2 kB / 0.5512 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.3065, allocations: 8 kB / 0.5512 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3065, allocations: 0 / 0.5512 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.3065, allocations: 0 / 0.5512 GB, free: 10.49 MB / 398.1 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.0005441/0.3071, allocations: 325.6 kB / 0.5515 GB, free: 10.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3071, allocations: 11.05 kB / 0.5515 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.465e-05/0.3072, allocations: 40.09 kB / 0.5515 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.3072, allocations: 12.44 kB / 0.5515 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.3075, allocations: 149.1 kB / 0.5517 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.3075, allocations: 1.688 kB / 0.5517 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.3075, allocations: 13.34 kB / 0.5517 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.3077, allocations: 49.98 kB / 0.5517 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3077, allocations: 1.281 kB / 0.5517 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3077, allocations: 7.938 kB / 0.5517 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3077, allocations: 1.281 kB / 0.5517 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.591e-05/0.3078, allocations: 21.58 kB / 0.5518 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.3081, allocations: 256.2 kB / 0.552 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3083, allocations: 56.52 kB / 0.5521 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.3083, allocations: 16.86 kB / 0.5521 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.3084, allocations: 1.594 kB / 0.5521 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.3085, allocations: 76.78 kB / 0.5522 GB, free: 9.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3085, allocations: 0 / 0.5522 GB, free: 9.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005462/0.3091, allocations: 177.9 kB / 0.5523 GB, free: 9.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.3091, allocations: 53.09 kB / 0.5524 GB, free: 9.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.3093, allocations: 176.3 kB / 0.5525 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3093, allocations: 25.7 kB / 0.5526 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.3094, allocations: 96.55 kB / 0.5527 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.3094, allocations: 36.38 kB / 0.5527 GB, free: 9.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.3095, allocations: 20.22 kB / 0.5527 GB, free: 9.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3096, allocations: 326.1 kB / 0.553 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.3096, allocations: 23.02 kB / 0.553 GB, free: 8.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.3097, allocations: 35.58 kB / 0.5531 GB, free: 8.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3098, allocations: 62.2 kB / 0.5531 GB, free: 8.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3098, allocations: 1.094 kB / 0.5531 GB, free: 8.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001877/0.31, allocations: 95.14 kB / 0.5532 GB, free: 8.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.31, allocations: 10.03 kB / 0.5532 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3101, allocations: 0 / 0.5532 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3101, allocations: 1.438 kB / 0.5532 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.3102, allocations: 20.61 kB / 0.5533 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3102, allocations: 1 kB / 0.5533 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.265e-05/0.3102, allocations: 14.16 kB / 0.5533 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3102, allocations: 3.438 kB / 0.5533 GB, free: 8.516 MB / 398.1 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 0.0001344/0.3104, allocations: 125.8 kB / 0.5534 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.3104, allocations: 12.94 kB / 0.5534 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.3107, allocations: 123.3 kB / 0.5535 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3107, allocations: 0 / 0.5535 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3107, allocations: 1.812 kB / 0.5535 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.3107, allocations: 3.938 kB / 0.5535 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.3111, allocations: 360 kB / 0.5539 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3111, allocations: 1.25 kB / 0.5539 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.3112, allocations: 7.219 kB / 0.5539 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3112, allocations: 9.094 kB / 0.5539 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.3112, allocations: 1.125 kB / 0.5539 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3112, allocations: 1.219 kB / 0.5539 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3112, allocations: 1.438 kB / 0.5539 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.3114, allocations: 208.6 kB / 0.5541 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.3114, allocations: 11.88 kB / 0.5541 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.3115, allocations: 9.312 kB / 0.5541 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.3115, allocations: 10.47 kB / 0.5541 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.3116, allocations: 7.297 kB / 0.5541 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3116, allocations: 2.531 kB / 0.5541 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.3117, allocations: 134.7 kB / 0.5543 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3117, allocations: 0 / 0.5543 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.312, allocations: 27.45 kB / 0.5543 GB, free: 7.625 MB / 398.1 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 (8): * Single equations (assignments): 6 * 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.002059/0.314, allocations: 1.092 MB / 0.5554 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.3142, allocations: 63.95 kB / 0.5554 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3142, allocations: 1.125 kB / 0.5554 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.421e-05/0.3143, allocations: 27.2 kB / 0.5554 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.3147, allocations: 24.36 kB / 0.5555 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.3164, allocations: 1.604 MB / 0.557 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3167, allocations: 0.7007 MB / 0.5577 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.703e-05/0.3168, allocations: 22.58 kB / 0.5577 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.3169, allocations: 35.05 kB / 0.5578 GB, free: 4.562 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3169, allocations: 0 / 0.5578 GB, free: 4.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.341, allocations: 3.376 MB / 0.5611 GB, free: 1.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.265, allocations: 8.906 kB / 0.5611 GB, free: 1.914 MB / 398.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.125197908841074]