Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.0008351/0.0008351, allocations: 83.52 kB / 20.02 MB, free: 4.508 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.0008091/0.0008091, allocations: 170 kB / 23.32 MB, free: 1.203 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.7747/0.7747, allocations: 158.6 MB / 185.1 MB, free: 2.992 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.1179/0.1179, allocations: 32.38 MB / 269.7 MB, free: 14.93 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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 407.1 MB, free: 2.066 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.973e-05, allocations: 5.938 kB / 407.1 MB, free: 2.062 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002818/0.002838, allocations: 1.742 MB / 408.9 MB, free: 312 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.00493, allocations: 1.552 MB / 410.4 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.578e-05/0.005026, allocations: 4 kB / 410.4 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.005369, allocations: 59.56 kB / 410.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.005622, allocations: 91.48 kB / 410.6 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.005854, allocations: 143.6 kB / 410.7 MB, free: 14.45 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.006027, allocations: 187.3 kB / 410.9 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.006075, allocations: 5.812 kB / 410.9 MB, free: 14.26 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.006176, allocations: 103.7 kB / 411 MB, free: 14.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.006283, allocations: 59.75 kB / 411.1 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.006302, allocations: 8 kB / 411.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.475e-05/0.006397, allocations: 63.91 kB / 411.1 MB, free: 14.03 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.006449, allocations: 35.84 kB / 411.2 MB, free: 13.99 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.00649, allocations: 27.92 kB / 411.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.006691, allocations: 191.3 kB / 411.4 MB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006693, allocations: 4 kB / 411.4 MB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006694, allocations: 0 / 411.4 MB, free: 13.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.006698, allocations: 0 / 411.4 MB, free: 13.77 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004384/0.007136, allocations: 393.2 kB / 411.8 MB, free: 13.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.007171, allocations: 12.03 kB / 411.8 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/0.007198, allocations: 38.69 kB / 411.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.007236, allocations: 16.84 kB / 411.8 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.007442, allocations: 185.2 kB / 412 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.007451, allocations: 384 / 412 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.007464, allocations: 8.312 kB / 412 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.007632, allocations: 156.8 kB / 412.2 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.00764, allocations: 0 / 412.2 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.00765, allocations: 0 / 412.2 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.007655, allocations: 4 kB / 412.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.322e-05/0.007718, allocations: 35.91 kB / 412.2 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.007881, allocations: 181.6 kB / 412.4 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.008049, allocations: 101.2 kB / 412.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.008105, allocations: 45.64 kB / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.00812, allocations: 4 kB / 412.6 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.008275, allocations: 113 kB / 412.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 9.61e-07/0.008276, allocations: 0 / 412.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003012/0.008577, allocations: 177.5 kB / 412.8 MB, free: 12.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.008636, allocations: 132.5 kB / 413 MB, free: 11.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.008803, allocations: 219.9 kB / 413.2 MB, free: 11.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.008816, allocations: 25.7 kB / 413.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.008869, allocations: 116.1 kB / 413.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.008906, allocations: 39.67 kB / 413.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.008949, allocations: 25.7 kB / 413.4 MB, free: 11.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.009042, allocations: 330.8 kB / 413.7 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.009095, allocations: 27.98 kB / 413.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.046e-05/0.009175, allocations: 128.5 kB / 413.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.009283, allocations: 95.34 kB / 414 MB, free: 10.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.009286, allocations: 3.969 kB / 414 MB, free: 10.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001646/0.00945, allocations: 141.5 kB / 414.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.009466, allocations: 7.984 kB / 414.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.009471, allocations: 0 / 414.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.009486, allocations: 4 kB / 414.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.009566, allocations: 19.94 kB / 414.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.009575, allocations: 8.609 kB / 414.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.009627, allocations: 11.95 kB / 414.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.009635, allocations: 4 kB / 414.1 MB, free: 10.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.828e-05/0.009723, allocations: 141.8 kB / 414.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.009744, allocations: 19.84 kB / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.009959, allocations: 170.7 kB / 414.5 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.009961, allocations: 0 / 414.5 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.009966, allocations: 0 / 414.5 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.00997, allocations: 0 / 414.5 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.0101, allocations: 180.7 kB / 414.6 MB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.0101, allocations: 0 / 414.6 MB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.01012, allocations: 12 kB / 414.7 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01012, allocations: 7.938 kB / 414.7 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.01013, allocations: 3.938 kB / 414.7 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01013, allocations: 4 kB / 414.7 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01013, allocations: 0 / 414.7 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.0103, allocations: 185.7 kB / 414.9 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.01031, allocations: 23.83 kB / 414.9 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.01033, allocations: 4 kB / 414.9 MB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.962e-05/0.01036, allocations: 0 / 414.9 MB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.0104, allocations: 15.98 kB / 414.9 MB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.01041, allocations: 7.984 kB / 414.9 MB, free: 9.871 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.843e-05/0.01051, allocations: 169.5 kB / 415.1 MB, free: 9.707 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01051, allocations: 0 / 415.1 MB, free: 9.707 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.01069, allocations: 43.92 kB / 415.1 MB, free: 9.664 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001007/0.01169, allocations: 1.088 MB / 416.2 MB, free: 8.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.01188, allocations: 87.89 kB / 416.3 MB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01188, allocations: 0 / 416.3 MB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.125e-05/0.01194, allocations: 43.92 kB / 416.3 MB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.01217, allocations: 71.09 kB / 416.4 MB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.01357, allocations: 1.86 MB / 418.3 MB, free: 6.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.184e-05/0.01364, allocations: 106.4 kB / 418.4 MB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.526e-05/0.0137, allocations: 25.47 kB / 418.4 MB, free: 6.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.01377, allocations: 56.47 kB / 418.4 MB, free: 6.207 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01377, allocations: 0 / 418.4 MB, free: 6.207 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.02971, allocations: 5.709 MB / 424.2 MB, free: 340 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/7.348, allocations: 15.73 kB / 424.2 MB, free: 324 kB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.273227540776134]