Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2129/0.2129, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 73.33 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1315, allocations: 62.45 MB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003109/0.1347, allocations: 1.75 MB / 481.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1364, allocations: 0.9978 MB / 482.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.1365, allocations: 4 kB / 482.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.1368, allocations: 51.8 kB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.137, allocations: 83.73 kB / 482.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.1372, allocations: 59.88 kB / 482.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1374, allocations: 99.62 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.1374, allocations: 12.22 kB / 482.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-05/0.1375, allocations: 39.8 kB / 482.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.802e-05/0.1376, allocations: 23.86 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1376, allocations: 0 / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1378, allocations: 43.91 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.1378, allocations: 35.78 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.1379, allocations: 39.69 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1381, allocations: 119.8 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1381, allocations: 0 / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1381, allocations: 0 / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1381, allocations: 0 / 482.7 MB, free: 2.25 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.0005987/0.1387, allocations: 434.7 kB / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1388, allocations: 8.875 kB / 483.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.1388, allocations: 34.73 kB / 483.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.1389, allocations: 12.84 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1392, allocations: 232.8 kB / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1392, allocations: 384 / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.1392, allocations: 3.938 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1393, allocations: 49.67 kB / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1394, allocations: 0 / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1394, allocations: 0 / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1394, allocations: 0 / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.1395, allocations: 15.98 kB / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.1397, allocations: 189.7 kB / 483.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1399, allocations: 62.48 kB / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.1399, allocations: 20.8 kB / 483.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.14, allocations: 0 / 483.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.1402, allocations: 67.38 kB / 483.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 4.218e-06/0.1402, allocations: 7.984 kB / 483.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003261/0.1405, allocations: 105.4 kB / 484 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.1406, allocations: 51.41 kB / 484 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.1409, allocations: 271 kB / 484.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1409, allocations: 25.7 kB / 484.3 MB, free: 492 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.141, allocations: 116.1 kB / 484.4 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.141, allocations: 3.906 kB / 484.4 MB, free: 368 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.1411, allocations: 25.69 kB / 484.4 MB, free: 336 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1413, allocations: 334.8 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.1413, allocations: 15.98 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.1414, allocations: 21.72 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1415, allocations: 49.64 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.1415, allocations: 3.938 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001948/0.1417, allocations: 81.53 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1418, allocations: 8 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.1418, allocations: 0 / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1418, allocations: 3.984 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.822e-05/0.1419, allocations: 11.94 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1419, allocations: 7.938 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1419, allocations: 11.84 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.142, allocations: 4 kB / 485 MB, free: 15.76 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.000128/0.1421, allocations: 133.8 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.1421, allocations: 11.91 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.1422, allocations: 20.98 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1422, allocations: 0 / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1422, allocations: 0 / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1422, allocations: 0 / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.1424, allocations: 205.5 kB / 485.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1424, allocations: 0 / 485.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.1424, allocations: 7.984 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1424, allocations: 0 / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.1424, allocations: 320 / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1424, allocations: 4 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1424, allocations: 7.938 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.1426, allocations: 120.8 kB / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.1427, allocations: 85.02 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.1427, allocations: 0 / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.904e-05/0.1428, allocations: 8 kB / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.1428, allocations: 3.984 kB / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1428, allocations: 4 kB / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.143, allocations: 204.4 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.143, allocations: 0 / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.1432, allocations: 23.98 kB / 485.8 MB, free: 14.84 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.001369/0.1446, allocations: 0.9478 MB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.1448, allocations: 39.98 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1448, allocations: 0 / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.268e-05/0.1449, allocations: 27.92 kB / 486.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.1451, allocations: 19.98 kB / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1471, allocations: 1.69 MB / 488.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1474, allocations: 0.716 MB / 489.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.46e-05/0.1475, allocations: 16.53 kB / 489.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.1476, allocations: 43.42 kB / 489.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1476, allocations: 0 / 489.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.1622, allocations: 3.234 MB / 492.5 MB, free: 8.199 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003458/0.1626, allocations: 243.8 kB / 492.8 MB, free: 7.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.06, allocations: 0 / 492.8 MB, free: 7.938 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches