Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",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.0009871/0.0009872, allocations: 96.14 kB / 15.87 MB, free: 16 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.001043/0.001043, allocations: 202.8 kB / 16.79 MB, free: 6.84 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.496/1.496, allocations: 205.1 MB / 222.6 MB, free: 4.781 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.3595/0.3595, allocations: 43.49 MB / 313.5 MB, free: 8.566 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.001336/0.001337, allocations: 71.91 kB / 382.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1287, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003051/0.1318, allocations: 1.756 MB / 441.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1331, allocations: 0.7963 MB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.1332, allocations: 0 / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.1335, allocations: 39.84 kB / 442.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.1337, allocations: 43.81 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.1339, allocations: 83.86 kB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.1341, allocations: 87.69 kB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1342, allocations: 16.22 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.1343, allocations: 39.78 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.1344, allocations: 23.86 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1344, allocations: 4 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.109e-05/0.1345, allocations: 47.91 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.1345, allocations: 19.92 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.1346, allocations: 31.75 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.1348, allocations: 111.9 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1348, allocations: 0 / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1348, allocations: 0 / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1348, allocations: 0 / 443 MB, free: 11.63 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005291/0.1353, allocations: 411 kB / 443.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1354, allocations: 8.031 kB / 443.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.1354, allocations: 34.75 kB / 443.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.1355, allocations: 8.844 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1357, allocations: 220 kB / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1357, allocations: 4.375 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1357, allocations: 3.938 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1359, allocations: 53.67 kB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1359, allocations: 7.938 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1359, allocations: 0 / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1359, allocations: 0 / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.127e-05/0.136, allocations: 23.98 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.1364, allocations: 292.7 kB / 444.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1365, allocations: 58.61 kB / 444.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.1366, allocations: 20.84 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1366, allocations: 0 / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.1368, allocations: 75.33 kB / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.1369, allocations: 0 / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005004/0.1374, allocations: 169.3 kB / 444.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1374, allocations: 59.33 kB / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1376, allocations: 182.1 kB / 444.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1376, allocations: 33.7 kB / 444.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.1377, allocations: 100.1 kB / 444.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1377, allocations: 23.7 kB / 444.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.1377, allocations: 25.72 kB / 444.8 MB, free: 9.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.1378, allocations: 322.8 kB / 445.1 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.1379, allocations: 19.98 kB / 445.1 MB, free: 9.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/0.138, allocations: 37.7 kB / 445.2 MB, free: 9.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1381, allocations: 57.66 kB / 445.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1381, allocations: 0 / 445.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001633/0.1382, allocations: 97.95 kB / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1383, allocations: 8 kB / 445.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1383, allocations: 0 / 445.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1383, allocations: 0 / 445.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.1384, allocations: 23.92 kB / 445.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1384, allocations: 4 kB / 445.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.1384, allocations: 7.938 kB / 445.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1385, allocations: 4 kB / 445.4 MB, free: 9.031 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 (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.541e-05/0.1386, allocations: 133.8 kB / 445.5 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.1386, allocations: 15.81 kB / 445.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.1386, allocations: 16.72 kB / 445.5 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1386, allocations: 0 / 445.5 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1386, allocations: 0 / 445.5 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1387, allocations: 3.938 kB / 445.5 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.139, allocations: 395.2 kB / 445.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1391, allocations: 0 / 445.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.1391, allocations: 12.03 kB / 445.9 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1391, allocations: 3.938 kB / 445.9 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1391, allocations: 8 kB / 445.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1391, allocations: 192 / 445.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1391, allocations: 3.938 kB / 445.9 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.1393, allocations: 200.2 kB / 446.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.1394, allocations: 93 kB / 446.2 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1394, allocations: 7.938 kB / 446.2 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.1395, allocations: 4 kB / 446.2 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.1395, allocations: 3.984 kB / 446.2 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1396, allocations: 4 kB / 446.2 MB, free: 8.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1397, allocations: 148.1 kB / 446.4 MB, free: 7.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1397, allocations: 0 / 446.4 MB, free: 7.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1399, allocations: 31.89 kB / 446.4 MB, free: 7.867 MB / 382.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.001321/0.1412, allocations: 1.098 MB / 447.5 MB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.1414, allocations: 59.91 kB / 447.6 MB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1414, allocations: 0 / 447.6 MB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.773e-05/0.1415, allocations: 27.98 kB / 447.6 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1418, allocations: 31.78 kB / 447.6 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.1434, allocations: 1.653 MB / 449.3 MB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.1436, allocations: 0.7082 MB / 450 MB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.661e-05/0.1437, allocations: 21.17 kB / 450 MB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.1438, allocations: 39.36 kB / 450.1 MB, free: 4.129 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1438, allocations: 3.938 kB / 450.1 MB, free: 4.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.1565, allocations: 3.102 MB / 453.2 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.1568, allocations: 234.4 kB / 453.4 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.815, allocations: 3.938 kB / 453.4 MB, free: 0.7383 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches