Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001403/0.001403, allocations: 106.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001896/0.001896, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 246.3 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.11 MB / 343.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 75.56 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1242, allocations: 62.44 MB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003073/0.1273, allocations: 1.75 MB / 481.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.1289, allocations: 0.9901 MB / 482.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.129, allocations: 4 kB / 482.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.1293, allocations: 55.8 kB / 482.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.1296, allocations: 87.67 kB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.1299, allocations: 63.86 kB / 482.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.13, allocations: 95.64 kB / 482.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.1301, allocations: 8.234 kB / 482.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.638e-05/0.1302, allocations: 43.78 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/0.1303, allocations: 31.84 kB / 482.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.1303, allocations: 7.938 kB / 482.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.1304, allocations: 27.98 kB / 482.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.1305, allocations: 27.86 kB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.1305, allocations: 39.67 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.1307, allocations: 119.8 kB / 482.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1307, allocations: 0 / 482.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1308, allocations: 4 kB / 482.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1308, allocations: 0 / 482.7 MB, free: 2.23 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.0006128/0.1314, allocations: 438.7 kB / 483.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1314, allocations: 8.875 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.1315, allocations: 38.73 kB / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.1315, allocations: 16.83 kB / 483.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1318, allocations: 220.8 kB / 483.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1318, allocations: 384 / 483.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1318, allocations: 7.875 kB / 483.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.132, allocations: 53.69 kB / 483.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.132, allocations: 3.984 kB / 483.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.132, allocations: 0 / 483.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.132, allocations: 0 / 483.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.1321, allocations: 12 kB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.1323, allocations: 197.7 kB / 483.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1324, allocations: 62.48 kB / 483.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.1325, allocations: 16.86 kB / 483.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.1325, allocations: 0 / 483.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.1327, allocations: 63.39 kB / 483.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.1327, allocations: 0 / 483.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002922/0.133, allocations: 105.4 kB / 484 MB, free: 0.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.1331, allocations: 55.41 kB / 484 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.1333, allocations: 271 kB / 484.3 MB, free: 500 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1333, allocations: 25.7 kB / 484.3 MB, free: 468 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.1334, allocations: 112.1 kB / 484.4 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1334, allocations: 7.906 kB / 484.4 MB, free: 344 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.1335, allocations: 25.7 kB / 484.4 MB, free: 312 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1336, allocations: 322.8 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-05/0.1337, allocations: 12.25 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.631e-05/0.1338, allocations: 33.7 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.554e-05/0.1339, allocations: 57.58 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1339, allocations: 3.938 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001534/0.134, allocations: 81.5 kB / 484.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1341, allocations: 4 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1341, allocations: 0 / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1341, allocations: 0 / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.1342, allocations: 23.95 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1342, allocations: 0 / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.1342, allocations: 7.844 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1342, allocations: 4 kB / 485 MB, free: 15.74 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 0.0001135/0.1344, allocations: 140.7 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.1344, allocations: 7.906 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.1344, allocations: 20.98 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1344, allocations: 0 / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1345, allocations: 3.938 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1345, allocations: 8 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.1346, allocations: 201.5 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1347, allocations: 0 / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.1347, allocations: 4 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1347, allocations: 0 / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1347, allocations: 3.984 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1347, allocations: 0 / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1347, allocations: 4 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.1349, allocations: 128.8 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.135, allocations: 85.02 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.135, allocations: 0 / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.775e-05/0.135, allocations: 4 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.1351, allocations: 3.984 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1351, allocations: 4 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.1353, allocations: 204.4 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1353, allocations: 0 / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002054/0.1355, allocations: 19.98 kB / 485.8 MB, free: 14.82 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.001301/0.1368, allocations: 0.958 MB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.1369, allocations: 39.98 kB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.137, allocations: 0 / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.087e-05/0.137, allocations: 19.94 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.1373, allocations: 32.03 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.139, allocations: 1.68 MB / 488.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1393, allocations: 0.716 MB / 489.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.1394, allocations: 16.53 kB / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.1394, allocations: 43.42 kB / 489.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1394, allocations: 0 / 489.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.1536, allocations: 3.233 MB / 492.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003226/0.154, allocations: 240.8 kB / 492.8 MB, free: 7.918 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.026, allocations: 3.625 kB / 492.8 MB, free: 7.918 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches