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.001114/0.001114, allocations: 113.2 kB / 17.78 MB, free: 5.254 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.001106/0.001106, allocations: 181 kB / 18.71 MB, free: 4.332 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.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.1908/0.1908, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 64.09 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2918, allocations: 60.84 MB / 0.5185 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002891/0.2948, allocations: 2.232 MB / 0.5207 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.2964, allocations: 1.193 MB / 0.5219 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.2965, allocations: 7.969 kB / 0.5219 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.2969, allocations: 132.1 kB / 0.522 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.2973, allocations: 196.9 kB / 0.5222 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.2979, allocations: 327.8 kB / 0.5225 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.2983, allocations: 427.4 kB / 0.5229 GB, free: 460 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2985, allocations: 49.25 kB / 0.523 GB, free: 440 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.2988, allocations: 324 kB / 0.5233 GB, free: 352 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.299, allocations: 154.7 kB / 0.5234 GB, free: 276 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.299, allocations: 16.06 kB / 0.5234 GB, free: 276 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.2992, allocations: 70.58 kB / 0.5235 GB, free: 260 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.2993, allocations: 144.9 kB / 0.5236 GB, free: 204 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2994, allocations: 206.5 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.3, allocations: 469 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3, allocations: 0 / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3, allocations: 0 / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.3, allocations: 0.8438 kB / 0.5243 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.0011/0.3011, allocations: 0.8871 MB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3012, allocations: 9.547 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.3012, allocations: 47.31 kB / 0.5252 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.3013, allocations: 73.97 kB / 0.5253 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.3019, allocations: 436.8 kB / 0.5257 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3019, allocations: 10.61 kB / 0.5257 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.3019, allocations: 28.16 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.3023, allocations: 187.2 kB / 0.5259 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.3023, allocations: 13.25 kB / 0.5259 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.3024, allocations: 6.594 kB / 0.5259 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3024, allocations: 4.125 kB / 0.5259 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.3026, allocations: 88.02 kB / 0.526 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008651/0.3035, allocations: 0.8322 MB / 0.5268 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/0.3041, allocations: 244.7 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.3043, allocations: 85.78 kB / 0.5271 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.3043, allocations: 7.422 kB / 0.5272 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003461/0.3047, allocations: 210.3 kB / 0.5274 GB, free: 13.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/0.3047, allocations: 0 / 0.5274 GB, free: 13.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002394/0.3071, allocations: 1.177 MB / 0.5285 GB, free: 12.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.3072, allocations: 133.6 kB / 0.5286 GB, free: 12.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009615/0.3081, allocations: 0.9271 MB / 0.5295 GB, free: 12.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.3082, allocations: 33.58 kB / 0.5296 GB, free: 12.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.3084, allocations: 262.6 kB / 0.5298 GB, free: 11.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.3085, allocations: 142.9 kB / 0.53 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3086, allocations: 91.45 kB / 0.53 GB, free: 11.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3088, allocations: 382.4 kB / 0.5304 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.309, allocations: 112 kB / 0.5305 GB, free: 11.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.3093, allocations: 180 kB / 0.5307 GB, free: 11.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.3098, allocations: 317.4 kB / 0.531 GB, free: 11.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3098, allocations: 0 / 0.531 GB, free: 11.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007345/0.3106, allocations: 456 kB / 0.5314 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3106, allocations: 5.375 kB / 0.5314 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3106, allocations: 5.312 kB / 0.5314 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3106, allocations: 4.188 kB / 0.5314 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.3109, allocations: 85.27 kB / 0.5315 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3109, allocations: 8.094 kB / 0.5315 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.3111, allocations: 19.03 kB / 0.5315 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.3111, allocations: 25.11 kB / 0.5316 GB, free: 10.74 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.0002718/0.3114, allocations: 257.1 kB / 0.5318 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3115, allocations: 72 kB / 0.5319 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.3117, allocations: 90.23 kB / 0.532 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/0.3117, allocations: 5.406 kB / 0.532 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.3117, allocations: 5.125 kB / 0.532 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3117, allocations: 1.031 kB / 0.532 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.3137, allocations: 1.326 MB / 0.5333 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3137, allocations: 6.344 kB / 0.5333 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.3139, allocations: 67.44 kB / 0.5333 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.3139, allocations: 4.75 kB / 0.5333 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.3139, allocations: 16.48 kB / 0.5334 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.3139, allocations: 4.75 kB / 0.5334 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.3139, allocations: 7.188 kB / 0.5334 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009618/0.3149, allocations: 0.7859 MB / 0.5341 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.3151, allocations: 179.5 kB / 0.5343 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/0.3152, allocations: 18.7 kB / 0.5343 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.3155, allocations: 21.11 kB / 0.5344 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.3156, allocations: 37.41 kB / 0.5344 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.3156, allocations: 25.67 kB / 0.5344 GB, free: 8.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006681/0.3163, allocations: 0.6807 MB / 0.5351 GB, free: 8.238 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3163, allocations: 0 / 0.5351 GB, free: 8.238 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005094/0.3168, allocations: 84.06 kB / 0.5352 GB, free: 8.223 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.002147/0.319, allocations: 1.764 MB / 0.5369 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005939/0.3196, allocations: 317.5 kB / 0.5372 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3196, allocations: 0 / 0.5372 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.3199, allocations: 163.2 kB / 0.5373 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009577/0.3208, allocations: 132.5 kB / 0.5375 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005718/0.3266, allocations: 5.029 MB / 0.5424 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.327, allocations: 0.9082 MB / 0.5433 GB, free: 2.223 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002052/0.3272, allocations: 83.22 kB / 0.5433 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.3275, allocations: 199.4 kB / 0.5435 GB, free: 1.945 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3275, allocations: 0 / 0.5435 GB, free: 1.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.3546, allocations: 11.22 MB / 0.5545 GB, free: 6.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.419, allocations: 7.984 kB / 0.5545 GB, free: 6.84 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