Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, 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.001321/0.001321, 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.399/1.399, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 79.2 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1274, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003749/0.1312, allocations: 1.739 MB / 481.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1331, allocations: 1.013 MB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1332, allocations: 7.938 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.1336, allocations: 43.75 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.1341, allocations: 95.59 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.1343, allocations: 75.69 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.1346, allocations: 107.7 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1347, allocations: 8 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.1348, allocations: 39.8 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.994e-05/0.1349, allocations: 35.78 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1349, allocations: 4 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.135, allocations: 51.92 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.1351, allocations: 19.92 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.1351, allocations: 39.72 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1354, allocations: 115.9 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1354, allocations: 0 / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1354, allocations: 0 / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1354, allocations: 0 / 483.5 MB, free: 1.77 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.00053/0.136, allocations: 414.9 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.136, allocations: 8.031 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.136, allocations: 38.75 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.1361, allocations: 8.844 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1363, allocations: 216.7 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1363, allocations: 384 / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.1364, allocations: 7.938 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1365, allocations: 53.67 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1365, allocations: 3.906 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1366, allocations: 0 / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1366, allocations: 0 / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.1366, allocations: 19.98 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.137, allocations: 300.8 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1372, allocations: 50.69 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.1373, allocations: 24.84 kB / 484.6 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1373, allocations: 0 / 484.6 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.1375, allocations: 71.33 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1375, allocations: 0 / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005546/0.1381, allocations: 173.3 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.1381, allocations: 59.34 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1383, allocations: 202.2 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1383, allocations: 33.7 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.1384, allocations: 104.1 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1384, allocations: 19.72 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.1385, allocations: 25.7 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1386, allocations: 318.8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.1387, allocations: 20 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.235e-05/0.1388, allocations: 37.7 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1389, allocations: 69.62 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1389, allocations: 384 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.1391, allocations: 101.5 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1391, allocations: 4 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1391, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1391, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.1392, allocations: 23.94 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1392, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.1393, allocations: 11.92 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1393, allocations: 8.016 kB / 485.9 MB, free: 15.14 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.0001013/0.1394, allocations: 121.8 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1395, allocations: 15.84 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.1395, allocations: 21.39 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1395, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1395, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1395, allocations: 7.938 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.14, allocations: 395.2 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.14, allocations: 7.984 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.14, allocations: 4 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.14, allocations: 7.938 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1401, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1401, allocations: 4.172 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1401, allocations: 4 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1403, allocations: 204.3 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.1404, allocations: 88.91 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.1404, allocations: 7.938 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.1405, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.1405, allocations: 11.98 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1405, allocations: 4.188 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1406, allocations: 148.2 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1407, allocations: 3.938 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1409, allocations: 20 kB / 486.9 MB, free: 13.98 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.001442/0.1424, allocations: 1.095 MB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.1426, allocations: 67.84 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1426, allocations: 0 / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.1427, allocations: 31.92 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1431, allocations: 26.52 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.1448, allocations: 1.644 MB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1451, allocations: 0.708 MB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.073e-05/0.1452, allocations: 16.86 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.1452, allocations: 35.42 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1453, allocations: 0 / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.1646, allocations: 3.384 MB / 494 MB, free: 7.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.918/9.083, allocations: 15.8 kB / 494 MB, free: 7.062 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_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_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches