Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001015, allocations: 119 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001124, allocations: 204.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2085/0.2085, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 83.81 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.308, allocations: 62.43 MB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003389/0.3115, allocations: 2.282 MB / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.3136, allocations: 1.313 MB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.3137, allocations: 7.219 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.3141, allocations: 121.1 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005061/0.3147, allocations: 244.4 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.315, allocations: 196 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004751/0.3155, allocations: 458.6 kB / 0.5351 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3157, allocations: 59.22 kB / 0.5352 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/0.316, allocations: 299.5 kB / 0.5355 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.3162, allocations: 151.9 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.3163, allocations: 16.5 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.3164, allocations: 76 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.3166, allocations: 137.8 kB / 0.5358 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.3168, allocations: 186.3 kB / 0.536 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.3172, allocations: 447.3 kB / 0.5364 GB, free: 9.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3173, allocations: 1.094 kB / 0.5364 GB, free: 9.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3173, allocations: 0 / 0.5364 GB, free: 9.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.3173, allocations: 0 / 0.5364 GB, free: 9.117 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001127/0.3184, allocations: 0.8362 MB / 0.5372 GB, free: 8.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3185, allocations: 8.781 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.895e-05/0.3185, allocations: 55.27 kB / 0.5373 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.3186, allocations: 64.42 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.3192, allocations: 419.8 kB / 0.5378 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.3192, allocations: 14.69 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.3193, allocations: 25.53 kB / 0.5378 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.3197, allocations: 188.8 kB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.3197, allocations: 1.281 kB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.3197, allocations: 14.69 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3198, allocations: 2.594 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.32, allocations: 89.91 kB / 0.5381 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009159/0.3209, allocations: 0.8047 MB / 0.5389 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.3216, allocations: 248.7 kB / 0.5391 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.3218, allocations: 85.72 kB / 0.5392 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.3218, allocations: 3.719 kB / 0.5392 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003526/0.3222, allocations: 210.2 kB / 0.5394 GB, free: 6.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.913e-06/0.3222, allocations: 0.9688 kB / 0.5394 GB, free: 6.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002469/0.3247, allocations: 1.148 MB / 0.5405 GB, free: 5.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.3248, allocations: 133.8 kB / 0.5406 GB, free: 5.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008822/0.3257, allocations: 0.8035 MB / 0.5414 GB, free: 5.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.3257, allocations: 38.2 kB / 0.5415 GB, free: 5.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.3259, allocations: 237.3 kB / 0.5417 GB, free: 5.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.326, allocations: 142.9 kB / 0.5418 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3261, allocations: 82.98 kB / 0.5419 GB, free: 4.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3263, allocations: 377 kB / 0.5423 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.3265, allocations: 115.9 kB / 0.5424 GB, free: 4.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.3268, allocations: 179.4 kB / 0.5426 GB, free: 4.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.3273, allocations: 320.6 kB / 0.5429 GB, free: 4.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3273, allocations: 1.062 kB / 0.5429 GB, free: 4.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007492/0.3281, allocations: 445.8 kB / 0.5433 GB, free: 3.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3281, allocations: 5.75 kB / 0.5433 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.3281, allocations: 1.25 kB / 0.5433 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3281, allocations: 8.688 kB / 0.5433 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.3284, allocations: 84.61 kB / 0.5434 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3284, allocations: 8.172 kB / 0.5434 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.3286, allocations: 27.89 kB / 0.5434 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.3287, allocations: 20.81 kB / 0.5434 GB, free: 3.879 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002394/0.3289, allocations: 233.5 kB / 0.5437 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.86e-05/0.329, allocations: 71.12 kB / 0.5437 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.3291, allocations: 87.83 kB / 0.5438 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3292, allocations: 5.469 kB / 0.5438 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3292, allocations: 5.406 kB / 0.5438 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3292, allocations: 0 / 0.5438 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.3308, allocations: 1.313 MB / 0.5451 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3308, allocations: 4 kB / 0.5451 GB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.331, allocations: 59.91 kB / 0.5452 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.331, allocations: 4 kB / 0.5452 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.331, allocations: 15.94 kB / 0.5452 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.331, allocations: 11.92 kB / 0.5452 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.331, allocations: 7.938 kB / 0.5452 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008251/0.3319, allocations: 0.7982 MB / 0.546 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.3321, allocations: 172.6 kB / 0.5461 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.3321, allocations: 16 kB / 0.5462 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.3324, allocations: 15.98 kB / 0.5462 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.3325, allocations: 47.83 kB / 0.5462 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.3326, allocations: 23.98 kB / 0.5462 GB, free: 1.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005835/0.3332, allocations: 0.5811 MB / 0.5468 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3332, allocations: 0 / 0.5468 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005286/0.3337, allocations: 91.92 kB / 0.5469 GB, free: 0.5586 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002245/0.3359, allocations: 1.748 MB / 0.5486 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000611/0.3366, allocations: 312.2 kB / 0.5489 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3366, allocations: 4 kB / 0.5489 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.3369, allocations: 164 kB / 0.5491 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009589/0.3379, allocations: 122.1 kB / 0.5492 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/0.3433, allocations: 4.753 MB / 0.5538 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.3437, allocations: 0.8821 MB / 0.5547 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.3439, allocations: 87.2 kB / 0.5548 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.3442, allocations: 195.4 kB / 0.555 GB, free: 8.238 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3442, allocations: 0 / 0.555 GB, free: 8.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.3731, allocations: 10.83 MB / 0.5655 GB, free: 13.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.447, allocations: 4.891 kB / 0.5655 GB, free: 13.52 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.csv --start-time 0 --stop-time 9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0036 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches