Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001153, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002931/0.002932, allocations: 81.16 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1283, allocations: 62.45 MB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004183/0.1325, allocations: 1.72 MB / 481.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1345, allocations: 1.025 MB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.1347, allocations: 0 / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.1351, allocations: 39.77 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.1355, allocations: 91.61 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.1358, allocations: 83.66 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.136, allocations: 99.7 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1361, allocations: 11.98 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.471e-05/0.1362, allocations: 51.72 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.391e-05/0.1363, allocations: 27.8 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1363, allocations: 4 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1364, allocations: 47.97 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.1365, allocations: 27.86 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.1366, allocations: 27.81 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1368, allocations: 115.9 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1368, allocations: 0 / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1368, allocations: 0 / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1368, allocations: 3.938 kB / 483.5 MB, free: 1.77 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.0005702/0.1374, allocations: 411 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1374, allocations: 8.031 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.837e-05/0.1376, allocations: 34.75 kB / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.1376, allocations: 16.75 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.1379, allocations: 212.1 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1379, allocations: 4.359 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1379, allocations: 7.938 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1381, allocations: 53.67 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1381, allocations: 0 / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1381, allocations: 3.938 kB / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1381, allocations: 3.984 kB / 484.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.1382, allocations: 16 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1386, allocations: 288.9 kB / 484.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1388, allocations: 54.69 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.1389, allocations: 24.78 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1389, allocations: 4 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.1391, allocations: 71.39 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.644e-06/0.1391, allocations: 0 / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005231/0.1397, allocations: 173.2 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1397, allocations: 55.41 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1399, allocations: 191.3 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1399, allocations: 29.7 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.14, allocations: 100 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.14, allocations: 31.64 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1401, allocations: 21.72 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1402, allocations: 322.8 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.1403, allocations: 23.98 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.1404, allocations: 33.7 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1405, allocations: 65.7 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1405, allocations: 8 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001792/0.1407, allocations: 93.72 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1407, allocations: 4 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1407, allocations: 7.938 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1407, allocations: 0 / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.1408, allocations: 15.98 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1408, allocations: 0 / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.1409, allocations: 11.94 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1409, allocations: 4 kB / 485.9 MB, free: 15.16 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.889e-05/0.141, allocations: 125.9 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.141, allocations: 11.81 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.1411, allocations: 13.41 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1411, allocations: 3.938 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1411, allocations: 4 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1411, allocations: 7.922 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.1416, allocations: 383.3 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1416, allocations: 7.969 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.1416, allocations: 8 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1416, allocations: 7.938 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1416, allocations: 4 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1416, allocations: 0 / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1416, allocations: 4.359 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1419, allocations: 200.3 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.1419, allocations: 88.92 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.142, allocations: 11.94 kB / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.142, allocations: 4 kB / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.1421, allocations: 11.92 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1421, allocations: 7.938 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1422, allocations: 139.9 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1422, allocations: 4 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1425, allocations: 20 kB / 486.9 MB, free: 14.01 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.001362/0.1438, allocations: 1.095 MB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.144, allocations: 59.91 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.144, allocations: 0 / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.344e-05/0.1441, allocations: 35.91 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.1445, allocations: 30.48 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.1462, allocations: 1.626 MB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1464, allocations: 0.7041 MB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.494e-05/0.1465, allocations: 17.19 kB / 490.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.1466, allocations: 35.42 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1466, allocations: 0 / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.1663, allocations: 3.318 MB / 493.8 MB, free: 7.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.335/7.501, allocations: 15.38 kB / 493.8 MB, free: 7.184 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches