Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 106.8 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.001503/0.001503, 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.429/1.429, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.11 MB / 343.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 85.2 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1365, allocations: 62.43 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003635/0.1402, allocations: 1.801 MB / 481.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.1427, allocations: 1.603 MB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.1427, allocations: 0 / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.1431, allocations: 31.84 kB / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.1434, allocations: 79.73 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.1436, allocations: 67.81 kB / 483 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1438, allocations: 103.7 kB / 483.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1439, allocations: 8 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.695e-05/0.144, allocations: 47.77 kB / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1441, allocations: 43.78 kB / 483.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1442, allocations: 0 / 483.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.1443, allocations: 99.92 kB / 483.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.1444, allocations: 15.92 kB / 483.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.1445, allocations: 31.75 kB / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.1447, allocations: 179.8 kB / 483.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1447, allocations: 0 / 483.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1447, allocations: 0 / 483.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1448, allocations: 0 / 483.5 MB, free: 1.516 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.0006092/0.1454, allocations: 427 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1454, allocations: 8.875 kB / 483.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/0.1455, allocations: 34.75 kB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.1455, allocations: 12.84 kB / 484 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1458, allocations: 215.3 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1458, allocations: 11.98 kB / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1458, allocations: 3.984 kB / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.146, allocations: 67.39 kB / 484.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.146, allocations: 0 / 484.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.146, allocations: 0 / 484.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.146, allocations: 4 kB / 484.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.1461, allocations: 15.98 kB / 484.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.1465, allocations: 292.8 kB / 484.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.1467, allocations: 54.67 kB / 484.6 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.1468, allocations: 24.84 kB / 484.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1468, allocations: 4 kB / 484.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.147, allocations: 67.33 kB / 484.7 MB, free: 124 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.357e-06/0.147, allocations: 0 / 484.7 MB, free: 124 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006319/0.1476, allocations: 189.1 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.1477, allocations: 81.05 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1479, allocations: 162.5 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1479, allocations: 29.7 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.148, allocations: 92.14 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.148, allocations: 31.58 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.1481, allocations: 29.72 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1482, allocations: 322.8 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.1483, allocations: 15.98 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.856e-05/0.1483, allocations: 46.56 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1485, allocations: 57.64 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1485, allocations: 4.031 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001801/0.1486, allocations: 97.59 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1487, allocations: 4 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.1487, allocations: 0 / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1487, allocations: 4 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.167e-05/0.1488, allocations: 23.86 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1488, allocations: 0 / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.1489, allocations: 4 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1489, allocations: 0 / 485.9 MB, free: 14.87 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.0001075/0.149, allocations: 129.9 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.149, allocations: 11.81 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.1491, allocations: 12.72 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1491, allocations: 3.938 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1491, allocations: 4 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1491, allocations: 0 / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.1496, allocations: 399.4 kB / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1496, allocations: 7.969 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.1496, allocations: 8 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1496, allocations: 0 / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1497, allocations: 7.938 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1497, allocations: 0 / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1497, allocations: 0 / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.15, allocations: 200.3 kB / 486.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.1501, allocations: 96.94 kB / 486.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1501, allocations: 4 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.1502, allocations: 8.312 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.1503, allocations: 7.984 kB / 486.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1503, allocations: 8 kB / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1504, allocations: 126.5 kB / 486.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1504, allocations: 0 / 486.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.1507, allocations: 48.17 kB / 486.9 MB, free: 13.7 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.001753/0.1525, allocations: 1.177 MB / 488.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1527, allocations: 67.89 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1527, allocations: 0 / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.1528, allocations: 27.94 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1531, allocations: 31.95 kB / 488.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.155, allocations: 1.597 MB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1554, allocations: 0.7015 MB / 490.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.326e-05/0.1555, allocations: 25.17 kB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.1556, allocations: 31.42 kB / 490.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1556, allocations: 0 / 490.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.1709, allocations: 3.768 MB / 494.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.1712, allocations: 246.9 kB / 494.6 MB, free: 6.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.169, allocations: 0 / 494.6 MB, free: 6.176 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches