Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 202 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.373/1.373, 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.2057/0.2057, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 71.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2862, allocations: 62.44 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002685/0.2889, allocations: 1.693 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.2904, allocations: 0.9976 MB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.2905, allocations: 1.031 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.2908, allocations: 53.94 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.2911, allocations: 106.4 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.2912, allocations: 74.48 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.2914, allocations: 101.9 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.2915, allocations: 4.734 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.2916, allocations: 55.02 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.216e-05/0.2916, allocations: 36.5 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.2917, allocations: 3.969 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.383e-05/0.2917, allocations: 32.72 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.2918, allocations: 17.88 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.2919, allocations: 34.73 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.292, allocations: 104.1 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.292, allocations: 0 / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2921, allocations: 3.938 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2921, allocations: 1.875 kB / 0.5338 GB, free: 10.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004657/0.2925, allocations: 408.4 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2926, allocations: 9.594 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.2926, allocations: 36.75 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.2926, allocations: 8.609 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.2929, allocations: 219 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2929, allocations: 1.844 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.2929, allocations: 5.594 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.2931, allocations: 50.77 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.2931, allocations: 5.438 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.2931, allocations: 0 / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.2931, allocations: 0 / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.48e-05/0.2932, allocations: 16.05 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.2933, allocations: 191.5 kB / 0.5347 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.2935, allocations: 54.88 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.2936, allocations: 20.09 kB / 0.5348 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.2936, allocations: 1.188 kB / 0.5348 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.2937, allocations: 76.67 kB / 0.5349 GB, free: 9.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.2938, allocations: 0 / 0.5349 GB, free: 9.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002556/0.294, allocations: 92.16 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.2941, allocations: 51.41 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.2942, allocations: 186.2 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2942, allocations: 29.7 kB / 0.5352 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.2943, allocations: 100.2 kB / 0.5353 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.2943, allocations: 10.7 kB / 0.5353 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.2944, allocations: 23.22 kB / 0.5353 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2945, allocations: 325.6 kB / 0.5357 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.2945, allocations: 20.17 kB / 0.5357 GB, free: 9.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.278e-05/0.2946, allocations: 27.33 kB / 0.5357 GB, free: 9.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.903e-05/0.2947, allocations: 39.59 kB / 0.5357 GB, free: 8.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2947, allocations: 3.938 kB / 0.5357 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001507/0.2949, allocations: 91.77 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2949, allocations: 5.5 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2949, allocations: 0 / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2949, allocations: 1.375 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/0.295, allocations: 8.25 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.295, allocations: 1.375 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.295, allocations: 6.734 kB / 0.5359 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.2951, allocations: 1.375 kB / 0.5359 GB, free: 8.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.894e-05/0.2951, allocations: 130 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.2952, allocations: 12.08 kB / 0.536 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.2952, allocations: 17.11 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2952, allocations: 1.375 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2952, allocations: 0 / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2952, allocations: 1.375 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.2954, allocations: 183.3 kB / 0.5362 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2954, allocations: 1.375 kB / 0.5362 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.2954, allocations: 11.05 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2954, allocations: 1.375 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.2954, allocations: 4 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2954, allocations: 9.312 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2954, allocations: 0 / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.2956, allocations: 106 kB / 0.5363 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.2957, allocations: 91.73 kB / 0.5364 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.2957, allocations: 4 kB / 0.5364 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.702e-05/0.2957, allocations: 6.688 kB / 0.5364 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.2958, allocations: 9.297 kB / 0.5364 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2958, allocations: 6.75 kB / 0.5364 GB, free: 8.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.96e-05/0.2959, allocations: 135.3 kB / 0.5366 GB, free: 8.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2959, allocations: 0 / 0.5366 GB, free: 8.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.2961, allocations: 20.86 kB / 0.5366 GB, free: 8.203 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001188/0.2973, allocations: 0.9418 MB / 0.5375 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.2975, allocations: 39.52 kB / 0.5375 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2975, allocations: 0 / 0.5375 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.282e-05/0.2976, allocations: 24.3 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.2978, allocations: 31.58 kB / 0.5376 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.2992, allocations: 1.474 MB / 0.539 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.2994, allocations: 0.7016 MB / 0.5397 GB, free: 5.391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.2995, allocations: 17.25 kB / 0.5397 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.2996, allocations: 29.45 kB / 0.5398 GB, free: 5.359 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2996, allocations: 0 / 0.5398 GB, free: 5.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.3169, allocations: 3.076 MB / 0.5428 GB, free: 3.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/7.789, allocations: 18.11 kB / 0.5428 GB, free: 3.664 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches