Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 108.5 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 83.86 kB / 417 MB, free: 7.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1427, allocations: 62.43 MB / 479.4 MB, free: 8.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.004342/0.1471, allocations: 1.781 MB / 481.2 MB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.1495, allocations: 1.025 MB / 482.2 MB, free: 6.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1496, allocations: 4 kB / 482.2 MB, free: 6.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.15, allocations: 39.88 kB / 482.2 MB, free: 6.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.1505, allocations: 83.67 kB / 482.3 MB, free: 6.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.1508, allocations: 55.89 kB / 482.4 MB, free: 5.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.1511, allocations: 103.7 kB / 482.5 MB, free: 5.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1513, allocations: 15.98 kB / 482.5 MB, free: 5.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1515, allocations: 47.72 kB / 482.5 MB, free: 5.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.1516, allocations: 31.84 kB / 482.6 MB, free: 5.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1517, allocations: 0 / 482.6 MB, free: 5.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.1518, allocations: 43.98 kB / 482.6 MB, free: 5.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.489e-05/0.1519, allocations: 19.92 kB / 482.6 MB, free: 5.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.5e-05/0.152, allocations: 43.66 kB / 482.7 MB, free: 5.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.1523, allocations: 115.8 kB / 482.8 MB, free: 5.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1523, allocations: 3.938 kB / 482.8 MB, free: 5.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1523, allocations: 0 / 482.8 MB, free: 5.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1523, allocations: 0 / 482.8 MB, free: 5.555 MB / 398.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.0007463/0.1531, allocations: 423 kB / 483.2 MB, free: 5.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.757e-05/0.1532, allocations: 12.88 kB / 483.2 MB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.821e-05/0.1532, allocations: 30.75 kB / 483.2 MB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.627e-05/0.1533, allocations: 12.84 kB / 483.3 MB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.1536, allocations: 212 kB / 483.5 MB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1537, allocations: 4.375 kB / 483.5 MB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.1537, allocations: 7.922 kB / 483.5 MB, free: 4.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1539, allocations: 57.61 kB / 483.5 MB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.154, allocations: 8 kB / 483.5 MB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.154, allocations: 0 / 483.5 MB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.154, allocations: 0 / 483.5 MB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1541, allocations: 23.92 kB / 483.6 MB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.1547, allocations: 288.9 kB / 483.9 MB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1549, allocations: 62.61 kB / 483.9 MB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.291e-05/0.155, allocations: 20.86 kB / 483.9 MB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.155, allocations: 0 / 483.9 MB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.1553, allocations: 71.39 kB / 484 MB, free: 4.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.254e-06/0.1554, allocations: 0 / 484 MB, free: 4.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008458/0.1562, allocations: 177 kB / 484.2 MB, free: 3.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.1563, allocations: 55.41 kB / 484.2 MB, free: 3.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.1566, allocations: 218.8 kB / 484.4 MB, free: 3.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.1567, allocations: 29.7 kB / 484.5 MB, free: 3.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.1568, allocations: 100.1 kB / 484.6 MB, free: 3.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.1568, allocations: 23.7 kB / 484.6 MB, free: 3.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.321e-05/0.1569, allocations: 21.72 kB / 484.6 MB, free: 3.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.1571, allocations: 326.8 kB / 484.9 MB, free: 3.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.1572, allocations: 20 kB / 485 MB, free: 3.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.1573, allocations: 45.64 kB / 485 MB, free: 3.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1574, allocations: 57.69 kB / 485.1 MB, free: 3.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1574, allocations: 0 / 485.1 MB, free: 3.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002354/0.1577, allocations: 101.5 kB / 485.2 MB, free: 2.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.1577, allocations: 4 kB / 485.2 MB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1577, allocations: 0 / 485.2 MB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.1578, allocations: 4.172 kB / 485.2 MB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1579, allocations: 20.03 kB / 485.2 MB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1579, allocations: 3.938 kB / 485.2 MB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.158, allocations: 11.78 kB / 485.2 MB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.158, allocations: 4 kB / 485.2 MB, free: 2.902 MB / 398.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.0001741/0.1582, allocations: 133.8 kB / 485.3 MB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.1582, allocations: 7.906 kB / 485.3 MB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.1583, allocations: 17.39 kB / 485.4 MB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.1583, allocations: 4 kB / 485.4 MB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1583, allocations: 0 / 485.4 MB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.1583, allocations: 7.938 kB / 485.4 MB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000608/0.1589, allocations: 403.5 kB / 485.8 MB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.1589, allocations: 3.984 kB / 485.8 MB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.159, allocations: 8 kB / 485.8 MB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.159, allocations: 7.875 kB / 485.8 MB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.159, allocations: 4 kB / 485.8 MB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.159, allocations: 384 / 485.8 MB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.159, allocations: 0 / 485.8 MB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.1594, allocations: 208.2 kB / 486 MB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.531e-05/0.1595, allocations: 89 kB / 486.1 MB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.1595, allocations: 11.94 kB / 486.1 MB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.1596, allocations: 0 / 486.1 MB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.1597, allocations: 7.984 kB / 486.1 MB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.1597, allocations: 8 kB / 486.1 MB, free: 1.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001577/0.1599, allocations: 156.3 kB / 486.3 MB, free: 1.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1599, allocations: 0 / 486.3 MB, free: 1.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.1602, allocations: 28 kB / 486.3 MB, free: 1.711 MB / 398.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.001775/0.162, allocations: 1.083 MB / 487.4 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1622, allocations: 51.98 kB / 487.4 MB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1622, allocations: 3.938 kB / 487.4 MB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.1623, allocations: 35.98 kB / 487.5 MB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.1627, allocations: 23.98 kB / 487.5 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.165, allocations: 1.692 MB / 489.2 MB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.1654, allocations: 0.7082 MB / 489.9 MB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.656e-05/0.1655, allocations: 16.53 kB / 489.9 MB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.959e-05/0.1656, allocations: 47.36 kB / 489.9 MB, free: 14.07 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1656, allocations: 0 / 489.9 MB, free: 14.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.1794, allocations: 3.261 MB / 493.2 MB, free: 10.9 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.1796, allocations: 235.9 kB / 493.4 MB, free: 10.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.037, allocations: 0 / 493.4 MB, free: 10.65 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches