Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",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.001082/0.001082, 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.001048/0.001048, 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.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.1969/0.1969, allocations: 44.19 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.91 kB / 470.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2895, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003766/0.2933, allocations: 2.241 MB / 0.5207 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.2957, allocations: 1.185 MB / 0.5219 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003755/0.2961, allocations: 7.531 kB / 0.5219 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006593/0.2968, allocations: 122.7 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006954/0.2975, allocations: 179.4 kB / 0.5222 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008681/0.2984, allocations: 326.5 kB / 0.5225 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006726/0.2991, allocations: 426.9 kB / 0.5229 GB, free: 416 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.2993, allocations: 53.09 kB / 0.5229 GB, free: 392 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.2998, allocations: 287.5 kB / 0.5232 GB, free: 308 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.3, allocations: 149.6 kB / 0.5233 GB, free: 232 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.3, allocations: 15.41 kB / 0.5234 GB, free: 232 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.3002, allocations: 71.69 kB / 0.5234 GB, free: 216 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.3004, allocations: 124.5 kB / 0.5235 GB, free: 164 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.3005, allocations: 184.6 kB / 0.5237 GB, free: 24 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005515/0.3011, allocations: 425.6 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3011, allocations: 0 / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3011, allocations: 0 / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.3011, allocations: 3.938 kB / 0.5241 GB, free: 15.83 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.001027/0.3022, allocations: 0.8182 MB / 0.5249 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3022, allocations: 12.38 kB / 0.5249 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.39e-05/0.3023, allocations: 48.2 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.262e-05/0.3024, allocations: 59.72 kB / 0.525 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.3029, allocations: 406.4 kB / 0.5254 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3029, allocations: 10.67 kB / 0.5254 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.303, allocations: 24.16 kB / 0.5255 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.3034, allocations: 199.5 kB / 0.5257 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.3034, allocations: 1.375 kB / 0.5257 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.3034, allocations: 6.266 kB / 0.5257 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3034, allocations: 4.125 kB / 0.5257 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.3037, allocations: 95.94 kB / 0.5258 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009467/0.3046, allocations: 0.7877 MB / 0.5265 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/0.3053, allocations: 253.4 kB / 0.5268 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.3055, allocations: 87.69 kB / 0.5269 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.3056, allocations: 4.688 kB / 0.5269 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003808/0.306, allocations: 210 kB / 0.5271 GB, free: 13.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.255e-06/0.306, allocations: 0 / 0.5271 GB, free: 13.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002532/0.3085, allocations: 1.116 MB / 0.5282 GB, free: 12.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.3086, allocations: 137.5 kB / 0.5283 GB, free: 12.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.3101, allocations: 0.7531 MB / 0.529 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.3102, allocations: 38.11 kB / 0.5291 GB, free: 12.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.3104, allocations: 241 kB / 0.5293 GB, free: 12.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.3105, allocations: 147.5 kB / 0.5294 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3106, allocations: 78.11 kB / 0.5295 GB, free: 12.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3108, allocations: 372.8 kB / 0.5299 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.3111, allocations: 115.8 kB / 0.53 GB, free: 11.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.3116, allocations: 186.6 kB / 0.5301 GB, free: 11.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009168/0.3125, allocations: 317.6 kB / 0.5304 GB, free: 11.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3125, allocations: 4 kB / 0.5305 GB, free: 11.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001333/0.3139, allocations: 440.1 kB / 0.5309 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.3139, allocations: 5.562 kB / 0.5309 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3139, allocations: 2.75 kB / 0.5309 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.314, allocations: 4.062 kB / 0.5309 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.3144, allocations: 92.11 kB / 0.531 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.3145, allocations: 7.875 kB / 0.531 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.3148, allocations: 24.17 kB / 0.531 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.3149, allocations: 16.78 kB / 0.531 GB, free: 11 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.0004572/0.3154, allocations: 225 kB / 0.5312 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.3156, allocations: 65.02 kB / 0.5313 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.3158, allocations: 78.58 kB / 0.5314 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.3158, allocations: 9.688 kB / 0.5314 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.803e-05/0.3159, allocations: 5.156 kB / 0.5314 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.3159, allocations: 1.531 kB / 0.5314 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.3188, allocations: 1.301 MB / 0.5327 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.3188, allocations: 3.625 kB / 0.5327 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.3191, allocations: 58.81 kB / 0.5327 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.3191, allocations: 8.562 kB / 0.5327 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.3192, allocations: 16.66 kB / 0.5327 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.487e-06/0.3192, allocations: 4.781 kB / 0.5327 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/0.3193, allocations: 14.33 kB / 0.5328 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.3208, allocations: 0.7763 MB / 0.5335 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.3211, allocations: 172.5 kB / 0.5337 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.3213, allocations: 14.28 kB / 0.5337 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.3218, allocations: 18.3 kB / 0.5337 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.322, allocations: 49.48 kB / 0.5338 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.436e-05/0.3221, allocations: 26.08 kB / 0.5338 GB, free: 8.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001076/0.3232, allocations: 0.5416 MB / 0.5343 GB, free: 8.605 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3232, allocations: 0 / 0.5343 GB, free: 8.605 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009756/0.3242, allocations: 86.89 kB / 0.5344 GB, free: 8.586 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.003913/0.3281, allocations: 1.759 MB / 0.5361 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.3292, allocations: 313.1 kB / 0.5364 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3293, allocations: 1.5 kB / 0.5364 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.3298, allocations: 165.7 kB / 0.5366 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.3315, allocations: 134.3 kB / 0.5367 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008789/0.3403, allocations: 4.653 MB / 0.5412 GB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/0.341, allocations: 0.882 MB / 0.5421 GB, free: 3.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003208/0.3413, allocations: 79.03 kB / 0.5422 GB, free: 3.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.3417, allocations: 183.7 kB / 0.5424 GB, free: 2.887 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3417, allocations: 4 kB / 0.5424 GB, free: 2.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04065/0.3823, allocations: 10.53 MB / 0.5526 GB, free: 8.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.296/8.679, allocations: 16.05 kB / 0.5527 GB, free: 8.656 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches