Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.001458/0.001457, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.00168/0.00168, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.465/1.465, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2285/0.2285, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3521, allocations: 60.82 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004027/0.3562, allocations: 1.755 MB / 0.5202 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.3582, allocations: 0.87 MB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.3584, allocations: 5.438 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.3589, allocations: 104.1 kB / 0.5212 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.3593, allocations: 93.56 kB / 0.5213 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.3597, allocations: 116.1 kB / 0.5214 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.36, allocations: 128.4 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3601, allocations: 24 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.3603, allocations: 65.41 kB / 0.5216 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.3604, allocations: 67.28 kB / 0.5217 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.3604, allocations: 5.281 kB / 0.5217 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.3606, allocations: 60.19 kB / 0.5217 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.3607, allocations: 33.31 kB / 0.5218 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.845e-05/0.3608, allocations: 44.61 kB / 0.5218 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.3612, allocations: 162.5 kB / 0.522 GB, free: 1.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3612, allocations: 8.688 kB / 0.522 GB, free: 1.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3612, allocations: 0 / 0.522 GB, free: 1.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3612, allocations: 1.062 kB / 0.522 GB, free: 1.117 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007488/0.362, allocations: 453.3 kB / 0.5224 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.362, allocations: 9.984 kB / 0.5224 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.3621, allocations: 37.33 kB / 0.5224 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.222e-05/0.3622, allocations: 16.62 kB / 0.5225 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.3626, allocations: 230.6 kB / 0.5227 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.3626, allocations: 2.625 kB / 0.5227 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.3627, allocations: 16.83 kB / 0.5227 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3629, allocations: 73.45 kB / 0.5228 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3629, allocations: 0.7031 kB / 0.5228 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3629, allocations: 1.156 kB / 0.5228 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.3629, allocations: 1 kB / 0.5228 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.3631, allocations: 35.56 kB / 0.5228 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.3635, allocations: 328.4 kB / 0.5231 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.3639, allocations: 79 kB / 0.5232 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/0.3639, allocations: 25.77 kB / 0.5232 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.364, allocations: 1.219 kB / 0.5232 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.3642, allocations: 81.62 kB / 0.5233 GB, free: 15.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.3642, allocations: 0 / 0.5233 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001097/0.3653, allocations: 308.2 kB / 0.5236 GB, free: 15.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.3654, allocations: 57.22 kB / 0.5236 GB, free: 15.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.3657, allocations: 247.5 kB / 0.5239 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.3657, allocations: 28.77 kB / 0.5239 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.3658, allocations: 114.7 kB / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/0.3659, allocations: 52.33 kB / 0.5241 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.366, allocations: 29.56 kB / 0.5241 GB, free: 15.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3661, allocations: 334.5 kB / 0.5244 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.095e-05/0.3662, allocations: 35.77 kB / 0.5244 GB, free: 15.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3663, allocations: 57.83 kB / 0.5245 GB, free: 15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.3665, allocations: 108 kB / 0.5246 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3665, allocations: 4 kB / 0.5246 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002897/0.3668, allocations: 161.8 kB / 0.5248 GB, free: 14.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3669, allocations: 13.22 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3669, allocations: 1.156 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.3669, allocations: 10.14 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.367, allocations: 29.5 kB / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.367, allocations: 0 / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.3671, allocations: 3.062 kB / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.3671, allocations: 9.094 kB / 0.5248 GB, free: 14.83 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 (16): * Single equations (assignments): 16 * 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.0001195/0.3672, allocations: 133.4 kB / 0.525 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.3673, allocations: 19.97 kB / 0.525 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.566e-05/0.3673, allocations: 31.06 kB / 0.525 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3673, allocations: 0 / 0.525 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3674, allocations: 2.312 kB / 0.525 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3674, allocations: 0.75 kB / 0.525 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008555/0.3682, allocations: 0.4911 MB / 0.5255 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3682, allocations: 1.688 kB / 0.5255 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.3683, allocations: 21.81 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.3684, allocations: 2.609 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.3684, allocations: 6.734 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3684, allocations: 6.969 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3684, allocations: 1.156 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.3689, allocations: 263 kB / 0.5258 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.659e-05/0.369, allocations: 94.78 kB / 0.5259 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.369, allocations: 7.172 kB / 0.5259 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.3692, allocations: 3.641 kB / 0.5259 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.3692, allocations: 8.922 kB / 0.5259 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.3693, allocations: 10.58 kB / 0.5259 GB, free: 13.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.3695, allocations: 185.3 kB / 0.5261 GB, free: 13.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3695, allocations: 0 / 0.5261 GB, free: 13.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004756/0.37, allocations: 37.55 kB / 0.5261 GB, free: 13.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002361/0.3724, allocations: 1.206 MB / 0.5273 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.3728, allocations: 105.2 kB / 0.5274 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.3728, allocations: 4.062 kB / 0.5274 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3729, allocations: 51.77 kB / 0.5274 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.3735, allocations: 34.5 kB / 0.5275 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.3767, allocations: 1.991 MB / 0.5294 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.3772, allocations: 0.7237 MB / 0.5301 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.3773, allocations: 22.69 kB / 0.5301 GB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3774, allocations: 58.23 kB / 0.5302 GB, free: 10.65 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3775, allocations: 0 / 0.5302 GB, free: 10.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.4057, allocations: 4.267 MB / 0.5344 GB, free: 8.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/8.035, allocations: 8.875 kB / 0.5344 GB, free: 8.555 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches