Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001396/0.001396, allocations: 105.6 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.001685/0.001685, allocations: 209.8 kB / 18.26 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.446/1.446, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.11 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 71.89 kB / 417.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1446, allocations: 62.44 MB / 479.6 MB, free: 8.816 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.0036/0.1482, allocations: 1.777 MB / 481.4 MB, free: 7.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.1509, allocations: 1.604 MB / 483 MB, free: 5.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.151, allocations: 0 / 483 MB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1514, allocations: 23.91 kB / 483 MB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.1518, allocations: 87.67 kB / 483.1 MB, free: 5.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.1521, allocations: 67.88 kB / 483.2 MB, free: 5.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.1523, allocations: 111.6 kB / 483.3 MB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1524, allocations: 12 kB / 483.3 MB, free: 5.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1525, allocations: 47.77 kB / 483.3 MB, free: 5.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1527, allocations: 43.78 kB / 483.4 MB, free: 5.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.1528, allocations: 8 kB / 483.4 MB, free: 5.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.153, allocations: 107.9 kB / 483.5 MB, free: 4.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.1531, allocations: 19.86 kB / 483.5 MB, free: 4.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.1531, allocations: 39.81 kB / 483.5 MB, free: 4.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.1535, allocations: 171.8 kB / 483.7 MB, free: 4.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1535, allocations: 0 / 483.7 MB, free: 4.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1535, allocations: 0 / 483.7 MB, free: 4.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1535, allocations: 0 / 483.7 MB, free: 4.68 MB / 398.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.000751/0.1543, allocations: 423.1 kB / 484.1 MB, free: 4.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.1544, allocations: 12.03 kB / 484.1 MB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.1544, allocations: 30.75 kB / 484.2 MB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.1545, allocations: 12.75 kB / 484.2 MB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.1548, allocations: 212.5 kB / 484.4 MB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1548, allocations: 0 / 484.4 MB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.1549, allocations: 11.98 kB / 484.4 MB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.1551, allocations: 71.33 kB / 484.5 MB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1551, allocations: 3.906 kB / 484.5 MB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1552, allocations: 0 / 484.5 MB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1552, allocations: 0 / 484.5 MB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.128e-05/0.1553, allocations: 19.98 kB / 484.5 MB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.1557, allocations: 284.9 kB / 484.8 MB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1559, allocations: 62.61 kB / 484.8 MB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.471e-05/0.156, allocations: 20.84 kB / 484.9 MB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.156, allocations: 0 / 484.9 MB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.1562, allocations: 71.39 kB / 484.9 MB, free: 3.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.1563, allocations: 0 / 484.9 MB, free: 3.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006258/0.1569, allocations: 181.4 kB / 485.1 MB, free: 3.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.157, allocations: 85.05 kB / 485.2 MB, free: 3.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.1572, allocations: 165.4 kB / 485.3 MB, free: 2.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1572, allocations: 29.7 kB / 485.4 MB, free: 2.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.1572, allocations: 96.14 kB / 485.5 MB, free: 2.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.1573, allocations: 31.64 kB / 485.5 MB, free: 2.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.1573, allocations: 17.72 kB / 485.5 MB, free: 2.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1575, allocations: 322.8 kB / 485.8 MB, free: 2.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-05/0.1576, allocations: 31.86 kB / 485.9 MB, free: 2.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.1576, allocations: 38.56 kB / 485.9 MB, free: 2.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.1578, allocations: 65.8 kB / 486 MB, free: 2.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1578, allocations: 4 kB / 486 MB, free: 2.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002216/0.158, allocations: 97.7 kB / 486.1 MB, free: 2.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.158, allocations: 8 kB / 486.1 MB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1581, allocations: 3.938 kB / 486.1 MB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1581, allocations: 0 / 486.1 MB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.1582, allocations: 19.92 kB / 486.1 MB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1582, allocations: 4 kB / 486.1 MB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.1582, allocations: 4 kB / 486.1 MB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1583, allocations: 4 kB / 486.1 MB, free: 2.027 MB / 398.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.0002224/0.1585, allocations: 129.8 kB / 486.2 MB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.1585, allocations: 7.906 kB / 486.2 MB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.1586, allocations: 12.72 kB / 486.3 MB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1586, allocations: 3.938 kB / 486.3 MB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1586, allocations: 0 / 486.3 MB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1586, allocations: 0 / 486.3 MB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.1591, allocations: 407.2 kB / 486.7 MB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1591, allocations: 3.938 kB / 486.7 MB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.1592, allocations: 8 kB / 486.7 MB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1592, allocations: 0 / 486.7 MB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1592, allocations: 0 / 486.7 MB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1592, allocations: 4 kB / 486.7 MB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1592, allocations: 0 / 486.7 MB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.1595, allocations: 208.2 kB / 486.9 MB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.1595, allocations: 88.94 kB / 487 MB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.1596, allocations: 4 kB / 487 MB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.1597, allocations: 4 kB / 487 MB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.1597, allocations: 7.984 kB / 487 MB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.1597, allocations: 4 kB / 487 MB, free: 1.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1599, allocations: 126.3 kB / 487.1 MB, free: 0.9219 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1599, allocations: 0 / 487.1 MB, free: 0.9219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003282/0.1602, allocations: 51.92 kB / 487.2 MB, free: 0.8711 MB / 398.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.001954/0.1622, allocations: 1.183 MB / 488.3 MB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.1624, allocations: 63.91 kB / 488.4 MB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1624, allocations: 0 / 488.4 MB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.642e-05/0.1625, allocations: 23.98 kB / 488.4 MB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1628, allocations: 38.39 kB / 488.5 MB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.1646, allocations: 1.594 MB / 490.1 MB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.165, allocations: 0.7012 MB / 490.8 MB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.484e-05/0.1651, allocations: 20.86 kB / 490.8 MB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.1652, allocations: 43.34 kB / 490.8 MB, free: 13.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1652, allocations: 0 / 490.8 MB, free: 13.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.1811, allocations: 3.863 MB / 494.7 MB, free: 9.504 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.1813, allocations: 236.7 kB / 494.9 MB, free: 9.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.187, allocations: 0 / 494.9 MB, free: 9.25 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches