Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001649/0.001649, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.246/0.246, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 83.61 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1219, allocations: 62.45 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004856/0.1268, allocations: 1.724 MB / 481.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.1286, allocations: 1.013 MB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1288, allocations: 7.938 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.1291, allocations: 47.81 kB / 482.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005048/0.1297, allocations: 95.53 kB / 483 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.1301, allocations: 75.67 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.1304, allocations: 103.7 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1305, allocations: 12 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.1307, allocations: 43.78 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1308, allocations: 31.78 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1308, allocations: 8 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.131, allocations: 43.98 kB / 483.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.022e-05/0.1311, allocations: 23.86 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.386e-05/0.1312, allocations: 35.73 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.1315, allocations: 115.9 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.1316, allocations: 4 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1316, allocations: 0 / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1316, allocations: 0 / 483.5 MB, free: 1.758 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.0007634/0.1324, allocations: 410.9 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.1324, allocations: 16.03 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.1325, allocations: 30.75 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.1325, allocations: 8.844 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.1329, allocations: 216.7 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1329, allocations: 8.312 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1329, allocations: 3.938 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1331, allocations: 53.67 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1331, allocations: 3.906 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1332, allocations: 3.984 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1332, allocations: 7.938 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/0.1333, allocations: 16 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.1338, allocations: 292.9 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.134, allocations: 54.62 kB / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.134, allocations: 20.84 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1341, allocations: 4 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.1343, allocations: 67.39 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.1343, allocations: 0 / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006487/0.135, allocations: 181.2 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.1351, allocations: 51.41 kB / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1353, allocations: 202.3 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1353, allocations: 29.7 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.1354, allocations: 108.1 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.1354, allocations: 23.62 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.1355, allocations: 25.7 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1356, allocations: 326.8 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.1357, allocations: 15.98 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-05/0.1358, allocations: 33.72 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1359, allocations: 61.7 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1359, allocations: 0 / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002007/0.1361, allocations: 109.5 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1361, allocations: 4 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1361, allocations: 0 / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1362, allocations: 7.984 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.335e-05/0.1363, allocations: 15.94 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1363, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.1363, allocations: 19.95 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1363, allocations: 0 / 485.9 MB, free: 15.13 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.0001072/0.1365, allocations: 121.8 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.1365, allocations: 11.91 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.1365, allocations: 17.39 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1366, allocations: 7.938 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1366, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1366, allocations: 3.938 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.137, allocations: 403.2 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.137, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.1371, allocations: 8.188 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1371, allocations: 3.938 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1371, allocations: 3.938 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1371, allocations: 4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1371, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1374, allocations: 204.3 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.1374, allocations: 92.91 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.1375, allocations: 3.938 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.175e-05/0.1375, allocations: 4.375 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.1376, allocations: 11.98 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.1376, allocations: 4 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1377, allocations: 148.2 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1378, allocations: 4 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.138, allocations: 24 kB / 487 MB, free: 13.96 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.001741/0.1398, allocations: 1.095 MB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.14, allocations: 59.92 kB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.14, allocations: 0 / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.556e-05/0.1401, allocations: 32.12 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1404, allocations: 26.98 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.1423, allocations: 1.654 MB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.1428, allocations: 0.708 MB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.441e-05/0.1428, allocations: 8.891 kB / 490.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.1429, allocations: 35.42 kB / 490.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1429, allocations: 0 / 490.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.1647, allocations: 3.383 MB / 494 MB, free: 7.062 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/8.457, allocations: 19.92 kB / 494 MB, free: 7.043 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_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_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches