Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, 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.00134/0.001341, allocations: 205.8 kB / 18.13 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.455/1.455, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2837/0.2837, allocations: 46.09 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 76.75 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1328, allocations: 62.45 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003383/0.1362, allocations: 1.789 MB / 481.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.138, allocations: 1.017 MB / 482.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.83e-05/0.1381, allocations: 0 / 482.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.1384, allocations: 39.83 kB / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.1388, allocations: 79.73 kB / 482.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.139, allocations: 59.83 kB / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.1392, allocations: 107.7 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1393, allocations: 8 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1395, allocations: 35.8 kB / 482.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.864e-05/0.1396, allocations: 39.77 kB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1396, allocations: 4 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1397, allocations: 43.92 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.1398, allocations: 19.92 kB / 482.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.1398, allocations: 35.73 kB / 482.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.14, allocations: 107.9 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1401, allocations: 4 kB / 482.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1401, allocations: 0 / 482.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1401, allocations: 0 / 482.8 MB, free: 2.199 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005858/0.1407, allocations: 423 kB / 483.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1407, allocations: 8.875 kB / 483.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.1408, allocations: 30.75 kB / 483.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.1408, allocations: 20.83 kB / 483.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1411, allocations: 216.7 kB / 483.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1411, allocations: 8.359 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1411, allocations: 7.938 kB / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1413, allocations: 53.67 kB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1413, allocations: 0 / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1413, allocations: 0 / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1413, allocations: 0 / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.866e-05/0.1414, allocations: 19.98 kB / 483.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.1418, allocations: 292.7 kB / 483.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.142, allocations: 58.67 kB / 483.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.1421, allocations: 20.86 kB / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1421, allocations: 7.984 kB / 483.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.1423, allocations: 67.27 kB / 484 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.006e-06/0.1423, allocations: 7.984 kB / 484 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005627/0.1429, allocations: 169.3 kB / 484.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.143, allocations: 59.34 kB / 484.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.1431, allocations: 194.7 kB / 484.4 MB, free: 376 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1432, allocations: 29.7 kB / 484.4 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.1432, allocations: 104.1 kB / 484.5 MB, free: 232 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.1433, allocations: 23.7 kB / 484.6 MB, free: 208 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1433, allocations: 17.72 kB / 484.6 MB, free: 184 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1435, allocations: 330.8 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.1435, allocations: 19.98 kB / 484.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.1436, allocations: 33.7 kB / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1437, allocations: 61.66 kB / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1438, allocations: 0 / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002065/0.144, allocations: 101.5 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.144, allocations: 12.03 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.144, allocations: 0 / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.144, allocations: 0 / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.1441, allocations: 23.92 kB / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1441, allocations: 4 kB / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.267e-05/0.1442, allocations: 4.312 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1442, allocations: 4 kB / 485.2 MB, free: 15.57 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 (10): * Single equations (assignments): 10 * 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.0001044/0.1443, allocations: 128.6 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.1444, allocations: 19.84 kB / 485.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.1444, allocations: 13.41 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1444, allocations: 4 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1444, allocations: 0 / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1445, allocations: 3.938 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.1449, allocations: 399.2 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1449, allocations: 0 / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.145, allocations: 8 kB / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.145, allocations: 7.969 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.145, allocations: 4 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.145, allocations: 3.938 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.145, allocations: 3.984 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.1453, allocations: 196.5 kB / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.1453, allocations: 89.11 kB / 486 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.1454, allocations: 7.938 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.1454, allocations: 11.94 kB / 486 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.1455, allocations: 7.984 kB / 486 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1455, allocations: 4 kB / 486 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.1456, allocations: 152.7 kB / 486.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1457, allocations: 0 / 486.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1459, allocations: 24 kB / 486.2 MB, free: 14.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001563/0.1475, allocations: 1.092 MB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1477, allocations: 67.91 kB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1477, allocations: 0 / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.075e-05/0.1478, allocations: 23.98 kB / 487.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1482, allocations: 31.97 kB / 487.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.1501, allocations: 1.661 MB / 489.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1504, allocations: 0.7082 MB / 489.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.968e-05/0.1505, allocations: 17.19 kB / 489.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.1506, allocations: 39.41 kB / 489.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1506, allocations: 0 / 489.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.165, allocations: 3.194 MB / 493 MB, free: 7.684 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/0.1653, allocations: 238.7 kB / 493.3 MB, free: 7.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.176, allocations: 7.562 kB / 493.3 MB, free: 7.426 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches