Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",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.001362, 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.00174/0.00174, 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.502/1.502, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2456/0.2456, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 71.39 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.133, allocations: 62.45 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003554/0.1366, allocations: 1.75 MB / 481.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.1383, allocations: 0.994 MB / 482.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1385, allocations: 0 / 482.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.1389, allocations: 55.75 kB / 482.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.1392, allocations: 87.72 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1395, allocations: 59.88 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1396, allocations: 91.7 kB / 482.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/0.1397, allocations: 12.22 kB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1398, allocations: 43.73 kB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.58e-05/0.1399, allocations: 35.83 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.14, allocations: 4 kB / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1401, allocations: 24 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.1401, allocations: 31.84 kB / 482.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.534e-05/0.1402, allocations: 43.61 kB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1404, allocations: 119.8 kB / 482.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1405, allocations: 0 / 482.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1405, allocations: 4 kB / 482.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1405, allocations: 0 / 482.7 MB, free: 2.27 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.000604/0.1411, allocations: 438.7 kB / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.1411, allocations: 12.86 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.1412, allocations: 34.75 kB / 483.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.1412, allocations: 8.844 kB / 483.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.1415, allocations: 220.9 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1415, allocations: 384 / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.1416, allocations: 11.88 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1417, allocations: 53.67 kB / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1417, allocations: 0 / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1418, allocations: 0 / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1418, allocations: 0 / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.397e-05/0.1418, allocations: 15.98 kB / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.1421, allocations: 189.7 kB / 483.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1423, allocations: 62.48 kB / 483.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.1424, allocations: 16.86 kB / 483.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.1424, allocations: 11.91 kB / 483.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.1426, allocations: 63.39 kB / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.1426, allocations: 4 kB / 483.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002997/0.1429, allocations: 93.48 kB / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.143, allocations: 63.34 kB / 484 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.1433, allocations: 267 kB / 484.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1433, allocations: 25.7 kB / 484.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.1434, allocations: 112.1 kB / 484.4 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.1434, allocations: 11.89 kB / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.1435, allocations: 21.72 kB / 484.4 MB, free: 356 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1436, allocations: 322.8 kB / 484.8 MB, free: 24 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.463e-05/0.1437, allocations: 15.98 kB / 484.8 MB, free: 8 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.1437, allocations: 33.73 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.897e-05/0.1438, allocations: 45.7 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1439, allocations: 4.188 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001773/0.144, allocations: 89.44 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1441, allocations: 7.984 kB / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1441, allocations: 0 / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1441, allocations: 4.031 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.1442, allocations: 12 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1442, allocations: 3.938 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.1442, allocations: 7.844 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1443, allocations: 4 kB / 485 MB, free: 15.78 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.0001234/0.1444, allocations: 137.8 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.1444, allocations: 7.906 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.1445, allocations: 20.98 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1445, allocations: 0 / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1445, allocations: 8 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1445, allocations: 0 / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.1447, allocations: 201.5 kB / 485.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1447, allocations: 0 / 485.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.1447, allocations: 7.984 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.1447, allocations: 0 / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1447, allocations: 0 / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1448, allocations: 4 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1448, allocations: 0 / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.145, allocations: 124.7 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.145, allocations: 85.02 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1451, allocations: 0 / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.945e-05/0.1451, allocations: 4 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.1452, allocations: 3.984 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.1452, allocations: 4 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.1454, allocations: 204.4 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1454, allocations: 0 / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.1456, allocations: 19.98 kB / 485.8 MB, free: 14.87 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.001444/0.1471, allocations: 0.9612 MB / 486.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1472, allocations: 39.98 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1473, allocations: 0 / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-05/0.1473, allocations: 24.05 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.1476, allocations: 30.2 kB / 486.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.1496, allocations: 1.69 MB / 488.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.15, allocations: 0.7198 MB / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.925e-05/0.1501, allocations: 12.55 kB / 489.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.1501, allocations: 43.42 kB / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1501, allocations: 0 / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.165, allocations: 3.24 MB / 492.6 MB, free: 8.207 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/0.1652, allocations: 239.2 kB / 492.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.025, allocations: 0 / 492.8 MB, free: 7.953 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches