Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",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.00119/0.00119, allocations: 99.61 kB / 16.26 MB, free: 5.93 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.001514/0.001514, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.735/1.735, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2342/0.2342, allocations: 43.52 MB / 313.9 MB, free: 0.5156 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.001568/0.001568, allocations: 70.47 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1262, allocations: 57.79 MB / 440.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003113/0.1293, allocations: 1.644 MB / 442.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1304, allocations: 0.7905 MB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-05/0.1306, allocations: 4 kB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.1309, allocations: 47.81 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1311, allocations: 63.69 kB / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1314, allocations: 79.77 kB / 443.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1315, allocations: 91.7 kB / 443.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.1316, allocations: 4.281 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.1317, allocations: 39.84 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.1318, allocations: 31.78 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1318, allocations: 4 kB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.214e-05/0.1319, allocations: 24 kB / 443.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.1319, allocations: 27.91 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.132, allocations: 39.73 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.1322, allocations: 119.5 kB / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1322, allocations: 4 kB / 443.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1322, allocations: 0 / 443.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1322, allocations: 0 / 443.6 MB, free: 3.746 MB / 318.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.0004559/0.1327, allocations: 438.6 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1327, allocations: 15.89 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.1327, allocations: 30.75 kB / 444.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.1328, allocations: 8.844 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.133, allocations: 219.5 kB / 444.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.133, allocations: 4.375 kB / 444.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.133, allocations: 7.938 kB / 444.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1332, allocations: 53.61 kB / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1332, allocations: 0 / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.1332, allocations: 0 / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1332, allocations: 0 / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.89e-05/0.1333, allocations: 15.98 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.1335, allocations: 193.6 kB / 444.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1336, allocations: 66.53 kB / 444.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.1337, allocations: 24.78 kB / 444.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1337, allocations: 3.938 kB / 444.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.1339, allocations: 63.39 kB / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1339, allocations: 0 / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002649/0.1342, allocations: 97.58 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.1342, allocations: 51.41 kB / 444.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1344, allocations: 255.7 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.1344, allocations: 25.7 kB / 445.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.1345, allocations: 116.1 kB / 445.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1345, allocations: 19.73 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.1345, allocations: 21.7 kB / 445.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.1346, allocations: 326.8 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.389e-05/0.1347, allocations: 16 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.756e-05/0.1347, allocations: 29.7 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.396e-05/0.1348, allocations: 41.7 kB / 445.7 MB, free: 1.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1348, allocations: 7.875 kB / 445.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001416/0.135, allocations: 85.44 kB / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.135, allocations: 4 kB / 445.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.135, allocations: 4.031 kB / 445.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.135, allocations: 4 kB / 445.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.1351, allocations: 15.98 kB / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1351, allocations: 160 / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.1352, allocations: 4 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.1352, allocations: 0 / 445.9 MB, free: 1.27 MB / 318.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 8.851e-05/0.1353, allocations: 149 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.1353, allocations: 15.81 kB / 446 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.1353, allocations: 20.97 kB / 446 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1354, allocations: 8 kB / 446 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1354, allocations: 320 / 446 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1354, allocations: 0 / 446 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.1355, allocations: 193.6 kB / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1355, allocations: 4 kB / 446.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.1355, allocations: 4 kB / 446.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1355, allocations: 0 / 446.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1356, allocations: 0 / 446.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1356, allocations: 0 / 446.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1356, allocations: 0 / 446.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.1357, allocations: 124.8 kB / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.1358, allocations: 85.02 kB / 446.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1358, allocations: 0 / 446.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.1359, allocations: 3.984 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.1359, allocations: 8 kB / 446.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1359, allocations: 7.938 kB / 446.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1361, allocations: 195.3 kB / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1361, allocations: 0 / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.1363, allocations: 24 kB / 446.7 MB, free: 360 kB / 318.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.001317/0.1376, allocations: 0.9599 MB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.1378, allocations: 43.92 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1378, allocations: 64 / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/0.1379, allocations: 23.98 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.1382, allocations: 29.95 kB / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.14, allocations: 1.643 MB / 449.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1403, allocations: 0.7156 MB / 450.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.57e-05/0.1403, allocations: 12.55 kB / 450.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.1404, allocations: 35.42 kB / 450.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1404, allocations: 0 / 450.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.1637, allocations: 3.329 MB / 453.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/7.816, allocations: 11.69 kB / 453.5 MB, free: 9.484 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches