Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",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.001767/0.001767, 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.001928/0.001928, 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.371/1.371, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2101/0.2101, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 75.86 kB / 470.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2853, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002906/0.2882, allocations: 2.24 MB / 0.5207 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.2899, allocations: 1.182 MB / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.29, allocations: 8.125 kB / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.2904, allocations: 135.7 kB / 0.522 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.2908, allocations: 195.5 kB / 0.5222 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.2914, allocations: 318.9 kB / 0.5225 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004501/0.2919, allocations: 423.1 kB / 0.5229 GB, free: 436 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.292, allocations: 61.27 kB / 0.523 GB, free: 404 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.2924, allocations: 285.2 kB / 0.5232 GB, free: 324 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.2925, allocations: 159 kB / 0.5234 GB, free: 248 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.2926, allocations: 14.56 kB / 0.5234 GB, free: 248 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.2928, allocations: 70.75 kB / 0.5235 GB, free: 232 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.2929, allocations: 145.5 kB / 0.5236 GB, free: 176 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.293, allocations: 198.2 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.2936, allocations: 468.2 kB / 0.5242 GB, free: 15.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2936, allocations: 2.125 kB / 0.5242 GB, free: 15.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2936, allocations: 4 kB / 0.5242 GB, free: 15.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.2936, allocations: 0 / 0.5242 GB, free: 15.81 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.001194/0.2948, allocations: 0.8907 MB / 0.5251 GB, free: 15.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2949, allocations: 8.5 kB / 0.5251 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.971e-05/0.2949, allocations: 47.75 kB / 0.5252 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.944e-05/0.295, allocations: 70.67 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/0.2956, allocations: 432.7 kB / 0.5256 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.2956, allocations: 14.88 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.2957, allocations: 27.31 kB / 0.5257 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.2961, allocations: 187.2 kB / 0.5259 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.2961, allocations: 2.578 kB / 0.5259 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.2961, allocations: 6.516 kB / 0.5259 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2962, allocations: 7.531 kB / 0.5259 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.2964, allocations: 96.16 kB / 0.526 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009728/0.2974, allocations: 0.8129 MB / 0.5268 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.2981, allocations: 253.7 kB / 0.527 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.2983, allocations: 94.02 kB / 0.5271 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.2983, allocations: 4.359 kB / 0.5271 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.2987, allocations: 214.1 kB / 0.5273 GB, free: 13.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 3.636e-06/0.2987, allocations: 3.984 kB / 0.5273 GB, free: 13.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002536/0.3013, allocations: 1.171 MB / 0.5285 GB, free: 12.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.3014, allocations: 138.5 kB / 0.5286 GB, free: 12.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.3024, allocations: 0.9234 MB / 0.5295 GB, free: 12.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.3025, allocations: 37.09 kB / 0.5295 GB, free: 12.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.3027, allocations: 258.2 kB / 0.5298 GB, free: 11.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.3028, allocations: 143.2 kB / 0.5299 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.3029, allocations: 91.48 kB / 0.53 GB, free: 11.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.3032, allocations: 378.4 kB / 0.5304 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.3034, allocations: 127.7 kB / 0.5305 GB, free: 11.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.3037, allocations: 180 kB / 0.5307 GB, free: 11.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005359/0.3043, allocations: 313.6 kB / 0.5309 GB, free: 10.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3043, allocations: 0 / 0.5309 GB, free: 10.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007694/0.305, allocations: 454.7 kB / 0.5314 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.3051, allocations: 6.625 kB / 0.5314 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3051, allocations: 6.219 kB / 0.5314 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3051, allocations: 3.188 kB / 0.5314 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.3054, allocations: 84.89 kB / 0.5315 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.3054, allocations: 8.312 kB / 0.5315 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.3056, allocations: 23.02 kB / 0.5315 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.3056, allocations: 17.44 kB / 0.5315 GB, free: 10.72 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.0002785/0.3059, allocations: 256.8 kB / 0.5318 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.306, allocations: 72.38 kB / 0.5318 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.3062, allocations: 85.61 kB / 0.5319 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3062, allocations: 5.812 kB / 0.5319 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.3062, allocations: 4.906 kB / 0.5319 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.3062, allocations: 5.141 kB / 0.5319 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.3079, allocations: 1.321 MB / 0.5332 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3079, allocations: 3.594 kB / 0.5332 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.3081, allocations: 62.17 kB / 0.5333 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.3081, allocations: 10.06 kB / 0.5333 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.3082, allocations: 19.64 kB / 0.5333 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.3082, allocations: 4.438 kB / 0.5333 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.3082, allocations: 7.438 kB / 0.5333 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.3091, allocations: 0.7824 MB / 0.5341 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.3093, allocations: 183.5 kB / 0.5343 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/0.3094, allocations: 19.38 kB / 0.5343 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.3097, allocations: 16.02 kB / 0.5343 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.3098, allocations: 41.77 kB / 0.5343 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.3098, allocations: 25.52 kB / 0.5344 GB, free: 8.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000723/0.3106, allocations: 0.6735 MB / 0.535 GB, free: 8.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3106, allocations: 0 / 0.535 GB, free: 8.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005161/0.3111, allocations: 91.89 kB / 0.5351 GB, free: 8.207 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.003079/0.3142, allocations: 1.775 MB / 0.5368 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006228/0.3148, allocations: 314.2 kB / 0.5371 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3148, allocations: 0 / 0.5371 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.3151, allocations: 167.3 kB / 0.5373 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009612/0.3161, allocations: 142.3 kB / 0.5374 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006344/0.3225, allocations: 5.02 MB / 0.5423 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.3231, allocations: 0.9084 MB / 0.5432 GB, free: 2.223 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.3233, allocations: 79.25 kB / 0.5433 GB, free: 2.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.3236, allocations: 203.3 kB / 0.5435 GB, free: 1.945 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3236, allocations: 0 / 0.5435 GB, free: 1.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.3583, allocations: 11.22 MB / 0.5545 GB, free: 6.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.826/9.185, allocations: 15.86 kB / 0.5545 GB, free: 6.844 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches