Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 103.9 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.001884/0.001884, 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.493/1.493, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.11 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 76.53 kB / 417.2 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.129, allocations: 62.44 MB / 479.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003252/0.1323, allocations: 1.785 MB / 481.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.134, allocations: 1.01 MB / 482.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1341, allocations: 0 / 482.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.1345, allocations: 83.78 kB / 482.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.1349, allocations: 99.7 kB / 482.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1352, allocations: 67.81 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.1354, allocations: 115.7 kB / 482.8 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1355, allocations: 12 kB / 482.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1356, allocations: 55.75 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1357, allocations: 67.7 kB / 482.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1358, allocations: 4 kB / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.1359, allocations: 39.98 kB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.136, allocations: 23.91 kB / 483 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.136, allocations: 39.73 kB / 483 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1363, allocations: 123.8 kB / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1363, allocations: 0 / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1363, allocations: 0 / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1363, allocations: 4 kB / 483.1 MB, free: 2.004 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.000575/0.1369, allocations: 426.9 kB / 483.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.1369, allocations: 12.03 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.137, allocations: 34.75 kB / 483.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.137, allocations: 16.75 kB / 483.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1373, allocations: 208.5 kB / 483.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1373, allocations: 384 / 483.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.1374, allocations: 15.88 kB / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1375, allocations: 49.67 kB / 483.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1375, allocations: 0 / 483.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1376, allocations: 8 kB / 483.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1376, allocations: 4 kB / 483.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.296e-05/0.1377, allocations: 23.92 kB / 483.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.1381, allocations: 292.9 kB / 484.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1383, allocations: 54.69 kB / 484.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.1384, allocations: 20.84 kB / 484.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1384, allocations: 4 kB / 484.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.1386, allocations: 71.33 kB / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1386, allocations: 0 / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000599/0.1393, allocations: 177 kB / 484.5 MB, free: 444 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.1393, allocations: 51.41 kB / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1395, allocations: 232.2 kB / 484.8 MB, free: 136 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1396, allocations: 33.7 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.1397, allocations: 108.2 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.1397, allocations: 23.66 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.1398, allocations: 17.72 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1399, allocations: 330.8 kB / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.646e-05/0.1399, allocations: 16 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.14, allocations: 33.7 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1401, allocations: 73.55 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1401, allocations: 0 / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002584/0.1404, allocations: 101.4 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1404, allocations: 7.984 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1405, allocations: 0 / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1405, allocations: 0 / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.1406, allocations: 16 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1406, allocations: 160 / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.1406, allocations: 11.97 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1407, allocations: 11.97 kB / 485.6 MB, free: 15.32 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.0001156/0.1408, allocations: 132.4 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.1408, allocations: 7.906 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.1409, allocations: 21.39 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.1409, allocations: 3.984 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1409, allocations: 3.938 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1409, allocations: 3.938 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.1414, allocations: 407.6 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1414, allocations: 0 / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.1415, allocations: 15.94 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1415, allocations: 3.938 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1415, allocations: 8 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1415, allocations: 0 / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1415, allocations: 0 / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.1417, allocations: 200.3 kB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.1418, allocations: 88.92 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.1418, allocations: 7.938 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.1419, allocations: 4 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.1419, allocations: 7.984 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.142, allocations: 8.125 kB / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.1421, allocations: 165.2 kB / 486.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1421, allocations: 7.938 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1424, allocations: 23.98 kB / 486.7 MB, free: 14.12 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.001472/0.1439, allocations: 1.087 MB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.1441, allocations: 63.84 kB / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1441, allocations: 0 / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.1442, allocations: 31.92 kB / 487.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.1446, allocations: 29.19 kB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.1468, allocations: 1.722 MB / 489.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.1472, allocations: 0.7157 MB / 490.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.622e-05/0.1473, allocations: 8.891 kB / 490.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-05/0.1474, allocations: 43.41 kB / 490.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1474, allocations: 0 / 490.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.934/2.082, allocations: 3.387 MB / 493.7 MB, free: 7.16 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/2.082, allocations: 232.8 kB / 494 MB, free: 6.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/4.07, allocations: 0 / 494 MB, free: 6.906 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches