Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008099/0.0008099, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008514/0.0008515, allocations: 186.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 223.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3605/0.3605, allocations: 43.58 MB / 315 MB, free: 8.723 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005074/0.0005074, allocations: 16 kB / 384.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 58.86 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002289/0.1241, allocations: 1.375 MB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1255, allocations: 0.7574 MB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1257, allocations: 3.938 kB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.126, allocations: 51.86 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.1263, allocations: 55.81 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.1266, allocations: 75.86 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.1269, allocations: 95.67 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.022e-05/0.1269, allocations: 7.984 kB / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1271, allocations: 39.8 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1272, allocations: 35.78 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.1272, allocations: 3.984 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1273, allocations: 27.94 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.1274, allocations: 23.91 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.714e-05/0.1275, allocations: 65.39 kB / 446.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1277, allocations: 115.9 kB / 446.3 MB, free: 9.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1277, allocations: 4 kB / 446.3 MB, free: 9.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1277, allocations: 3.938 kB / 446.3 MB, free: 9.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1277, allocations: 0 / 446.3 MB, free: 9.809 MB / 382.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.0005349/0.1283, allocations: 410.9 kB / 446.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1283, allocations: 8.031 kB / 446.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.1284, allocations: 38.73 kB / 446.7 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1284, allocations: 12.75 kB / 446.7 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1287, allocations: 219.7 kB / 447 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1287, allocations: 8.375 kB / 447 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.1287, allocations: 3.938 kB / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1289, allocations: 49.67 kB / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1289, allocations: 0 / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1289, allocations: 0 / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1289, allocations: 3.938 kB / 447 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.494e-05/0.129, allocations: 12 kB / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.1292, allocations: 189.7 kB / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.1294, allocations: 58.55 kB / 447.3 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.1294, allocations: 20.86 kB / 447.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1295, allocations: 4 kB / 447.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.1296, allocations: 67.33 kB / 447.4 MB, free: 8.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.1296, allocations: 0 / 447.4 MB, free: 8.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003088/0.13, allocations: 101.5 kB / 447.5 MB, free: 8.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.13, allocations: 55.39 kB / 447.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.1303, allocations: 255.7 kB / 447.8 MB, free: 8.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1303, allocations: 29.69 kB / 447.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.1304, allocations: 108.1 kB / 447.9 MB, free: 7.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.1304, allocations: 15.89 kB / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.1305, allocations: 9.719 kB / 447.9 MB, free: 7.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1306, allocations: 326.8 kB / 448.2 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.1307, allocations: 19.98 kB / 448.3 MB, free: 7.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.477e-05/0.1308, allocations: 29.66 kB / 448.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1309, allocations: 41.7 kB / 448.3 MB, free: 7.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1309, allocations: 3.938 kB / 448.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001647/0.1311, allocations: 85.44 kB / 448.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1311, allocations: 7.984 kB / 448.4 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1311, allocations: 0 / 448.4 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1311, allocations: 8.031 kB / 448.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.1312, allocations: 8 kB / 448.4 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1312, allocations: 3.938 kB / 448.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.689e-05/0.1313, allocations: 15.84 kB / 448.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1313, allocations: 0 / 448.5 MB, free: 7.375 MB / 382.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.0001202/0.1314, allocations: 133.8 kB / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.1315, allocations: 15.89 kB / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.1315, allocations: 16.98 kB / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1315, allocations: 11.94 kB / 448.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1315, allocations: 0 / 448.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1315, allocations: 0 / 448.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1317, allocations: 201.5 kB / 448.8 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1317, allocations: 0 / 448.8 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.1317, allocations: 4 kB / 448.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1317, allocations: 320 / 448.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1318, allocations: 3.984 kB / 448.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1318, allocations: 4 kB / 448.8 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1318, allocations: 4 kB / 448.9 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.132, allocations: 116.9 kB / 449 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.132, allocations: 88.92 kB / 449.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1321, allocations: 0 / 449.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.1321, allocations: 4 kB / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.1321, allocations: 7.984 kB / 449.1 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1322, allocations: 7.938 kB / 449.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.1323, allocations: 203 kB / 449.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1324, allocations: 0 / 449.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.1326, allocations: 23.98 kB / 449.3 MB, free: 6.449 MB / 382.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.00135/0.1339, allocations: 0.9545 MB / 450.2 MB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.1341, allocations: 43.92 kB / 450.3 MB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1341, allocations: 4.062 kB / 450.3 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.196e-05/0.1342, allocations: 16 kB / 450.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.1344, allocations: 27.95 kB / 450.3 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.1362, allocations: 1.676 MB / 452 MB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1365, allocations: 0.7121 MB / 452.7 MB, free: 2.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.839e-05/0.1366, allocations: 12.55 kB / 452.7 MB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.1367, allocations: 35.42 kB / 452.8 MB, free: 2.859 MB / 382.1 MB Notification: Performance of SimCode: time 2.174e-06/0.1367, allocations: 0 / 452.8 MB, free: 2.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2205/0.3572, allocations: 2.963 MB / 455.7 MB, free: 45.42 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.3574, allocations: 235.7 kB / 456 MB, free: 45.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.191, allocations: 0 / 456 MB, free: 45.16 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches