Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001596/0.001596, allocations: 103.2 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.001706/0.001706, 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.517/1.517, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2865/0.2865, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 75.3 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1394, allocations: 62.46 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.004346/0.1438, allocations: 1.808 MB / 481.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1459, allocations: 1.017 MB / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.146, allocations: 3.938 kB / 482.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.1464, allocations: 83.83 kB / 482.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.1469, allocations: 103.6 kB / 482.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1472, allocations: 71.8 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.1474, allocations: 111.7 kB / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1475, allocations: 19.98 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.1477, allocations: 55.66 kB / 482.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1479, allocations: 63.81 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1479, allocations: 0 / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.1481, allocations: 59.95 kB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.1481, allocations: 23.92 kB / 482.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.1482, allocations: 35.69 kB / 482.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.1485, allocations: 143.8 kB / 483 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1485, allocations: 8 kB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1485, allocations: 0 / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1485, allocations: 4 kB / 483 MB, free: 1.996 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006365/0.1492, allocations: 438.8 kB / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.1492, allocations: 8.875 kB / 483.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.1493, allocations: 30.75 kB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.1493, allocations: 12.84 kB / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.1497, allocations: 220.7 kB / 483.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1498, allocations: 8.359 kB / 483.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.1498, allocations: 11.92 kB / 483.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.15, allocations: 65.61 kB / 483.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.15, allocations: 0 / 483.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.15, allocations: 0 / 483.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.15, allocations: 4 kB / 483.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.1501, allocations: 19.98 kB / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.1506, allocations: 304.7 kB / 484.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.1509, allocations: 70.47 kB / 484.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.379e-05/0.1509, allocations: 20.97 kB / 484.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.151, allocations: 0 / 484.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.1512, allocations: 67.39 kB / 484.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.1512, allocations: 0 / 484.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008523/0.1521, allocations: 257.4 kB / 484.5 MB, free: 312 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.1521, allocations: 63.28 kB / 484.6 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.1524, allocations: 235.1 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1524, allocations: 29.7 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.1525, allocations: 108.1 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1525, allocations: 35.55 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.1526, allocations: 25.72 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1527, allocations: 326.8 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.1528, allocations: 32 kB / 485.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.1529, allocations: 45.69 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.1531, allocations: 77.77 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1531, allocations: 3.938 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002428/0.1533, allocations: 129.4 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1534, allocations: 8 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1534, allocations: 4.031 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1534, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.1535, allocations: 35.86 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1535, allocations: 4 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.1535, allocations: 0 / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1536, allocations: 4 kB / 485.6 MB, free: 15.1 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 (13): * Single equations (assignments): 13 * 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.0002209/0.1538, allocations: 129.8 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.1538, allocations: 15.81 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/0.1539, allocations: 25.39 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1539, allocations: 7.938 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1539, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1539, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007086/0.1546, allocations: 459.9 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1546, allocations: 0 / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/0.1547, allocations: 15.98 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1547, allocations: 4.062 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1547, allocations: 4 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.1547, allocations: 7.938 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1547, allocations: 0 / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.155, allocations: 229 kB / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.1551, allocations: 92.92 kB / 486.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.1552, allocations: 8 kB / 486.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.1552, allocations: 0 / 486.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.1553, allocations: 19.92 kB / 486.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1553, allocations: 4 kB / 486.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.1555, allocations: 172.4 kB / 486.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1555, allocations: 0 / 486.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.1558, allocations: 28 kB / 486.8 MB, free: 13.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001697/0.1575, allocations: 1.169 MB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.1578, allocations: 79.91 kB / 488.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1578, allocations: 0 / 488.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.039e-05/0.1579, allocations: 47.92 kB / 488.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1582, allocations: 27.97 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.1605, allocations: 1.865 MB / 490 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1609, allocations: 0.716 MB / 490.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.342e-05/0.1609, allocations: 20.81 kB / 490.8 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.241e-05/0.161, allocations: 55.3 kB / 490.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.161, allocations: 0 / 490.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.1757, allocations: 3.672 MB / 494.5 MB, free: 6.273 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.1759, allocations: 237 kB / 494.7 MB, free: 6.016 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.129, allocations: 3.938 kB / 494.7 MB, free: 6.012 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches