Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 107.1 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, 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.2218/0.2218, allocations: 46.09 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 83.28 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1251, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003142/0.1282, allocations: 1.785 MB / 481.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1298, allocations: 1.006 MB / 482.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.1299, allocations: 3.938 kB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1301, allocations: 35.91 kB / 482.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.1304, allocations: 83.73 kB / 482.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.1307, allocations: 67.8 kB / 482.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1308, allocations: 99.7 kB / 482.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.427e-05/0.1309, allocations: 12 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.131, allocations: 51.7 kB / 482.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.1311, allocations: 31.8 kB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1311, allocations: 4 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.796e-05/0.1312, allocations: 43.98 kB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.1312, allocations: 23.91 kB / 482.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.1313, allocations: 39.73 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1315, allocations: 115.9 kB / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1315, allocations: 0 / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1315, allocations: 0 / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1315, allocations: 3.938 kB / 483 MB, free: 2.098 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.0004587/0.1319, allocations: 418.9 kB / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.132, allocations: 15.97 kB / 483.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.132, allocations: 30.75 kB / 483.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.1321, allocations: 12.78 kB / 483.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1323, allocations: 214.7 kB / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1323, allocations: 8.375 kB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1323, allocations: 3.938 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1324, allocations: 57.61 kB / 483.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1325, allocations: 7.906 kB / 483.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1325, allocations: 4 kB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.1325, allocations: 0 / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.782e-05/0.1326, allocations: 19.98 kB / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.1329, allocations: 284.9 kB / 484.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.133, allocations: 66.61 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.1331, allocations: 20.84 kB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.1331, allocations: 3.984 kB / 484.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.1333, allocations: 67.39 kB / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1333, allocations: 0 / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004599/0.1338, allocations: 169.2 kB / 484.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.1338, allocations: 55.41 kB / 484.4 MB, free: 488 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.134, allocations: 202.7 kB / 484.6 MB, free: 276 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.134, allocations: 25.7 kB / 484.7 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.134, allocations: 104.1 kB / 484.8 MB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.1341, allocations: 19.72 kB / 484.8 MB, free: 116 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.1341, allocations: 21.72 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1342, allocations: 330.8 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.1343, allocations: 16 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.1344, allocations: 41.64 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1345, allocations: 57.7 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1345, allocations: 4 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.1347, allocations: 101.4 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1347, allocations: 4 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1347, allocations: 4 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1347, allocations: 4.016 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.1348, allocations: 16 kB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.1348, allocations: 0 / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.1348, allocations: 7.938 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1349, allocations: 8.5 kB / 485.4 MB, free: 15.48 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 8.348e-05/0.1349, allocations: 129.8 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.135, allocations: 11.84 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.135, allocations: 21.39 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.135, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.135, allocations: 8 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.135, allocations: 3.938 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.1354, allocations: 395.2 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1354, allocations: 0 / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.1355, allocations: 11.98 kB / 486 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1355, allocations: 3.938 kB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1355, allocations: 4 kB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1355, allocations: 0 / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1355, allocations: 4.031 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.1357, allocations: 200.3 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.1358, allocations: 88.92 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.1358, allocations: 11.86 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.1359, allocations: 8 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.1359, allocations: 4 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.1359, allocations: 11.98 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1361, allocations: 148.8 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1361, allocations: 0 / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1363, allocations: 23.98 kB / 486.5 MB, free: 14.3 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.001249/0.1376, allocations: 1.086 MB / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.1377, allocations: 63.97 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1377, allocations: 0 / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.44e-05/0.1378, allocations: 35.98 kB / 487.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.1381, allocations: 23.92 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.1396, allocations: 1.667 MB / 489.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1399, allocations: 0.708 MB / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.1399, allocations: 17.17 kB / 490.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.14, allocations: 39.42 kB / 490.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.14, allocations: 0 / 490.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.1641, allocations: 3.279 MB / 493.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.1643, allocations: 238.2 kB / 493.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.114, allocations: 0 / 493.6 MB, free: 7.258 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches