Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",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.001645/0.001645, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 242.2 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 64.75 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1218, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003801/0.1257, allocations: 1.704 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1274, allocations: 0.8808 MB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9e-05/0.1275, allocations: 3.938 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.1278, allocations: 43.83 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.1281, allocations: 59.75 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1284, allocations: 107.6 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.1287, allocations: 91.7 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1288, allocations: 12.23 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1289, allocations: 43.78 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.129, allocations: 31.78 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.129, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1292, allocations: 40 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.188e-05/0.1292, allocations: 31.89 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.925e-05/0.1293, allocations: 35.69 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.1296, allocations: 119.8 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1296, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1296, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.1296, allocations: 4 kB / 472.6 MB, free: 11.04 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.000734/0.1303, allocations: 422.9 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1304, allocations: 12.03 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.217e-05/0.1305, allocations: 38.73 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.1305, allocations: 12.75 kB / 473 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.1308, allocations: 208 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1309, allocations: 8.375 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.1309, allocations: 7.922 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1311, allocations: 57.67 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1311, allocations: 4 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1311, allocations: 0 / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1311, allocations: 0 / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.203e-05/0.1312, allocations: 23.92 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.1316, allocations: 288.7 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1318, allocations: 62.67 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.1319, allocations: 16.86 kB / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1319, allocations: 4 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.1322, allocations: 67.33 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1322, allocations: 0 / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005834/0.1328, allocations: 177.2 kB / 473.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1328, allocations: 55.41 kB / 474 MB, free: 9.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.133, allocations: 230.5 kB / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1331, allocations: 29.7 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.1331, allocations: 112.1 kB / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.1332, allocations: 27.64 kB / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.1332, allocations: 21.72 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1334, allocations: 326.8 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.1334, allocations: 23.98 kB / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.1335, allocations: 37.7 kB / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1336, allocations: 53.66 kB / 474.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1336, allocations: 0 / 474.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.1338, allocations: 105.6 kB / 475 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.1339, allocations: 4.188 kB / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1339, allocations: 3.938 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1339, allocations: 11.97 kB / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.134, allocations: 15.98 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.134, allocations: 0 / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.037e-05/0.1341, allocations: 7.938 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1341, allocations: 0 / 475 MB, free: 8.363 MB / 350.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.0001154/0.1342, allocations: 130.9 kB / 475.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.1343, allocations: 23.73 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.1343, allocations: 13.41 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1343, allocations: 7.984 kB / 475.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1344, allocations: 4 kB / 475.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1344, allocations: 3.938 kB / 475.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.1348, allocations: 391.3 kB / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.1349, allocations: 0 / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.1349, allocations: 11.94 kB / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.1349, allocations: 7.938 kB / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1349, allocations: 7.984 kB / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1349, allocations: 32 / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1349, allocations: 4 kB / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.1352, allocations: 204.2 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.1353, allocations: 85.02 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.1353, allocations: 7.938 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.1354, allocations: 4.359 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.1354, allocations: 8 kB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1355, allocations: 4 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.1356, allocations: 175.2 kB / 476.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1356, allocations: 3.938 kB / 476.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1359, allocations: 20 kB / 476.1 MB, free: 7.164 MB / 350.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.001564/0.1375, allocations: 1.105 MB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.1377, allocations: 59.91 kB / 477.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1377, allocations: 8.062 kB / 477.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.058e-05/0.1378, allocations: 27.92 kB / 477.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1381, allocations: 31.36 kB / 477.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.14, allocations: 1.716 MB / 479 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.1403, allocations: 0.7041 MB / 479.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.503e-05/0.1404, allocations: 16.88 kB / 479.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.1405, allocations: 39.42 kB / 479.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1405, allocations: 0 / 479.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.1642, allocations: 3.454 MB / 483.2 MB, free: 136 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/7.842, allocations: 15.92 kB / 483.3 MB, free: 120 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches