Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, 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.001383/0.001383, 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.423/1.423, 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.217/0.217, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 77.44 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1382, allocations: 62.45 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003495/0.1417, allocations: 1.692 MB / 481.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.1434, allocations: 1.005 MB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.1435, allocations: 0 / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.1438, allocations: 63.72 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.1442, allocations: 107.6 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.1443, allocations: 71.67 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1445, allocations: 103.7 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.1446, allocations: 12.23 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1447, allocations: 51.77 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.608e-05/0.1448, allocations: 39.84 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1448, allocations: 7.938 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.87e-05/0.1449, allocations: 39.97 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.145, allocations: 15.92 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.145, allocations: 31.75 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1453, allocations: 103.9 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.1453, allocations: 8 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1453, allocations: 0 / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1453, allocations: 4 kB / 483.5 MB, free: 1.844 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006549/0.146, allocations: 399 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.146, allocations: 8.031 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.1461, allocations: 38.67 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.1461, allocations: 12.84 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1464, allocations: 216.7 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1464, allocations: 4.375 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.1464, allocations: 3.938 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1466, allocations: 49.67 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1466, allocations: 7.984 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1466, allocations: 0 / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1466, allocations: 0 / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.272e-05/0.1467, allocations: 12 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.147, allocations: 185.6 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1472, allocations: 54.56 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.1472, allocations: 24.84 kB / 484.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.1473, allocations: 4 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.1475, allocations: 67.3 kB / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1475, allocations: 0 / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002919/0.1478, allocations: 93.52 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.1478, allocations: 55.41 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.148, allocations: 194.4 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1481, allocations: 25.7 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.1481, allocations: 108.1 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.1482, allocations: 7.812 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.1482, allocations: 25.7 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1484, allocations: 318.8 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.1484, allocations: 12 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.1485, allocations: 37.7 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.947e-05/0.1486, allocations: 49.89 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1486, allocations: 3.938 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001622/0.1488, allocations: 81.53 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1488, allocations: 4 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1488, allocations: 0 / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1488, allocations: 0 / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.631e-05/0.1489, allocations: 16.03 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1489, allocations: 0 / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.509e-05/0.149, allocations: 7.984 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.149, allocations: 0 / 485.6 MB, free: 15.52 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 (7): * Single equations (assignments): 7 * 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.0001/0.1491, allocations: 129.7 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.1491, allocations: 15.81 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.1492, allocations: 16.98 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1492, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1492, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1492, allocations: 4 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.1494, allocations: 193.5 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1494, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.1494, allocations: 7.938 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1494, allocations: 0 / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1494, allocations: 3.938 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1494, allocations: 4 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1494, allocations: 0 / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.1496, allocations: 109 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.1497, allocations: 85.02 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.1497, allocations: 4 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.538e-05/0.1498, allocations: 3.984 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.1498, allocations: 4.125 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.1498, allocations: 4 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.15, allocations: 148.2 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.15, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.1502, allocations: 27.91 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001495/0.1517, allocations: 0.9426 MB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.1519, allocations: 43.91 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1519, allocations: 0 / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.198e-05/0.152, allocations: 20.12 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.1523, allocations: 38.28 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.1541, allocations: 1.498 MB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1544, allocations: 0.7049 MB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.96e-05/0.1544, allocations: 8.547 kB / 489.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.248e-05/0.1545, allocations: 35.42 kB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1545, allocations: 0 / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.1773, allocations: 3.063 MB / 492.7 MB, free: 8.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.398/7.576, allocations: 10.8 kB / 492.7 MB, free: 8.379 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches