Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",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.001603/0.001603, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.00179/0.00179, allocations: 181 kB / 18.71 MB, free: 4.207 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.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2195/0.2195, allocations: 44.18 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 71.89 kB / 470.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3519, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002835/0.3548, allocations: 1.888 MB / 0.5204 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3562, allocations: 0.9913 MB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3563, allocations: 10.25 kB / 0.5213 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004342/0.3568, allocations: 154.2 kB / 0.5215 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.3571, allocations: 132.8 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.3576, allocations: 182.9 kB / 0.5218 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.3579, allocations: 234.6 kB / 0.522 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.358, allocations: 25.3 kB / 0.522 GB, free: 1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.3582, allocations: 106 kB / 0.5221 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.3584, allocations: 133.6 kB / 0.5223 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.3584, allocations: 8.656 kB / 0.5223 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.3586, allocations: 62.52 kB / 0.5223 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/0.3587, allocations: 46.14 kB / 0.5224 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.338e-05/0.3587, allocations: 81.28 kB / 0.5225 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.359, allocations: 216.6 kB / 0.5227 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3591, allocations: 0.5156 kB / 0.5227 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3591, allocations: 0 / 0.5227 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3591, allocations: 0 / 0.5227 GB, free: 0.7305 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006373/0.3597, allocations: 0.5334 MB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3598, allocations: 10.38 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.3598, allocations: 43.89 kB / 0.5232 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.3599, allocations: 23.3 kB / 0.5233 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.3602, allocations: 272.8 kB / 0.5235 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3603, allocations: 8.031 kB / 0.5235 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.3603, allocations: 8.406 kB / 0.5235 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.3606, allocations: 115.7 kB / 0.5236 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.3606, allocations: 1.531 kB / 0.5237 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.3606, allocations: 4.75 kB / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.3606, allocations: 2.781 kB / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.3608, allocations: 41.62 kB / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.3615, allocations: 471.5 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.3619, allocations: 120.4 kB / 0.5243 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3621, allocations: 50.36 kB / 0.5243 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3621, allocations: 2.844 kB / 0.5243 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.3624, allocations: 116.5 kB / 0.5244 GB, free: 15.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 6.732e-06/0.3624, allocations: 0 / 0.5244 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001351/0.3637, allocations: 498.1 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.3638, allocations: 89.39 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.3643, allocations: 348.1 kB / 0.5253 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.3643, allocations: 33.11 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3644, allocations: 143.7 kB / 0.5255 GB, free: 14.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.236e-05/0.3645, allocations: 71.97 kB / 0.5256 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.3646, allocations: 41.45 kB / 0.5256 GB, free: 14.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3648, allocations: 340.3 kB / 0.5259 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3649, allocations: 59.7 kB / 0.526 GB, free: 14.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.3651, allocations: 110.1 kB / 0.5261 GB, free: 14.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.3654, allocations: 158.8 kB / 0.5262 GB, free: 13.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3654, allocations: 0 / 0.5262 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000421/0.3658, allocations: 237.7 kB / 0.5265 GB, free: 13.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3658, allocations: 6.547 kB / 0.5265 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3658, allocations: 1.062 kB / 0.5265 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3659, allocations: 2.281 kB / 0.5265 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.366, allocations: 39.47 kB / 0.5265 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.366, allocations: 7.281 kB / 0.5265 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.3661, allocations: 14.08 kB / 0.5265 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.3661, allocations: 9.469 kB / 0.5265 GB, free: 13.85 MB / 398.1 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001539/0.3663, allocations: 157.1 kB / 0.5267 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.3664, allocations: 33.73 kB / 0.5267 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.293e-05/0.3664, allocations: 31.03 kB / 0.5267 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3665, allocations: 2.688 kB / 0.5267 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3665, allocations: 2 kB / 0.5268 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3665, allocations: 0.75 kB / 0.5268 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009239/0.3674, allocations: 0.715 MB / 0.5274 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3674, allocations: 1.5 kB / 0.5275 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.908e-05/0.3675, allocations: 38.62 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3675, allocations: 2.5 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3675, allocations: 10.67 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3676, allocations: 2.844 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.3676, allocations: 5.25 kB / 0.5275 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.3681, allocations: 420.7 kB / 0.5279 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.3682, allocations: 102.9 kB / 0.528 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.3682, allocations: 9.531 kB / 0.528 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3684, allocations: 13.98 kB / 0.528 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.3684, allocations: 21.2 kB / 0.528 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.3685, allocations: 11.64 kB / 0.5281 GB, free: 12.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002914/0.3688, allocations: 264 kB / 0.5283 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3688, allocations: 0 / 0.5283 GB, free: 12.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.3691, allocations: 54.36 kB / 0.5284 GB, free: 12.55 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (22): * Single equations (assignments): 18 * 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.002685/0.3718, allocations: 1.363 MB / 0.5297 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.3722, allocations: 169 kB / 0.5299 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3722, allocations: 1.531 kB / 0.5299 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.3724, allocations: 78.41 kB / 0.5299 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.373, allocations: 63.81 kB / 0.53 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.3767, allocations: 2.65 MB / 0.5326 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.3771, allocations: 0.7656 MB / 0.5333 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.3772, allocations: 35.92 kB / 0.5334 GB, free: 8.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3774, allocations: 93.7 kB / 0.5335 GB, free: 8.574 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3774, allocations: 0 / 0.5335 GB, free: 8.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.405, allocations: 5.916 MB / 0.5392 GB, free: 5.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.406, allocations: 5.297 kB / 0.5392 GB, free: 5.543 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches