Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 108 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 205.8 kB / 18.27 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2522/0.2522, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 79.91 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1488, allocations: 62.44 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003857/0.1527, allocations: 1.789 MB / 481.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1548, allocations: 1.009 MB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.1549, allocations: 0 / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.1553, allocations: 43.84 kB / 482.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.1557, allocations: 71.75 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.156, allocations: 63.88 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.1563, allocations: 107.6 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1564, allocations: 19.97 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1565, allocations: 35.8 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.086e-05/0.1566, allocations: 39.78 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1567, allocations: 4 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1568, allocations: 51.97 kB / 482.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1569, allocations: 23.86 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.157, allocations: 27.81 kB / 482.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1572, allocations: 111.9 kB / 483 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.1572, allocations: 4 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1572, allocations: 7.875 kB / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1572, allocations: 0 / 483 MB, free: 2.086 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.000645/0.1579, allocations: 403 kB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1579, allocations: 12.03 kB / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.158, allocations: 38.75 kB / 483.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.1581, allocations: 12.75 kB / 483.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.1584, allocations: 212 kB / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1584, allocations: 4.375 kB / 483.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.1585, allocations: 7.938 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1587, allocations: 57.66 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1587, allocations: 0 / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1587, allocations: 0 / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1587, allocations: 0 / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.1588, allocations: 23.98 kB / 483.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.1593, allocations: 280.9 kB / 484 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1594, allocations: 58.62 kB / 484.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.1595, allocations: 20.84 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1595, allocations: 4 kB / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.1598, allocations: 67.39 kB / 484.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1598, allocations: 0 / 484.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006094/0.1604, allocations: 177.2 kB / 484.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1605, allocations: 59.34 kB / 484.4 MB, free: 496 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1607, allocations: 185.9 kB / 484.6 MB, free: 300 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1607, allocations: 25.7 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.1608, allocations: 108 kB / 484.7 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1608, allocations: 27.64 kB / 484.7 MB, free: 128 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.1609, allocations: 25.66 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1611, allocations: 322.8 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.861e-05/0.1612, allocations: 23.98 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.894e-05/0.1612, allocations: 33.7 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.1614, allocations: 61.7 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1614, allocations: 384 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.1616, allocations: 97.53 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1616, allocations: 6.656 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1616, allocations: 4 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1616, allocations: 4 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.1617, allocations: 16.17 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1618, allocations: 3.938 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.1618, allocations: 11.88 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1618, allocations: 8.031 kB / 485.3 MB, free: 15.49 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.0001305/0.162, allocations: 125.8 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.162, allocations: 11.81 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.1621, allocations: 13.41 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1621, allocations: 4 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.1621, allocations: 3.984 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1621, allocations: 3.938 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.1626, allocations: 391.3 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.1626, allocations: 3.984 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.1627, allocations: 8 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1627, allocations: 7.938 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1627, allocations: 3.984 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1627, allocations: 0 / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1627, allocations: 0 / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.163, allocations: 208.2 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.1631, allocations: 88.92 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1631, allocations: 7.938 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.1632, allocations: 4 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.1632, allocations: 11.92 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1632, allocations: 4 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1634, allocations: 141.8 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1634, allocations: 0 / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1637, allocations: 28 kB / 486.4 MB, free: 14.33 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.001694/0.1654, allocations: 1.087 MB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1656, allocations: 55.91 kB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1656, allocations: 4 kB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.1657, allocations: 27.98 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.166, allocations: 39.36 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.1683, allocations: 1.639 MB / 489.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.1688, allocations: 0.7117 MB / 490 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.623e-05/0.1689, allocations: 17.17 kB / 490 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.1689, allocations: 35.42 kB / 490 MB, free: 10.74 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1689, allocations: 0 / 490 MB, free: 10.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.1901, allocations: 3.232 MB / 493.2 MB, free: 7.625 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003535/0.1905, allocations: 233.2 kB / 493.5 MB, free: 7.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.054, allocations: 0 / 493.5 MB, free: 7.371 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches