Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008568/0.0008565, allocations: 98.61 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001086, allocations: 206 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1795/0.1795, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.000384, allocations: 12.38 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1358, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002052/0.1379, allocations: 1.646 MB / 484.8 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1395, allocations: 1.029 MB / 485.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.1395, allocations: 8 kB / 485.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.1397, allocations: 35.83 kB / 485.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.1399, allocations: 79.69 kB / 486 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.1401, allocations: 75.8 kB / 486.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1403, allocations: 135.6 kB / 486.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.272e-05/0.1404, allocations: 33.53 kB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.047e-05/0.1404, allocations: 43.73 kB / 486.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.1405, allocations: 47.66 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1406, allocations: 11.92 kB / 486.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-05/0.1406, allocations: 43.98 kB / 486.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.1407, allocations: 15.92 kB / 486.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.1408, allocations: 69.38 kB / 486.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1409, allocations: 159.6 kB / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1409, allocations: 0 / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1409, allocations: 4 kB / 486.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.141, allocations: 0 / 486.6 MB, free: 0.6328 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004444/0.1414, allocations: 464.5 kB / 487.1 MB, free: 128 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.1414, allocations: 8.875 kB / 487.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.1415, allocations: 38.75 kB / 487.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.1415, allocations: 16.75 kB / 487.1 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.1417, allocations: 224.8 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1417, allocations: 12.38 kB / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.1418, allocations: 7.938 kB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.142, allocations: 112.2 kB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-06/0.142, allocations: 3.938 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.142, allocations: 3.984 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.142, allocations: 4 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.1421, allocations: 59.89 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.1426, allocations: 0.5087 MB / 488.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.1429, allocations: 90.59 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/0.143, allocations: 36.84 kB / 488.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.143, allocations: 4 kB / 488.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.1432, allocations: 91.31 kB / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.1432, allocations: 0 / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003262/0.1435, allocations: 145.4 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.1435, allocations: 55.41 kB / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1437, allocations: 210.1 kB / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1437, allocations: 25.7 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.1438, allocations: 120 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.1438, allocations: 27.69 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.1439, allocations: 18.09 kB / 488.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.144, allocations: 326.8 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.05e-05/0.144, allocations: 27.97 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/0.1441, allocations: 68.28 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1443, allocations: 104.1 kB / 489.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1443, allocations: 0 / 489.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002533/0.1446, allocations: 141.3 kB / 489.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1446, allocations: 14.44 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.1446, allocations: 0 / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.814e-06/0.1446, allocations: 8.062 kB / 489.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.1447, allocations: 23.98 kB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1448, allocations: 4 kB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.583e-05/0.1448, allocations: 15.84 kB / 489.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1448, allocations: 4 kB / 489.6 MB, free: 13.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.788e-05/0.1449, allocations: 133.8 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.145, allocations: 11.81 kB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.145, allocations: 25.39 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.145, allocations: 7.938 kB / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.145, allocations: 0 / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.145, allocations: 0 / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1452, allocations: 209.5 kB / 490 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1452, allocations: 0 / 490 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.1453, allocations: 15.98 kB / 490 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1453, allocations: 0 / 490 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1453, allocations: 8 kB / 490 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1453, allocations: 3.938 kB / 490 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1453, allocations: 0 / 490 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1457, allocations: 188.9 kB / 490.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.1457, allocations: 96.88 kB / 490.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1458, allocations: 8 kB / 490.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.1458, allocations: 15.98 kB / 490.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.1459, allocations: 4 kB / 490.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1459, allocations: 4 kB / 490.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.146, allocations: 148.4 kB / 490.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.146, allocations: 0 / 490.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.1462, allocations: 32.11 kB / 490.5 MB, free: 12.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001397/0.1476, allocations: 1.013 MB / 491.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1479, allocations: 84.08 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1479, allocations: 8 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.172e-05/0.148, allocations: 44.05 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.1483, allocations: 39.84 kB / 491.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.1502, allocations: 1.784 MB / 493.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.1505, allocations: 0.7165 MB / 494.2 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.571e-05/0.1505, allocations: 13.42 kB / 494.2 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.1506, allocations: 47.42 kB / 494.2 MB, free: 8.605 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1506, allocations: 0 / 494.2 MB, free: 8.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.8/1.951, allocations: 3.342 MB / 497.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/1.951, allocations: 229.3 kB / 497.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/4.033, allocations: 4 kB / 497.8 MB, free: 5.145 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches