Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.001429, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2655/0.2655, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 81.16 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1325, allocations: 62.45 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003443/0.1359, allocations: 1.724 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1376, allocations: 1.017 MB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.1377, allocations: 0 / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.138, allocations: 39.77 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.1384, allocations: 95.59 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1386, allocations: 75.69 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1388, allocations: 107.7 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.139, allocations: 8 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.783e-05/0.1391, allocations: 35.8 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.338e-05/0.1392, allocations: 47.7 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1392, allocations: 4 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1393, allocations: 43.98 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.1394, allocations: 15.94 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.009e-05/0.1395, allocations: 35.78 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1397, allocations: 111.9 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1397, allocations: 0 / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1397, allocations: 0 / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1397, allocations: 0 / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005449/0.1403, allocations: 414.9 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1403, allocations: 15.97 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/0.1404, allocations: 34.75 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.1404, allocations: 12.84 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1407, allocations: 200.2 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1407, allocations: 384 / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.1407, allocations: 11.94 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1409, allocations: 53.66 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1409, allocations: 0 / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.141, allocations: 4 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.141, allocations: 0 / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.338e-05/0.1411, allocations: 23.92 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.1414, allocations: 296.7 kB / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1416, allocations: 54.67 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.1417, allocations: 16.86 kB / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1417, allocations: 4 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.1419, allocations: 71.33 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1419, allocations: 0 / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005538/0.1425, allocations: 177.2 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.1426, allocations: 51.41 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1427, allocations: 178.1 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.1428, allocations: 25.7 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.1428, allocations: 96.14 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1429, allocations: 31.64 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.1429, allocations: 21.72 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.143, allocations: 322.8 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.1431, allocations: 19.98 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.1432, allocations: 37.7 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1433, allocations: 61.64 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1433, allocations: 4 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001918/0.1435, allocations: 97.52 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1435, allocations: 8 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1435, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1436, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.1437, allocations: 19.98 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1437, allocations: 7.938 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.1437, allocations: 4.125 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1437, allocations: 4 kB / 485.8 MB, free: 15.22 MB / 366.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 (10): * Single equations (assignments): 10 * 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.0001101/0.1439, allocations: 133.8 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1439, allocations: 11.81 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.144, allocations: 12.72 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.144, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.144, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.144, allocations: 7.938 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.1444, allocations: 387.3 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1445, allocations: 4.031 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.1445, allocations: 15.94 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1445, allocations: 3.938 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1445, allocations: 4 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1445, allocations: 0 / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1445, allocations: 0 / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.1448, allocations: 204.5 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.1449, allocations: 89 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.1449, allocations: 3.938 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.145, allocations: 4.375 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.145, allocations: 7.984 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.145, allocations: 11.94 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1452, allocations: 127.2 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1452, allocations: 0 / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1454, allocations: 24 kB / 486.8 MB, free: 14.08 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001465/0.1469, allocations: 1.104 MB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.1471, allocations: 55.91 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1471, allocations: 0 / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.75e-05/0.1472, allocations: 31.94 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1476, allocations: 34.47 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1495, allocations: 1.59 MB / 489.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.1498, allocations: 0.7041 MB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.1498, allocations: 13.19 kB / 490.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.1499, allocations: 35.42 kB / 490.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1499, allocations: 3.938 kB / 490.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.1744, allocations: 3.248 MB / 493.7 MB, free: 7.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.096, allocations: 16.06 kB / 493.7 MB, free: 7.34 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches