Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",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.004387/0.004388, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001058/0.001058, allocations: 189.6 kB / 16.78 MB, free: 6.238 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.488/1.488, allocations: 205.1 MB / 222.6 MB, free: 4.711 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.3727/0.3727, 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.001337/0.001337, allocations: 74.55 kB / 382.1 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1248, allocations: 57.79 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002901/0.1278, allocations: 1.749 MB / 441.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.129, allocations: 0.7962 MB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.1291, allocations: 0 / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.1294, allocations: 79.81 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.1296, allocations: 67.8 kB / 442.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1298, allocations: 83.84 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.13, allocations: 95.75 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.853e-05/0.1301, allocations: 20.19 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.921e-05/0.1302, allocations: 51.7 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.405e-05/0.1303, allocations: 59.75 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1303, allocations: 3.938 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.408e-05/0.1304, allocations: 36 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.1304, allocations: 27.91 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.1305, allocations: 35.73 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.1307, allocations: 111.9 kB / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1307, allocations: 3.938 kB / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1307, allocations: 0 / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1307, allocations: 0 / 443.1 MB, free: 11.49 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.0005091/0.1312, allocations: 419 kB / 443.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1313, allocations: 8.031 kB / 443.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.1313, allocations: 34.75 kB / 443.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.1313, allocations: 12.75 kB / 443.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1316, allocations: 216.8 kB / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1316, allocations: 384 / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1316, allocations: 7.938 kB / 443.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1317, allocations: 57.61 kB / 443.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1318, allocations: 4 kB / 443.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1318, allocations: 0 / 443.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1318, allocations: 3.984 kB / 443.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.036e-05/0.1319, allocations: 16 kB / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.1322, allocations: 304.7 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1324, allocations: 54.62 kB / 444.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.1324, allocations: 20.84 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1325, allocations: 0 / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.1327, allocations: 75.38 kB / 444.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1327, allocations: 0 / 444.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000509/0.1332, allocations: 173.2 kB / 444.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.1332, allocations: 51.41 kB / 444.6 MB, free: 9.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1334, allocations: 214.3 kB / 444.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1334, allocations: 29.7 kB / 444.8 MB, free: 9.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.1335, allocations: 104.1 kB / 444.9 MB, free: 9.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.1335, allocations: 27.64 kB / 444.9 MB, free: 9.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.1336, allocations: 25.72 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1337, allocations: 326.8 kB / 445.3 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.464e-05/0.1338, allocations: 15.98 kB / 445.3 MB, free: 9.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.1338, allocations: 41.64 kB / 445.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.134, allocations: 57.89 kB / 445.4 MB, free: 9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.134, allocations: 4 kB / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001711/0.1341, allocations: 109.4 kB / 445.5 MB, free: 8.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1342, allocations: 4 kB / 445.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1342, allocations: 0 / 445.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1342, allocations: 4 kB / 445.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.1343, allocations: 19.98 kB / 445.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1343, allocations: 0 / 445.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.1343, allocations: 7.938 kB / 445.5 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1344, allocations: 0 / 445.5 MB, free: 8.848 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 0.0001042/0.1345, allocations: 141.7 kB / 445.7 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.1345, allocations: 11.91 kB / 445.7 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.1345, allocations: 17.39 kB / 445.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1346, allocations: 0 / 445.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1346, allocations: 0 / 445.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1346, allocations: 7.938 kB / 445.7 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.135, allocations: 395.6 kB / 446.1 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.135, allocations: 4.031 kB / 446.1 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.135, allocations: 12 kB / 446.1 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.135, allocations: 3.938 kB / 446.1 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.135, allocations: 3.984 kB / 446.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1351, allocations: 4 kB / 446.1 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1351, allocations: 0 / 446.1 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.1353, allocations: 204.2 kB / 446.3 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.1353, allocations: 92.92 kB / 446.4 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1354, allocations: 3.938 kB / 446.4 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.1354, allocations: 11.98 kB / 446.4 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.1355, allocations: 4 kB / 446.4 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1355, allocations: 0 / 446.4 MB, free: 7.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.1356, allocations: 160.2 kB / 446.6 MB, free: 7.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1356, allocations: 0 / 446.6 MB, free: 7.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1359, allocations: 27.98 kB / 446.6 MB, free: 7.656 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.001411/0.1373, allocations: 1.109 MB / 447.7 MB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.1375, allocations: 55.95 kB / 447.8 MB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1375, allocations: 4 kB / 447.8 MB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.027e-05/0.1376, allocations: 31.92 kB / 447.8 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.1379, allocations: 23.98 kB / 447.8 MB, free: 6.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.1396, allocations: 1.708 MB / 449.5 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.1398, allocations: 0.716 MB / 450.3 MB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.998e-05/0.1399, allocations: 12.86 kB / 450.3 MB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.14, allocations: 35.42 kB / 450.3 MB, free: 3.867 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.14, allocations: 0 / 450.3 MB, free: 3.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.153, allocations: 3.223 MB / 453.5 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/0.1533, allocations: 238.4 kB / 453.8 MB, free: 368 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/1.796, allocations: 0 / 453.8 MB, free: 368 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches