Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002209/0.002209, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2433/0.2433, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 78.16 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1409, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.005163/0.1462, allocations: 1.923 MB / 482.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.1486, allocations: 1.133 MB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.1489, allocations: 0 / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006236/0.1495, allocations: 251.3 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005662/0.1501, allocations: 231.2 kB / 483.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1504, allocations: 119.5 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.1508, allocations: 267.3 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1509, allocations: 33.66 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.1511, allocations: 131.6 kB / 484.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.1513, allocations: 191.4 kB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1514, allocations: 8 kB / 484.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.1515, allocations: 63.97 kB / 484.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.1516, allocations: 67.75 kB / 484.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1517, allocations: 95.19 kB / 484.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.1521, allocations: 251.4 kB / 484.9 MB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1521, allocations: 0 / 484.9 MB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1521, allocations: 0 / 484.9 MB, free: 460 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1521, allocations: 0 / 484.9 MB, free: 460 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008522/0.153, allocations: 0.5874 MB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.153, allocations: 8.031 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.567e-05/0.1531, allocations: 38.75 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.1532, allocations: 32.56 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.1535, allocations: 294.4 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1535, allocations: 384 / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.1536, allocations: 19.92 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.1538, allocations: 103.3 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1538, allocations: 11.89 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1539, allocations: 4 kB / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1539, allocations: 7.938 kB / 486 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.154, allocations: 43.97 kB / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.1546, allocations: 480.6 kB / 486.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.155, allocations: 125.2 kB / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1551, allocations: 41.83 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.1552, allocations: 12.08 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002922/0.1555, allocations: 121 kB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.1555, allocations: 0 / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001303/0.1568, allocations: 0.5076 MB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.1569, allocations: 89.05 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.1574, allocations: 0.4899 MB / 487.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1574, allocations: 33.64 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1575, allocations: 168.5 kB / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.1576, allocations: 71 kB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.1577, allocations: 41.7 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1578, allocations: 350.8 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.158, allocations: 55.97 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1581, allocations: 91.41 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.1584, allocations: 155.3 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1584, allocations: 0 / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004152/0.1588, allocations: 245 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1588, allocations: 4 kB / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1589, allocations: 7.938 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1589, allocations: 0 / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.159, allocations: 39.98 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.159, allocations: 0 / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.1592, allocations: 11.98 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1592, allocations: 12 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001736/0.1594, allocations: 169.8 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.1594, allocations: 39.59 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.383e-05/0.1595, allocations: 50.88 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1595, allocations: 0 / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.1595, allocations: 4 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.1596, allocations: 0 / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008943/0.1605, allocations: 0.7389 MB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1605, allocations: 0 / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.232e-05/0.1606, allocations: 35.92 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1606, allocations: 4 kB / 490.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1606, allocations: 7.984 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1606, allocations: 4 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1606, allocations: 3.938 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.1611, allocations: 429.4 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.1612, allocations: 108.7 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.1612, allocations: 4 kB / 490.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1614, allocations: 15.98 kB / 490.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.1614, allocations: 27.86 kB / 490.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.1615, allocations: 12 kB / 490.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003325/0.1618, allocations: 371.1 kB / 491.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1618, allocations: 0 / 491.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.1622, allocations: 55.98 kB / 491.2 MB, free: 9.719 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001757/0.1639, allocations: 1.357 MB / 492.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.1643, allocations: 171.6 kB / 492.7 MB, free: 8.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1643, allocations: 0 / 492.7 MB, free: 8.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.1645, allocations: 83.84 kB / 492.8 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.165, allocations: 71.89 kB / 492.8 MB, free: 8.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.1686, allocations: 3.01 MB / 495.8 MB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.169, allocations: 0.7947 MB / 496.6 MB, free: 4.246 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.1691, allocations: 33.92 kB / 496.7 MB, free: 4.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.1693, allocations: 107.4 kB / 496.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1693, allocations: 4 kB / 496.8 MB, free: 4.105 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.1949, allocations: 6.525 MB / 0.4915 GB, free: 13.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.177/7.372, allocations: 10.83 kB / 0.4915 GB, free: 13.66 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches