Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001037/0.001037, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2042/0.2042, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 79.83 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2807, allocations: 62.42 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003296/0.2841, allocations: 2.29 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.2862, allocations: 1.313 MB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.2864, allocations: 8.062 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.2867, allocations: 134.2 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005231/0.2873, allocations: 263.8 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.2877, allocations: 191.5 kB / 0.5347 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000459/0.2882, allocations: 458.1 kB / 0.5351 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.2883, allocations: 63.75 kB / 0.5352 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.2887, allocations: 328.5 kB / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.2889, allocations: 164.5 kB / 0.5357 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.2889, allocations: 16.72 kB / 0.5357 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.2891, allocations: 75.61 kB / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.2892, allocations: 153.1 kB / 0.5359 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.2894, allocations: 205.5 kB / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.2899, allocations: 489.5 kB / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2899, allocations: 0 / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2899, allocations: 0 / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.29, allocations: 0 / 0.5366 GB, free: 9.023 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.001097/0.2911, allocations: 0.9115 MB / 0.5375 GB, free: 8.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2911, allocations: 13.56 kB / 0.5375 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.2912, allocations: 46.98 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/0.2913, allocations: 72.38 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.2918, allocations: 450.2 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.2918, allocations: 7.5 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.017e-05/0.2919, allocations: 33.25 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.2922, allocations: 188.8 kB / 0.5382 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.2923, allocations: 5.125 kB / 0.5382 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.2923, allocations: 10.45 kB / 0.5382 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2923, allocations: 3.469 kB / 0.5382 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.2926, allocations: 92.8 kB / 0.5383 GB, free: 7.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/0.2934, allocations: 0.8244 MB / 0.5391 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.294, allocations: 248.5 kB / 0.5394 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.2942, allocations: 94.2 kB / 0.5395 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.2943, allocations: 4.094 kB / 0.5395 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/0.2946, allocations: 214.3 kB / 0.5397 GB, free: 6.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.813e-06/0.2946, allocations: 0 / 0.5397 GB, free: 6.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002429/0.2971, allocations: 1.198 MB / 0.5408 GB, free: 5.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.2972, allocations: 140.9 kB / 0.541 GB, free: 5.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.2982, allocations: 0.9651 MB / 0.5419 GB, free: 5.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.2982, allocations: 38.08 kB / 0.542 GB, free: 4.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.2984, allocations: 262.2 kB / 0.5422 GB, free: 4.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.2985, allocations: 154.6 kB / 0.5424 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.2987, allocations: 75.72 kB / 0.5424 GB, free: 4.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2988, allocations: 330.5 kB / 0.5427 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.299, allocations: 111 kB / 0.5428 GB, free: 4.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.2993, allocations: 183.6 kB / 0.543 GB, free: 4.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.2998, allocations: 313.3 kB / 0.5433 GB, free: 3.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2998, allocations: 4 kB / 0.5433 GB, free: 3.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007524/0.3006, allocations: 448.7 kB / 0.5438 GB, free: 3.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3006, allocations: 8.656 kB / 0.5438 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3006, allocations: 2.312 kB / 0.5438 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3006, allocations: 7.812 kB / 0.5438 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.3009, allocations: 79.94 kB / 0.5438 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.3009, allocations: 16.17 kB / 0.5439 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.3011, allocations: 19.75 kB / 0.5439 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.3011, allocations: 21.95 kB / 0.5439 GB, free: 3.598 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.00026/0.3014, allocations: 256.9 kB / 0.5441 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/0.3015, allocations: 78.36 kB / 0.5442 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.3016, allocations: 95.55 kB / 0.5443 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3017, allocations: 7.344 kB / 0.5443 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3017, allocations: 3.938 kB / 0.5443 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3017, allocations: 0 / 0.5443 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.3033, allocations: 1.346 MB / 0.5456 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3033, allocations: 4 kB / 0.5456 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.3035, allocations: 59.91 kB / 0.5457 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.3035, allocations: 4 kB / 0.5457 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.3035, allocations: 15.98 kB / 0.5457 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.3035, allocations: 4 kB / 0.5457 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3035, allocations: 7.938 kB / 0.5457 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008315/0.3044, allocations: 0.8019 MB / 0.5465 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.3045, allocations: 184.5 kB / 0.5467 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/0.3046, allocations: 16 kB / 0.5467 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.3049, allocations: 15.98 kB / 0.5467 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.305, allocations: 51.83 kB / 0.5468 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.305, allocations: 16 kB / 0.5468 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007098/0.3058, allocations: 0.7061 MB / 0.5475 GB, free: 15.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3058, allocations: 0 / 0.5475 GB, free: 15.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.3063, allocations: 91.92 kB / 0.5476 GB, free: 15.85 MB / 414.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.00214/0.3084, allocations: 1.768 MB / 0.5493 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005864/0.309, allocations: 315.6 kB / 0.5496 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3091, allocations: 256 / 0.5496 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.3094, allocations: 172.2 kB / 0.5498 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.3103, allocations: 131.7 kB / 0.5499 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00588/0.3162, allocations: 5.131 MB / 0.5549 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.3167, allocations: 0.9129 MB / 0.5558 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001921/0.3169, allocations: 79.3 kB / 0.5559 GB, free: 7.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.3171, allocations: 211.3 kB / 0.5561 GB, free: 7.078 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3171, allocations: 0 / 0.5561 GB, free: 7.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.3463, allocations: 11.5 MB / 0.5673 GB, free: 11.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.452, allocations: 8.047 kB / 0.5673 GB, free: 11.68 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches