Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.00131/0.00131, allocations: 105.8 kB / 16.41 MB, free: 6.504 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.001421/0.001422, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.436/1.436, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2202/0.2202, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.00203/0.00203, allocations: 73.45 kB / 441.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1212, allocations: 57.78 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003724/0.125, allocations: 1.848 MB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1266, allocations: 0.9013 MB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.1267, allocations: 0 / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.1272, allocations: 159.5 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.1275, allocations: 147.4 kB / 0.4905 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.1279, allocations: 139.6 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.1282, allocations: 219.3 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1283, allocations: 21.53 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1285, allocations: 95.66 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1286, allocations: 131.6 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.1287, allocations: 8 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1288, allocations: 47.92 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.317e-05/0.1289, allocations: 39.84 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.868e-05/0.129, allocations: 83.41 kB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.1293, allocations: 195 kB / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1293, allocations: 4 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1293, allocations: 0 / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1293, allocations: 0 / 0.4914 GB, free: 8.191 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007336/0.13, allocations: 0.5136 MB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1301, allocations: 11.89 kB / 0.4919 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.1301, allocations: 38.75 kB / 0.4919 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.1302, allocations: 28.73 kB / 0.492 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.1306, allocations: 267.8 kB / 0.4922 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1306, allocations: 4.375 kB / 0.4922 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.1307, allocations: 11.94 kB / 0.4922 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.1309, allocations: 103.3 kB / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.1309, allocations: 3.984 kB / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.131, allocations: 0 / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.131, allocations: 4 kB / 0.4923 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1311, allocations: 39.91 kB / 0.4924 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.1317, allocations: 437 kB / 0.4928 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.132, allocations: 117.3 kB / 0.4929 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1321, allocations: 37.7 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.1321, allocations: 8 kB / 0.493 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.1324, allocations: 113 kB / 0.4931 GB, free: 6.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1324, allocations: 0 / 0.4931 GB, free: 6.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009323/0.1333, allocations: 361.3 kB / 0.4934 GB, free: 5.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.1334, allocations: 96.92 kB / 0.4935 GB, free: 5.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/0.1338, allocations: 355 kB / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1338, allocations: 29.7 kB / 0.4939 GB, free: 5.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.134, allocations: 144.4 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.134, allocations: 51.53 kB / 0.4941 GB, free: 5.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.1341, allocations: 29.72 kB / 0.4941 GB, free: 5.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1343, allocations: 342.8 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1344, allocations: 39.98 kB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1345, allocations: 78.97 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.1347, allocations: 119.3 kB / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1348, allocations: 0 / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003286/0.1351, allocations: 185.5 kB / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1351, allocations: 4 kB / 0.4948 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1351, allocations: 4 kB / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1351, allocations: 0 / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.1353, allocations: 47.8 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1353, allocations: 0 / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.493e-05/0.1354, allocations: 7.984 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1354, allocations: 8 kB / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001478/0.1356, allocations: 161.8 kB / 0.495 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.1356, allocations: 23.86 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.372e-05/0.1357, allocations: 29.73 kB / 0.4951 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1357, allocations: 7.938 kB / 0.4951 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1357, allocations: 0 / 0.4951 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1357, allocations: 3.984 kB / 0.4951 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/0.1365, allocations: 0.6125 MB / 0.4957 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1365, allocations: 4.031 kB / 0.4957 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.1366, allocations: 16 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1366, allocations: 0 / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.1366, allocations: 11.98 kB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.1366, allocations: 4 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1366, allocations: 0 / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.1371, allocations: 368.2 kB / 0.4961 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.1371, allocations: 96.92 kB / 0.4962 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.1372, allocations: 8 kB / 0.4962 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1373, allocations: 7.984 kB / 0.4962 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.1374, allocations: 15.98 kB / 0.4962 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.1374, allocations: 4 kB / 0.4962 GB, free: 2.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002843/0.1377, allocations: 269.9 kB / 0.4965 GB, free: 2.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1377, allocations: 0 / 0.4965 GB, free: 2.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.138, allocations: 32 kB / 0.4965 GB, free: 2.551 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002355/0.1404, allocations: 1.268 MB / 0.4977 GB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.1407, allocations: 120 kB / 0.4979 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1407, allocations: 4.125 kB / 0.4979 GB, free: 1.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.1409, allocations: 64.06 kB / 0.4979 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.1414, allocations: 52.84 kB / 0.498 GB, free: 1.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.1443, allocations: 2.454 MB / 0.5004 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1447, allocations: 0.7515 MB / 0.5011 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.733e-05/0.1448, allocations: 26.25 kB / 0.5011 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1449, allocations: 75.39 kB / 0.5012 GB, free: 13.62 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.145, allocations: 7.938 kB / 0.5012 GB, free: 13.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.1785, allocations: 5.414 MB / 0.5065 GB, free: 8.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/8.014, allocations: 0 / 0.5065 GB, free: 8.168 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches