Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000709/0.000709, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008358/0.0008358, allocations: 202.2 kB / 18.28 MB, free: 5.496 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.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2342/0.2342, allocations: 46.19 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002978, allocations: 12.23 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1432, allocations: 63.56 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002402/0.1457, allocations: 1.45 MB / 484.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1474, allocations: 0.9941 MB / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1476, allocations: 0 / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.1479, allocations: 39.83 kB / 485.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.1483, allocations: 79.73 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1485, allocations: 63.81 kB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.1487, allocations: 103.7 kB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.1488, allocations: 8 kB / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.149, allocations: 47.77 kB / 486 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.112e-05/0.149, allocations: 27.8 kB / 486 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1491, allocations: 4 kB / 486 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1492, allocations: 43.92 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.1493, allocations: 23.91 kB / 486.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.302e-05/0.1493, allocations: 61.44 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.1495, allocations: 115.9 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1496, allocations: 0 / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.1496, allocations: 0 / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1496, allocations: 4 kB / 486.2 MB, free: 1.012 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.0005326/0.1501, allocations: 403 kB / 486.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1502, allocations: 12.88 kB / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.1502, allocations: 30.75 kB / 486.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.1503, allocations: 8.844 kB / 486.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1505, allocations: 223.9 kB / 486.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1505, allocations: 384 / 486.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1506, allocations: 7.922 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1507, allocations: 61.67 kB / 487 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1507, allocations: 0 / 487 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1507, allocations: 3.938 kB / 487 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1508, allocations: 0 / 487 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.864e-05/0.1508, allocations: 19.98 kB / 487 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.1512, allocations: 288.8 kB / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.1514, allocations: 58.67 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.1515, allocations: 20.86 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1515, allocations: 4 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.1517, allocations: 67.33 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1517, allocations: 0 / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005397/0.1522, allocations: 181.1 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.1523, allocations: 63.34 kB / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.1525, allocations: 210.8 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.1526, allocations: 29.7 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.1526, allocations: 104.1 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.1527, allocations: 27.64 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.1527, allocations: 13.72 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1529, allocations: 322.8 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.258e-05/0.153, allocations: 23.98 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.153, allocations: 41.7 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.1532, allocations: 61.7 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1532, allocations: 0 / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002009/0.1534, allocations: 101.5 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1534, allocations: 4 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1534, allocations: 0 / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.1534, allocations: 4.031 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.879e-05/0.1535, allocations: 23.92 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1535, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.1536, allocations: 11.88 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1536, allocations: 4 kB / 488.6 MB, free: 14.38 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.0001135/0.1537, allocations: 125.8 kB / 488.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.1537, allocations: 7.906 kB / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.1538, allocations: 21.39 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1538, allocations: 0 / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1538, allocations: 4 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1538, allocations: 3.938 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.1543, allocations: 399.2 kB / 489.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1543, allocations: 192 / 489.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.1544, allocations: 11.98 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.1544, allocations: 11.88 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.1544, allocations: 0 / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1544, allocations: 0 / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1544, allocations: 7.969 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1547, allocations: 204.3 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.1547, allocations: 92.91 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1548, allocations: 3.938 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.1548, allocations: 8 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.1549, allocations: 7.984 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.1549, allocations: 4.375 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.155, allocations: 156.3 kB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.983e-06/0.1551, allocations: 0 / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1553, allocations: 27.94 kB / 489.7 MB, free: 13.2 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.001648/0.157, allocations: 1.088 MB / 490.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.1572, allocations: 55.92 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1572, allocations: 4.062 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.836e-05/0.1572, allocations: 27.98 kB / 490.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1576, allocations: 23.97 kB / 490.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.1598, allocations: 1.713 MB / 492.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.1602, allocations: 0.7121 MB / 493.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.139e-05/0.1602, allocations: 12.56 kB / 493.3 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.1603, allocations: 39.41 kB / 493.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1603, allocations: 4 kB / 493.4 MB, free: 9.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.174, allocations: 3.059 MB / 496.4 MB, free: 6.605 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.1742, allocations: 240.4 kB / 496.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/1.964, allocations: 0 / 496.7 MB, free: 6.348 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches