Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 75.56 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1324, allocations: 62.44 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003628/0.1361, allocations: 1.797 MB / 481.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.138, allocations: 1.024 MB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.1382, allocations: 0 / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.1386, allocations: 51.75 kB / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.139, allocations: 79.73 kB / 482.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.1393, allocations: 63.88 kB / 482.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.1395, allocations: 95.7 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1396, allocations: 19.97 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1398, allocations: 35.8 kB / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1399, allocations: 35.78 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.1399, allocations: 4 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1401, allocations: 51.91 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.1402, allocations: 19.92 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.501e-05/0.1402, allocations: 39.69 kB / 482.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.1405, allocations: 123.9 kB / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1405, allocations: 3.938 kB / 482.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1405, allocations: 0 / 482.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1405, allocations: 0 / 482.8 MB, free: 2.184 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.0006865/0.1412, allocations: 430.9 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1413, allocations: 12.88 kB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.1413, allocations: 34.75 kB / 483.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.1414, allocations: 8.844 kB / 483.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.1417, allocations: 224.7 kB / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1417, allocations: 384 / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1417, allocations: 7.938 kB / 483.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1419, allocations: 53.67 kB / 483.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1419, allocations: 3.984 kB / 483.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1419, allocations: 0 / 483.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1419, allocations: 0 / 483.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.142, allocations: 19.98 kB / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.1425, allocations: 308.7 kB / 483.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1427, allocations: 54.67 kB / 484 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.1428, allocations: 20.86 kB / 484 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1428, allocations: 0 / 484 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.1432, allocations: 75.31 kB / 484 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.457e-06/0.1432, allocations: 0 / 484 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000592/0.1438, allocations: 173.1 kB / 484.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.1439, allocations: 59.34 kB / 484.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.1442, allocations: 239 kB / 484.5 MB, free: 296 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.1443, allocations: 29.69 kB / 484.5 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.1443, allocations: 104.1 kB / 484.6 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.1444, allocations: 35.58 kB / 484.7 MB, free: 116 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.1445, allocations: 21.72 kB / 484.7 MB, free: 88 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1446, allocations: 330.8 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.1447, allocations: 16 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.1448, allocations: 37.7 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1449, allocations: 65.64 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1449, allocations: 384 / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002118/0.1452, allocations: 101.5 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1452, allocations: 4 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1452, allocations: 3.984 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1452, allocations: 8 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.1453, allocations: 15.94 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1453, allocations: 160 / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.1454, allocations: 11.94 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1454, allocations: 7.969 kB / 485.3 MB, free: 15.47 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.0001223/0.1455, allocations: 125.9 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1456, allocations: 11.91 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.1456, allocations: 25.39 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1456, allocations: 3.984 kB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1457, allocations: 0 / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1457, allocations: 3.938 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.1462, allocations: 407.2 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1462, allocations: 0 / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.1462, allocations: 8 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1463, allocations: 3.938 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1463, allocations: 3.984 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1463, allocations: 4 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1463, allocations: 3.938 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.1466, allocations: 200.3 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.064e-05/0.1467, allocations: 88.92 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.1467, allocations: 7.938 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.1468, allocations: 7.938 kB / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.1469, allocations: 7.984 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.1469, allocations: 4 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.1471, allocations: 176.4 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1471, allocations: 0 / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.1474, allocations: 20.19 kB / 486.4 MB, free: 14.27 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.001954/0.1494, allocations: 1.099 MB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1496, allocations: 55.92 kB / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1496, allocations: 0 / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.1497, allocations: 27.98 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.1501, allocations: 28.23 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.1526, allocations: 1.767 MB / 489.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.153, allocations: 0.7082 MB / 490.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.958e-05/0.1531, allocations: 16.88 kB / 490.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.1532, allocations: 39.42 kB / 490.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1532, allocations: 0 / 490.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.1697, allocations: 3.348 MB / 493.5 MB, free: 7.305 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/0.17, allocations: 244.6 kB / 493.7 MB, free: 7.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.052, allocations: 0 / 493.7 MB, free: 7.043 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches