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.001103/0.001103, 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.001167/0.001168, 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.357/1.357, 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.21/0.21, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 72.38 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1233, allocations: 62.45 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003269/0.1266, allocations: 1.681 MB / 481.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1283, allocations: 1.013 MB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.1284, allocations: 0 / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.1287, allocations: 55.73 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.1291, allocations: 99.59 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.1293, allocations: 71.67 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1295, allocations: 103.7 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.1295, allocations: 8.234 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.598e-05/0.1296, allocations: 47.78 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1297, allocations: 39.83 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1298, allocations: 4 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1299, allocations: 35.94 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.1299, allocations: 19.91 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.13, allocations: 35.73 kB / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1302, allocations: 95.98 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1302, allocations: 0 / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1302, allocations: 7.938 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1302, allocations: 0 / 483.4 MB, free: 1.836 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005953/0.1308, allocations: 407 kB / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1309, allocations: 12.03 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.1309, allocations: 30.75 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.131, allocations: 12.75 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1312, allocations: 208.1 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1313, allocations: 384 / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.1313, allocations: 3.938 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1314, allocations: 53.67 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1314, allocations: 0 / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1315, allocations: 3.984 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1315, allocations: 0 / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.273e-05/0.1315, allocations: 15.98 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.1317, allocations: 181.6 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1319, allocations: 58.5 kB / 484.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.132, allocations: 20.84 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.132, allocations: 4 kB / 484.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.1322, allocations: 63.39 kB / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.1323, allocations: 0 / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002981/0.1326, allocations: 93.52 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1326, allocations: 59.41 kB / 484.6 MB, free: 452 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.1328, allocations: 187.3 kB / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1328, allocations: 25.7 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.1329, allocations: 104.1 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.1329, allocations: 15.8 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.133, allocations: 17.72 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1331, allocations: 322.8 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.1332, allocations: 15.98 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.1332, allocations: 29.72 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.773e-05/0.1333, allocations: 45.64 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1334, allocations: 3.938 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001613/0.1335, allocations: 77.91 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1335, allocations: 7.984 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1336, allocations: 4 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1336, allocations: 4.031 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.1337, allocations: 19.94 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1337, allocations: 0 / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.1337, allocations: 3.906 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1337, allocations: 4 kB / 485.5 MB, free: 15.52 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 (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 9.929e-05/0.1338, allocations: 125.8 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.1339, allocations: 7.906 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.1339, allocations: 16.98 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1339, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1339, allocations: 7.938 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1339, allocations: 4 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.1341, allocations: 181.6 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1341, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.1341, allocations: 4 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1341, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1341, allocations: 7.984 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1341, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1341, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.1343, allocations: 112.9 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.1344, allocations: 96.84 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.1344, allocations: 0 / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.471e-05/0.1345, allocations: 0 / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.1345, allocations: 7.984 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1345, allocations: 3.938 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.1346, allocations: 140 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1346, allocations: 0 / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.1349, allocations: 12 kB / 486.2 MB, free: 14.71 MB / 366.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.001269/0.1361, allocations: 0.9454 MB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.1363, allocations: 47.97 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1363, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.182e-05/0.1364, allocations: 20 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.1367, allocations: 37.91 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.1382, allocations: 1.466 MB / 488.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1385, allocations: 0.7041 MB / 489.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.581e-05/0.1386, allocations: 12.53 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.1386, allocations: 35.36 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1386, allocations: 0 / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.1584, allocations: 3.006 MB / 492.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.365, allocations: 7.922 kB / 492.5 MB, free: 8.496 MB / 366.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