Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.001662/0.001662, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.002049/0.002049, allocations: 194 kB / 18.12 MB, free: 5.363 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.478/1.478, allocations: 222.9 MB / 241.8 MB, free: 15.53 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.2287/0.2287, allocations: 44.17 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.84 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.136, allocations: 60.81 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003434/0.1395, allocations: 1.764 MB / 470.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.141, allocations: 0.8848 MB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.825e-05/0.1411, allocations: 4 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.1414, allocations: 35.84 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.1416, allocations: 51.77 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.142, allocations: 98.64 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.1422, allocations: 87.77 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1423, allocations: 12.22 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.207e-05/0.1424, allocations: 43.72 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.615e-05/0.1425, allocations: 35.78 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1425, allocations: 4 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.1427, allocations: 67.97 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.1427, allocations: 7.984 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.1428, allocations: 35.73 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.143, allocations: 123.9 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.143, allocations: 0 / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1431, allocations: 0 / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.1431, allocations: 0 / 471.9 MB, free: 11.48 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.0005636/0.1436, allocations: 411.1 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1437, allocations: 12.03 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.1437, allocations: 38.69 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.1438, allocations: 8.844 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.144, allocations: 204.2 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.144, allocations: 384 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.1441, allocations: 11.88 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1442, allocations: 71.38 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1443, allocations: 0 / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1443, allocations: 0 / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1443, allocations: 8 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.631e-05/0.1444, allocations: 15.98 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.1447, allocations: 284.8 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.1449, allocations: 66.55 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.145, allocations: 28.97 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.145, allocations: 4 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.1453, allocations: 71.3 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1453, allocations: 0 / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006136/0.1459, allocations: 197.2 kB / 473.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.146, allocations: 77.11 kB / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1461, allocations: 165.7 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1461, allocations: 29.7 kB / 473.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.1462, allocations: 96.12 kB / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.1462, allocations: 35.55 kB / 473.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.1463, allocations: 25.7 kB / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1464, allocations: 326.8 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.1465, allocations: 31.92 kB / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.415e-05/0.1466, allocations: 50.56 kB / 474.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.1468, allocations: 77.67 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1468, allocations: 0 / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002185/0.147, allocations: 117.6 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.147, allocations: 4 kB / 474.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.147, allocations: 7.922 kB / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1471, allocations: 7.938 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1472, allocations: 16 kB / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1472, allocations: 0 / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.534e-05/0.1472, allocations: 16.02 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1473, allocations: 7.938 kB / 474.3 MB, free: 8.746 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 (13): * Single equations (assignments): 13 * 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.0001039/0.1474, allocations: 117.8 kB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.1474, allocations: 15.81 kB / 474.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.1475, allocations: 16.8 kB / 474.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1475, allocations: 7.875 kB / 474.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1475, allocations: 3.938 kB / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1475, allocations: 0 / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.148, allocations: 419.3 kB / 474.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.148, allocations: 0 / 474.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.148, allocations: 15.92 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1481, allocations: 4 kB / 474.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1481, allocations: 0 / 474.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1481, allocations: 0 / 474.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1481, allocations: 0 / 474.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1484, allocations: 224.2 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.1484, allocations: 88.92 kB / 475.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1484, allocations: 4 kB / 475.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.1485, allocations: 4 kB / 475.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.1486, allocations: 7.984 kB / 475.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1486, allocations: 4 kB / 475.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.425e-05/0.1487, allocations: 123 kB / 475.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1487, allocations: 0 / 475.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000287/0.149, allocations: 39.98 kB / 475.4 MB, free: 7.566 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 (10): * Single equations (assignments): 8 * 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.001584/0.1506, allocations: 1.171 MB / 476.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1508, allocations: 79.84 kB / 476.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1508, allocations: 0 / 476.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.1509, allocations: 39.92 kB / 476.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1513, allocations: 28.22 kB / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.1531, allocations: 1.642 MB / 478.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.1534, allocations: 0.7041 MB / 479.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.978e-05/0.1535, allocations: 28.77 kB / 479.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/0.1536, allocations: 31.42 kB / 479.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1536, allocations: 3.938 kB / 479.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.1688, allocations: 3.51 MB / 482.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.169, allocations: 256.1 kB / 482.9 MB, free: 264 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.168, allocations: 3.938 kB / 482.9 MB, free: 260 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches