Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.0008632/0.0008632, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0009517/0.0009517, allocations: 173.9 kB / 23.21 MB, free: 1.344 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.8444/0.8444, allocations: 158.6 MB / 185 MB, free: 3.027 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.1419/0.1419, allocations: 32.37 MB / 269.6 MB, free: 15.04 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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.991e-05, allocations: 6.078 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002835/0.002865, allocations: 1.872 MB / 408.8 MB, free: 276 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.003974, allocations: 0.8154 MB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.004102, allocations: 0 / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.004502, allocations: 51.58 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.00479, allocations: 67.56 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.005101, allocations: 103.7 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.0053, allocations: 147.5 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.005415, allocations: 17.69 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.005521, allocations: 75.8 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.005609, allocations: 35.89 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.005638, allocations: 12 kB / 410.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.00574, allocations: 43.92 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.678e-05/0.005807, allocations: 31.84 kB / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/0.005866, allocations: 31.86 kB / 410.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.00611, allocations: 147.5 kB / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.006113, allocations: 3.938 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.006114, allocations: 0 / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.00612, allocations: 0 / 410.4 MB, free: 14.68 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005402/0.00666, allocations: 399.1 kB / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.006695, allocations: 8.031 kB / 410.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.006725, allocations: 46.73 kB / 410.8 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.006762, allocations: 16.84 kB / 410.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.006984, allocations: 169.4 kB / 411 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.006995, allocations: 4.375 kB / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.007021, allocations: 8.375 kB / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.007202, allocations: 134.2 kB / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.00721, allocations: 4 kB / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.007221, allocations: 0 / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.007226, allocations: 4 kB / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.142e-05/0.007317, allocations: 51.91 kB / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.00775, allocations: 484 kB / 411.7 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.007994, allocations: 82.66 kB / 411.7 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.008049, allocations: 36.84 kB / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.008064, allocations: 0 / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.008219, allocations: 125 kB / 411.9 MB, free: 12.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.00822, allocations: 0 / 411.9 MB, free: 12.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002812/0.008502, allocations: 145.5 kB / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.00854, allocations: 51.41 kB / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.008701, allocations: 191.6 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.008722, allocations: 33.64 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.008803, allocations: 120 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.008823, allocations: 23.81 kB / 412.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.008859, allocations: 29.7 kB / 412.5 MB, free: 12.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.008951, allocations: 330.8 kB / 412.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.009006, allocations: 27.98 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.205e-05/0.009068, allocations: 68.2 kB / 412.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.009184, allocations: 104.5 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.009185, allocations: 0 / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001623/0.009348, allocations: 141.4 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.009361, allocations: 4 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.009366, allocations: 4 kB / 413.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.009378, allocations: 0 / 413.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.009438, allocations: 23.98 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.009444, allocations: 3.938 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.009488, allocations: 19.83 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.009496, allocations: 8.109 kB / 413.2 MB, free: 11.58 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 7.812e-05/0.009575, allocations: 125.8 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.009591, allocations: 15.91 kB / 413.3 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.009771, allocations: 131 kB / 413.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.009774, allocations: 4 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.009779, allocations: 0 / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.009786, allocations: 11.91 kB / 413.5 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.009914, allocations: 168.7 kB / 413.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.009915, allocations: 0 / 413.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.998e-05/0.009965, allocations: 20 kB / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.009967, allocations: 0 / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.009978, allocations: 7.984 kB / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.009978, allocations: 0 / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.00998, allocations: 3.938 kB / 413.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.01021, allocations: 201 kB / 413.9 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.01023, allocations: 15.88 kB / 413.9 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.01024, allocations: 0 / 413.9 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.766e-05/0.01027, allocations: 8 kB / 413.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.0103, allocations: 15.98 kB / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.01032, allocations: 11.92 kB / 413.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.467e-05/0.01041, allocations: 141.2 kB / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01041, allocations: 0 / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.01058, allocations: 27.98 kB / 414.1 MB, free: 10.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001184/0.01177, allocations: 1.048 MB / 415.1 MB, free: 9.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.01196, allocations: 87.89 kB / 415.2 MB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01196, allocations: 0 / 415.2 MB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/0.01203, allocations: 35.98 kB / 415.3 MB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.01228, allocations: 43.83 kB / 415.3 MB, free: 9.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.01371, allocations: 1.759 MB / 417.1 MB, free: 7.539 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.702e-05/0.01378, allocations: 98.77 kB / 417.2 MB, free: 7.422 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.271e-05/0.01384, allocations: 21.14 kB / 417.2 MB, free: 7.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.0139, allocations: 40.48 kB / 417.2 MB, free: 7.363 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0139, allocations: 4 kB / 417.2 MB, free: 7.359 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.03135, allocations: 4.649 MB / 421.9 MB, free: 2.574 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/6.887, allocations: 15.78 kB / 421.9 MB, free: 2.559 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.077283618971705]