Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, 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.002026/0.002026, 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.42/1.42, 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.2013/0.2013, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 87.86 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2779, allocations: 62.43 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003515/0.2815, allocations: 1.975 MB / 0.5325 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.2835, allocations: 1.176 MB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.2836, allocations: 13.25 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.2843, allocations: 202.4 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.2848, allocations: 206.5 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.2853, allocations: 155.4 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.2856, allocations: 277.6 kB / 0.5345 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2858, allocations: 21.64 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.286, allocations: 121.1 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.2861, allocations: 102.3 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.2862, allocations: 10.81 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.2863, allocations: 68.11 kB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/0.2864, allocations: 54.98 kB / 0.5348 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2865, allocations: 86.16 kB / 0.5349 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.2869, allocations: 244.2 kB / 0.5352 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2869, allocations: 3.938 kB / 0.5352 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2869, allocations: 1.375 kB / 0.5352 GB, free: 9.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2869, allocations: 0 / 0.5352 GB, free: 9.969 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008001/0.2877, allocations: 0.5614 MB / 0.5357 GB, free: 9.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2878, allocations: 8.25 kB / 0.5357 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.2878, allocations: 45.48 kB / 0.5358 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.656e-05/0.2879, allocations: 23.8 kB / 0.5358 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.2883, allocations: 304.3 kB / 0.5361 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2883, allocations: 2.625 kB / 0.5361 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.2883, allocations: 12.19 kB / 0.5361 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.2885, allocations: 99.03 kB / 0.5362 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2886, allocations: 0 / 0.5362 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.2886, allocations: 9.156 kB / 0.5362 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2886, allocations: 1.062 kB / 0.5362 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.2887, allocations: 40.94 kB / 0.5362 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.2892, allocations: 380.5 kB / 0.5366 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.2895, allocations: 119 kB / 0.5367 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.2896, allocations: 40.36 kB / 0.5367 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.2897, allocations: 1.188 kB / 0.5367 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.2899, allocations: 122.1 kB / 0.5369 GB, free: 8.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.562e-06/0.2899, allocations: 1.281 kB / 0.5369 GB, free: 8.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004639/0.2904, allocations: 176.7 kB / 0.537 GB, free: 8.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.2904, allocations: 104.9 kB / 0.5371 GB, free: 8.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.2908, allocations: 354.8 kB / 0.5375 GB, free: 7.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2909, allocations: 30.83 kB / 0.5375 GB, free: 7.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.2909, allocations: 143.6 kB / 0.5376 GB, free: 7.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.291, allocations: 33.56 kB / 0.5377 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.2911, allocations: 35.73 kB / 0.5377 GB, free: 7.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2912, allocations: 342.5 kB / 0.538 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/0.2913, allocations: 36.58 kB / 0.5381 GB, free: 7.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.2914, allocations: 80.03 kB / 0.5381 GB, free: 7.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.2916, allocations: 92.98 kB / 0.5382 GB, free: 7.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2916, allocations: 1.812 kB / 0.5382 GB, free: 7.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003105/0.2919, allocations: 152.2 kB / 0.5384 GB, free: 7.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.292, allocations: 6.344 kB / 0.5384 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.292, allocations: 5.438 kB / 0.5384 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.292, allocations: 1.406 kB / 0.5384 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.2921, allocations: 25.14 kB / 0.5384 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2921, allocations: 2.312 kB / 0.5384 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.966e-05/0.2922, allocations: 21.66 kB / 0.5384 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.2922, allocations: 4.344 kB / 0.5384 GB, free: 7.059 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001357/0.2924, allocations: 159.4 kB / 0.5386 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.2924, allocations: 28.12 kB / 0.5386 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.2925, allocations: 31.83 kB / 0.5386 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2925, allocations: 6.516 kB / 0.5387 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2925, allocations: 0 / 0.5387 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2925, allocations: 5.375 kB / 0.5387 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.2927, allocations: 248.5 kB / 0.5389 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2927, allocations: 0 / 0.5389 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.2928, allocations: 6.875 kB / 0.5389 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2928, allocations: 1.219 kB / 0.5389 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.2928, allocations: 10.86 kB / 0.5389 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2928, allocations: 0 / 0.5389 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2928, allocations: 1.344 kB / 0.5389 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.2932, allocations: 191 kB / 0.5391 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.2932, allocations: 102.9 kB / 0.5392 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.2933, allocations: 7.094 kB / 0.5392 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.2934, allocations: 3.188 kB / 0.5392 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.2934, allocations: 13.02 kB / 0.5392 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.2934, allocations: 17.47 kB / 0.5392 GB, free: 6.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002636/0.2937, allocations: 256.7 kB / 0.5395 GB, free: 6.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2937, allocations: 0 / 0.5395 GB, free: 6.172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.294, allocations: 42.08 kB / 0.5395 GB, free: 6.16 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001389/0.2954, allocations: 1.025 MB / 0.5405 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.2957, allocations: 88.06 kB / 0.5406 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2957, allocations: 0.7812 kB / 0.5406 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.2958, allocations: 54.72 kB / 0.5407 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.2962, allocations: 75.47 kB / 0.5407 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.2989, allocations: 2.338 MB / 0.543 GB, free: 3.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.2992, allocations: 0.7532 MB / 0.5437 GB, free: 2.766 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.2994, allocations: 37.09 kB / 0.5438 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.2995, allocations: 70.06 kB / 0.5438 GB, free: 2.699 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2995, allocations: 4 kB / 0.5439 GB, free: 2.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.3222, allocations: 5.778 MB / 0.5495 GB, free: 14.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.068, allocations: 7.328 kB / 0.5495 GB, free: 14.07 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches