Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001537/0.001537, 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.001735/0.001735, allocations: 209.8 kB / 18.14 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.522/1.522, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2404/0.2404, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.00141, allocations: 74.88 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1388, allocations: 62.44 MB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004241/0.1431, allocations: 2.001 MB / 481.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1452, allocations: 1.048 MB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.1454, allocations: 3.938 kB / 482.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.1458, allocations: 43.83 kB / 482.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.1462, allocations: 83.67 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1466, allocations: 67.88 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.1468, allocations: 147.5 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.147, allocations: 25.5 kB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1471, allocations: 47.78 kB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/0.1472, allocations: 51.64 kB / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.1473, allocations: 8 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1474, allocations: 43.92 kB / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.342e-05/0.1475, allocations: 35.83 kB / 483 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.1476, allocations: 43.69 kB / 483 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.1479, allocations: 151.7 kB / 483.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1479, allocations: 0 / 483.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1479, allocations: 0 / 483.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1479, allocations: 4 kB / 483.2 MB, free: 1.828 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008043/0.1487, allocations: 476.5 kB / 483.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.1488, allocations: 12.86 kB / 483.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.1488, allocations: 38.75 kB / 483.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.1489, allocations: 16.75 kB / 483.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.1492, allocations: 232.7 kB / 483.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1493, allocations: 8.375 kB / 484 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.1493, allocations: 7.938 kB / 484 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.1496, allocations: 120.1 kB / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1496, allocations: 0 / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1496, allocations: 0 / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1496, allocations: 0 / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.1498, allocations: 47.97 kB / 484.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.1506, allocations: 0.5126 MB / 484.6 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.151, allocations: 90.61 kB / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1511, allocations: 40.83 kB / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1511, allocations: 0 / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003536/0.1515, allocations: 83.38 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.1515, allocations: 0 / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004912/0.152, allocations: 149.3 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.152, allocations: 55.41 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.1523, allocations: 199.1 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.1523, allocations: 30.06 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1524, allocations: 120 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.1525, allocations: 23.62 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.1525, allocations: 29.7 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1527, allocations: 326.8 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-05/0.1528, allocations: 35.92 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1529, allocations: 64.27 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.1531, allocations: 96.2 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1531, allocations: 4 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003397/0.1535, allocations: 137.3 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.1535, allocations: 4 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1535, allocations: 3.984 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.1536, allocations: 8.062 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1537, allocations: 27.92 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1537, allocations: 4 kB / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.1538, allocations: 11.94 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1538, allocations: 8 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001573/0.154, allocations: 129.8 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.154, allocations: 11.81 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.29e-05/0.1541, allocations: 13.41 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.1541, allocations: 7.938 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1541, allocations: 4 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1541, allocations: 7.922 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.1543, allocations: 217.4 kB / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1544, allocations: 0 / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.74e-05/0.1544, allocations: 12 kB / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1545, allocations: 0 / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.1545, allocations: 7.984 kB / 486.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1545, allocations: 3.938 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1545, allocations: 0 / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.1549, allocations: 188.9 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.155, allocations: 84.95 kB / 486.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.155, allocations: 4 kB / 486.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.1551, allocations: 11.92 kB / 486.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.1552, allocations: 11.98 kB / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1552, allocations: 0 / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.1554, allocations: 148.4 kB / 487 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1554, allocations: 4.062 kB / 487 MB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1556, allocations: 28.12 kB / 487 MB, free: 13.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001574/0.1572, allocations: 1.005 MB / 488 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003422/0.1576, allocations: 87.78 kB / 488.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1576, allocations: 0 / 488.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.1577, allocations: 43.91 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.158, allocations: 35.02 kB / 488.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.1605, allocations: 1.77 MB / 490 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.161, allocations: 0.7204 MB / 490.7 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.1611, allocations: 25.39 kB / 490.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.968e-05/0.1612, allocations: 39.42 kB / 490.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1612, allocations: 0 / 490.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.1788, allocations: 3.518 MB / 494.3 MB, free: 6.426 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.1791, allocations: 241 kB / 494.5 MB, free: 6.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.13, allocations: 0 / 494.5 MB, free: 6.164 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches