Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000847/0.0008471, allocations: 93.92 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1937/0.1937, allocations: 46.18 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002733, allocations: 12 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1357, allocations: 63.56 MB / 483.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002416/0.1382, allocations: 1.47 MB / 484.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.1399, allocations: 0.998 MB / 485.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.14, allocations: 0 / 485.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.1404, allocations: 107.7 kB / 485.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.1408, allocations: 111.7 kB / 485.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.141, allocations: 59.88 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1412, allocations: 123.6 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1414, allocations: 11.98 kB / 486.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1415, allocations: 51.77 kB / 486.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.1416, allocations: 63.75 kB / 486.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1416, allocations: 8 kB / 486.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.1418, allocations: 55.97 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.1419, allocations: 27.86 kB / 486.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.524e-05/0.1419, allocations: 69.31 kB / 486.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.1423, allocations: 139.8 kB / 486.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1423, allocations: 0 / 486.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1423, allocations: 0 / 486.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1423, allocations: 0 / 486.5 MB, free: 0.7773 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006092/0.1429, allocations: 426.9 kB / 486.9 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.143, allocations: 12.88 kB / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.143, allocations: 34.75 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.1431, allocations: 12.75 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.1434, allocations: 223.9 kB / 487.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1434, allocations: 384 / 487.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.1434, allocations: 11.88 kB / 487.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1436, allocations: 65.66 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1436, allocations: 0 / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1436, allocations: 0 / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1437, allocations: 0 / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.738e-05/0.1437, allocations: 23.98 kB / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.1442, allocations: 308.7 kB / 487.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.1444, allocations: 62.55 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.282e-05/0.1445, allocations: 24.95 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1445, allocations: 4 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.1447, allocations: 67.39 kB / 487.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.1447, allocations: 0 / 487.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008449/0.1456, allocations: 248.9 kB / 488 MB, free: 15.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.1457, allocations: 55.34 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.146, allocations: 251.2 kB / 488.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.146, allocations: 37.64 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.1461, allocations: 112 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/0.1462, allocations: 43.61 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.1463, allocations: 13.72 kB / 488.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1465, allocations: 326.8 kB / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.134e-05/0.1465, allocations: 27.98 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.723e-05/0.1467, allocations: 49.33 kB / 488.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1468, allocations: 89.58 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1468, allocations: 0 / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002228/0.1471, allocations: 121.5 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1471, allocations: 4 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1471, allocations: 4 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1471, allocations: 0 / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.1472, allocations: 27.86 kB / 489.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1472, allocations: 4 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.1473, allocations: 8.031 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1473, allocations: 8 kB / 489.1 MB, free: 13.88 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 (13): * Single equations (assignments): 13 * 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.000119/0.1474, allocations: 136.5 kB / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.1474, allocations: 15.81 kB / 489.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.1475, allocations: 25.33 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1475, allocations: 7.938 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1475, allocations: 0 / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1475, allocations: 0 / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.1481, allocations: 459.9 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1481, allocations: 0 / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/0.1481, allocations: 19.92 kB / 489.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1482, allocations: 4 kB / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1482, allocations: 0 / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.1482, allocations: 4 kB / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1482, allocations: 0 / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.1485, allocations: 229.3 kB / 490 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.1485, allocations: 100.9 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1486, allocations: 0 / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.1487, allocations: 11.94 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.1487, allocations: 8.078 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.1487, allocations: 15.88 kB / 490.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.1489, allocations: 188.2 kB / 490.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1489, allocations: 0 / 490.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.1492, allocations: 39.98 kB / 490.4 MB, free: 12.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001767/0.151, allocations: 1.177 MB / 491.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.1512, allocations: 75.91 kB / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1512, allocations: 0 / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.392e-05/0.1513, allocations: 39.92 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.1518, allocations: 27.98 kB / 491.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.1541, allocations: 1.901 MB / 493.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1545, allocations: 0.7199 MB / 494.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.636e-05/0.1546, allocations: 28.56 kB / 494.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.1547, allocations: 47.42 kB / 494.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1547, allocations: 0 / 494.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.229/1.384, allocations: 3.568 MB / 497.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/1.384, allocations: 237 kB / 498.2 MB, free: 4.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3.54, allocations: 0 / 498.2 MB, free: 4.848 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.timeScaled)),der(t_new.timeScaled),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time