Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2456/0.2456, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 82.09 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1359, allocations: 62.44 MB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00354/0.1395, allocations: 1.728 MB / 481.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1416, allocations: 1.032 MB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1417, allocations: 0 / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.1421, allocations: 39.77 kB / 482.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000532/0.1427, allocations: 95.59 kB / 483 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.1431, allocations: 79.66 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.1433, allocations: 103.7 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1434, allocations: 11.98 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1435, allocations: 43.78 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.461e-05/0.1436, allocations: 43.72 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1436, allocations: 4 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.1438, allocations: 43.98 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.1438, allocations: 23.91 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.1439, allocations: 31.75 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.1442, allocations: 115.9 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1442, allocations: 4 kB / 483.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1442, allocations: 4 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1442, allocations: 0 / 483.5 MB, free: 1.746 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.0005699/0.1448, allocations: 430.8 kB / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1448, allocations: 12.02 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.1449, allocations: 30.75 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.1449, allocations: 16.75 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.1452, allocations: 216.1 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1452, allocations: 384 / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.1452, allocations: 7.938 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1454, allocations: 57.67 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1454, allocations: 0 / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.1454, allocations: 0 / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1454, allocations: 0 / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.1455, allocations: 23.92 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.146, allocations: 284.9 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1462, allocations: 58.67 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.1462, allocations: 20.84 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1463, allocations: 7.938 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002786/0.1466, allocations: 63.39 kB / 484.7 MB, free: 376 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.1466, allocations: 0 / 484.7 MB, free: 376 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006574/0.1472, allocations: 189 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1473, allocations: 51.41 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.1475, allocations: 202.3 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1476, allocations: 29.7 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.1477, allocations: 104.1 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.1477, allocations: 23.7 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.1478, allocations: 25.7 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1479, allocations: 330.8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.863e-05/0.148, allocations: 19.98 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.1481, allocations: 37.7 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.1482, allocations: 57.66 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1482, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002107/0.1484, allocations: 105.4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1485, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1485, allocations: 4.031 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1485, allocations: 4.375 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.1486, allocations: 16 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1486, allocations: 3.984 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.1487, allocations: 16.06 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1487, allocations: 0 / 485.9 MB, free: 15.1 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.0001029/0.1488, allocations: 133.8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.1488, allocations: 7.906 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.1489, allocations: 17.41 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.149, allocations: 4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.149, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.149, allocations: 11.86 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.1494, allocations: 395.4 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1495, allocations: 0 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.1495, allocations: 11.94 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1495, allocations: 7.938 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1495, allocations: 0 / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1495, allocations: 8.016 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1495, allocations: 80 / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.1498, allocations: 204.3 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.1498, allocations: 84.92 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.1499, allocations: 11.94 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.15, allocations: 0 / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.15, allocations: 15.92 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.15, allocations: 4 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.1502, allocations: 164.8 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1502, allocations: 0 / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1505, allocations: 19.98 kB / 487 MB, free: 13.91 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.001532/0.152, allocations: 1.09 MB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.1522, allocations: 63.91 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1522, allocations: 4.062 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.889e-05/0.1523, allocations: 27.92 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1526, allocations: 27.73 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.1546, allocations: 1.693 MB / 489.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.1549, allocations: 0.7041 MB / 490.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.399e-05/0.155, allocations: 24.53 kB / 490.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.155, allocations: 39.42 kB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.155, allocations: 0 / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.1761, allocations: 3.413 MB / 494.1 MB, free: 6.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/7.408, allocations: 15.02 kB / 494.1 MB, free: 6.91 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches