Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2218/0.2218, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 63.95 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2038, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.004961/0.2088, allocations: 1.708 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.211, allocations: 0.873 MB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.2111, allocations: 0 / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.2116, allocations: 47.75 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.2119, allocations: 63.75 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.2124, allocations: 110.6 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.2126, allocations: 99.69 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2128, allocations: 4.234 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.2129, allocations: 43.78 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.213, allocations: 27.86 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.2131, allocations: 8 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.2132, allocations: 47.91 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.2133, allocations: 27.92 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.345e-05/0.2134, allocations: 43.61 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.2137, allocations: 111.9 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2138, allocations: 4 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2138, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.2138, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.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.0007852/0.2146, allocations: 418.9 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.2147, allocations: 12.03 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.147e-05/0.2147, allocations: 34.75 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.2148, allocations: 20.69 kB / 473 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.2152, allocations: 216 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2152, allocations: 384 / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.2152, allocations: 11.94 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.2154, allocations: 53.67 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2155, allocations: 0 / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.2155, allocations: 0 / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2155, allocations: 0 / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.2156, allocations: 23.98 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.2162, allocations: 300.7 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.2164, allocations: 54.69 kB / 473.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.086e-05/0.2165, allocations: 20.84 kB / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2165, allocations: 4 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.2168, allocations: 71.33 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.2168, allocations: 0 / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007435/0.2176, allocations: 169.2 kB / 474 MB, free: 9.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.2177, allocations: 55.34 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.218, allocations: 234.5 kB / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.218, allocations: 33.7 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.2181, allocations: 104.1 kB / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.2182, allocations: 23.66 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.2183, allocations: 25.7 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.2184, allocations: 326.8 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.864e-05/0.2185, allocations: 19.98 kB / 474.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.2187, allocations: 30.09 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.2188, allocations: 69.64 kB / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2189, allocations: 0 / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002921/0.2192, allocations: 101.6 kB / 475 MB, free: 8.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.2192, allocations: 8.188 kB / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2192, allocations: 0 / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2192, allocations: 3.938 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.2194, allocations: 15.94 kB / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.2194, allocations: 4 kB / 475 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.2195, allocations: 11.95 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2195, allocations: 7.938 kB / 475 MB, free: 8.359 MB / 350.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.0001614/0.2197, allocations: 130.9 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.2197, allocations: 11.81 kB / 475.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.077e-05/0.2198, allocations: 17.41 kB / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2198, allocations: 0 / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2198, allocations: 0 / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.2198, allocations: 3.938 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.2205, allocations: 403.3 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2205, allocations: 0 / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.2206, allocations: 8 kB / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2206, allocations: 3.938 kB / 475.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2206, allocations: 4 kB / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.2206, allocations: 4 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.2207, allocations: 7.922 kB / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.221, allocations: 204.2 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.2211, allocations: 85.02 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.2211, allocations: 7.938 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.2213, allocations: 4 kB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.2213, allocations: 7.984 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.2214, allocations: 0 / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002165/0.2216, allocations: 171.2 kB / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.9e-07/0.2216, allocations: 4 kB / 476.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004779/0.2221, allocations: 23.98 kB / 476.1 MB, free: 7.176 MB / 350.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.002325/0.2244, allocations: 1.108 MB / 477.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.2247, allocations: 55.91 kB / 477.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2247, allocations: 0 / 477.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.2248, allocations: 35.92 kB / 477.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.2254, allocations: 38.67 kB / 477.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.2282, allocations: 1.713 MB / 479 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.2287, allocations: 0.7119 MB / 479.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.614e-05/0.2288, allocations: 17.17 kB / 479.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.2289, allocations: 39.42 kB / 479.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2289, allocations: 0 / 479.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.2559, allocations: 3.453 MB / 483.2 MB, free: 140 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/7.798, allocations: 12.05 kB / 483.3 MB, free: 128 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches