Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001749/0.001748, allocations: 118.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00228/0.002281, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 75.89 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3091, allocations: 62.43 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002898/0.312, allocations: 1.827 MB / 0.5324 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.3144, allocations: 1.701 MB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.375e-05/0.3145, allocations: 0 / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.3148, allocations: 51.02 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.3152, allocations: 141.9 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.3154, allocations: 105.2 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.3157, allocations: 203.5 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.701e-05/0.3157, allocations: 9.938 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.3159, allocations: 82.06 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.3161, allocations: 88.42 kB / 0.5347 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.3161, allocations: 8.25 kB / 0.5347 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.3163, allocations: 119.1 kB / 0.5348 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.581e-05/0.3164, allocations: 40.09 kB / 0.5348 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.3165, allocations: 62.72 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.3168, allocations: 226.5 kB / 0.5351 GB, free: 9.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.3168, allocations: 0 / 0.5351 GB, free: 9.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3168, allocations: 0 / 0.5351 GB, free: 9.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3168, allocations: 5.312 kB / 0.5351 GB, free: 9.91 MB / 398.1 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.000647/0.3175, allocations: 0.4944 MB / 0.5356 GB, free: 9.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3175, allocations: 9.625 kB / 0.5356 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.3175, allocations: 36.12 kB / 0.5356 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.3176, allocations: 21.09 kB / 0.5357 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.318, allocations: 262.1 kB / 0.5359 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.318, allocations: 7.062 kB / 0.5359 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.318, allocations: 10.27 kB / 0.5359 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.3182, allocations: 99.58 kB / 0.536 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3183, allocations: 0 / 0.536 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3183, allocations: 5.562 kB / 0.536 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3183, allocations: 5.453 kB / 0.536 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.3184, allocations: 31.77 kB / 0.5361 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.3186, allocations: 217.5 kB / 0.5363 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.3189, allocations: 114.1 kB / 0.5364 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.704e-05/0.319, allocations: 37.27 kB / 0.5364 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.319, allocations: 2.031 kB / 0.5364 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.3193, allocations: 116 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.3193, allocations: 0 / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000448/0.3197, allocations: 168.3 kB / 0.5367 GB, free: 8.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.3198, allocations: 134.8 kB / 0.5368 GB, free: 8.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.3201, allocations: 234.8 kB / 0.537 GB, free: 8.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3201, allocations: 31.67 kB / 0.5371 GB, free: 8.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.3202, allocations: 115.2 kB / 0.5372 GB, free: 7.938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.3202, allocations: 36.81 kB / 0.5372 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.3203, allocations: 31.41 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3204, allocations: 332.2 kB / 0.5376 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.3205, allocations: 25.92 kB / 0.5376 GB, free: 7.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3206, allocations: 78.97 kB / 0.5377 GB, free: 7.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3208, allocations: 85.42 kB / 0.5377 GB, free: 7.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3208, allocations: 5.062 kB / 0.5377 GB, free: 7.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002793/0.3211, allocations: 133.9 kB / 0.5379 GB, free: 7.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3211, allocations: 5.344 kB / 0.5379 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3211, allocations: 5.453 kB / 0.5379 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3211, allocations: 1.375 kB / 0.5379 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3213, allocations: 25.97 kB / 0.5379 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3213, allocations: 5.094 kB / 0.5379 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.3214, allocations: 16.41 kB / 0.5379 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.3214, allocations: 8.781 kB / 0.5379 GB, free: 7.293 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_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 0.0001104/0.3215, allocations: 133.4 kB / 0.5381 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.3216, allocations: 17.09 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.3216, allocations: 18.19 kB / 0.5381 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3216, allocations: 2.781 kB / 0.5381 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3216, allocations: 11.98 kB / 0.5381 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3217, allocations: 1.281 kB / 0.5381 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.3218, allocations: 226.9 kB / 0.5383 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3219, allocations: 1.281 kB / 0.5383 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.3219, allocations: 6.812 kB / 0.5383 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3219, allocations: 3.984 kB / 0.5383 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3219, allocations: 6.297 kB / 0.5384 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3219, allocations: 1.375 kB / 0.5384 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3219, allocations: 0 / 0.5384 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.3223, allocations: 176.2 kB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.3223, allocations: 96.78 kB / 0.5386 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.3224, allocations: 2.906 kB / 0.5386 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.3225, allocations: 7.719 kB / 0.5386 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.3225, allocations: 8.297 kB / 0.5386 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.3226, allocations: 4.781 kB / 0.5386 GB, free: 6.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.3227, allocations: 182.1 kB / 0.5388 GB, free: 6.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3227, allocations: 4 kB / 0.5388 GB, free: 6.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.3231, allocations: 57.02 kB / 0.5389 GB, free: 6.477 MB / 398.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001636/0.3247, allocations: 1.096 MB / 0.5399 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.325, allocations: 84.31 kB / 0.54 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.325, allocations: 3.938 kB / 0.54 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3251, allocations: 35.2 kB / 0.5401 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3255, allocations: 69.58 kB / 0.5401 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.3277, allocations: 1.878 MB / 0.542 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.328, allocations: 0.7188 MB / 0.5427 GB, free: 3.309 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.3281, allocations: 31 kB / 0.5427 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.3283, allocations: 55.69 kB / 0.5427 GB, free: 3.258 MB / 398.1 MB Notification: Performance of SimCode: time 1.733e-06/0.3283, allocations: 0 / 0.5427 GB, free: 3.258 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.3507, allocations: 5.298 MB / 0.5479 GB, free: 15.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/7.817, allocations: 13.62 kB / 0.5479 GB, free: 15.67 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches