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.001213/0.001213, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3013/0.3013, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 70.83 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1306, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.004053/0.1347, allocations: 1.746 MB / 481.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.1366, allocations: 0.9925 MB / 482.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1368, allocations: 0 / 482.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.1372, allocations: 55.81 kB / 482.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.1377, allocations: 87.73 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1379, allocations: 59.83 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.1382, allocations: 107.7 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/0.1383, allocations: 8.234 kB / 482.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1384, allocations: 39.8 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.984e-05/0.1385, allocations: 35.83 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1385, allocations: 4 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1386, allocations: 27.94 kB / 482.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.1387, allocations: 39.84 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.435e-05/0.1388, allocations: 35.69 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.139, allocations: 123.8 kB / 483 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.139, allocations: 0 / 483 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.139, allocations: 0 / 483 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1391, allocations: 4 kB / 483 MB, free: 2.141 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.0007442/0.1398, allocations: 442.7 kB / 483.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.1399, allocations: 12.03 kB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.1399, allocations: 38.69 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.14, allocations: 8.844 kB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.1403, allocations: 216.9 kB / 483.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1403, allocations: 384 / 483.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.1403, allocations: 7.938 kB / 483.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1405, allocations: 53.67 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1405, allocations: 0 / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1405, allocations: 0 / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1405, allocations: 0 / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.131e-05/0.1406, allocations: 23.92 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.1409, allocations: 185.7 kB / 483.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.1411, allocations: 54.56 kB / 484 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.1411, allocations: 24.84 kB / 484 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.1412, allocations: 4 kB / 484 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.1414, allocations: 71.31 kB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.436e-06/0.1414, allocations: 3.984 kB / 484.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003443/0.1418, allocations: 101.4 kB / 484.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.1419, allocations: 55.41 kB / 484.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.1422, allocations: 267 kB / 484.5 MB, free: 408 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1422, allocations: 29.7 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.1423, allocations: 116.1 kB / 484.6 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.1423, allocations: 11.89 kB / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.1424, allocations: 17.72 kB / 484.7 MB, free: 216 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1426, allocations: 326.8 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.1426, allocations: 15.98 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.1427, allocations: 37.69 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.651e-05/0.1428, allocations: 41.66 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1428, allocations: 3.938 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002303/0.143, allocations: 93.42 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1431, allocations: 4 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1431, allocations: 0 / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1431, allocations: 4 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.1432, allocations: 12.03 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1432, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.1433, allocations: 11.84 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1433, allocations: 3.984 kB / 485.2 MB, free: 15.64 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.0001277/0.1434, allocations: 137.8 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.1434, allocations: 11.91 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.1435, allocations: 17 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1435, allocations: 0 / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1435, allocations: 0 / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1435, allocations: 4 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.1437, allocations: 205.5 kB / 485.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1437, allocations: 0 / 485.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.1437, allocations: 4 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1438, allocations: 3.938 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1438, allocations: 4 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.1438, allocations: 320 / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1438, allocations: 0 / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.144, allocations: 120.9 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.1441, allocations: 88.95 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1441, allocations: 4 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.1441, allocations: 3.984 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.1442, allocations: 4 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1442, allocations: 0 / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1444, allocations: 208.4 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1444, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1446, allocations: 16 kB / 486 MB, free: 14.73 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.001422/0.1461, allocations: 0.9515 MB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1463, allocations: 43.92 kB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1463, allocations: 0 / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.664e-05/0.1464, allocations: 19.98 kB / 487 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1467, allocations: 33.39 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.1488, allocations: 1.69 MB / 488.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.1492, allocations: 0.7166 MB / 489.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.882e-05/0.1493, allocations: 12.55 kB / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.193e-05/0.1494, allocations: 39.42 kB / 489.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1494, allocations: 4 kB / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.1655, allocations: 3.307 MB / 492.8 MB, free: 8.016 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/0.1658, allocations: 236.7 kB / 493.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.049, allocations: 0 / 493.1 MB, free: 7.762 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