Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.001367/0.001367, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001323/0.001323, allocations: 194 kB / 18.12 MB, free: 5.383 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.52/1.52, allocations: 222.9 MB / 241.8 MB, free: 13.79 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.2544/0.2544, allocations: 44.18 MB / 336.1 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.7 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1264, allocations: 60.83 MB / 468.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003717/0.1302, allocations: 1.757 MB / 470.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1317, allocations: 0.8537 MB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.856e-05/0.1318, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.1322, allocations: 83.77 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.1324, allocations: 71.73 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.1328, allocations: 99.77 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.133, allocations: 99.69 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1331, allocations: 16.2 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1332, allocations: 47.72 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.749e-05/0.1333, allocations: 55.83 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1333, allocations: 0 / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1335, allocations: 39.98 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.1335, allocations: 23.91 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.1336, allocations: 39.73 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.1338, allocations: 115.8 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1338, allocations: 0 / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1338, allocations: 3.938 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1338, allocations: 0 / 471.9 MB, free: 11.39 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.0005093/0.1343, allocations: 421.5 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1344, allocations: 8.031 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.1344, allocations: 30.75 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.1344, allocations: 12.84 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1347, allocations: 212 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1347, allocations: 384 / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.1347, allocations: 7.938 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.1348, allocations: 57.61 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1349, allocations: 0 / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1349, allocations: 4 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1349, allocations: 0 / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.135, allocations: 23.98 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.1353, allocations: 292.9 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1354, allocations: 54.62 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.1355, allocations: 28.83 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.1355, allocations: 8 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.1357, allocations: 59.39 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1357, allocations: 3.938 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005069/0.1362, allocations: 181 kB / 473.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.1363, allocations: 55.41 kB / 473.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1365, allocations: 219.4 kB / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1365, allocations: 25.7 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.1366, allocations: 108.1 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.1366, allocations: 27.64 kB / 473.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.1366, allocations: 17.72 kB / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.1367, allocations: 326.8 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.429e-05/0.1368, allocations: 19.98 kB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/0.1369, allocations: 49.58 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.137, allocations: 61.69 kB / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.137, allocations: 0 / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001634/0.1371, allocations: 101.5 kB / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1372, allocations: 4 kB / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1372, allocations: 0 / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.1372, allocations: 0 / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.1373, allocations: 19.98 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1373, allocations: 4.031 kB / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.1373, allocations: 3.938 kB / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.1374, allocations: 4 kB / 474.3 MB, free: 8.742 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 (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 9.07e-05/0.1375, allocations: 136.9 kB / 474.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.1375, allocations: 11.81 kB / 474.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.1375, allocations: 21.39 kB / 474.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1375, allocations: 0 / 474.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1375, allocations: 0 / 474.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1375, allocations: 3.938 kB / 474.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.1379, allocations: 395.3 kB / 474.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1379, allocations: 384 / 474.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.138, allocations: 8 kB / 474.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.138, allocations: 7.938 kB / 474.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.138, allocations: 7.984 kB / 474.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.138, allocations: 0 / 474.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.138, allocations: 0 / 474.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.1382, allocations: 212.5 kB / 475.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.1383, allocations: 84.95 kB / 475.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.1383, allocations: 15.88 kB / 475.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.1384, allocations: 3.984 kB / 475.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.1384, allocations: 4 kB / 475.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1384, allocations: 4 kB / 475.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.1386, allocations: 159.2 kB / 475.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1386, allocations: 0 / 475.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1388, allocations: 27.98 kB / 475.4 MB, free: 7.559 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 (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.001258/0.1401, allocations: 1.103 MB / 476.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.1402, allocations: 51.97 kB / 476.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1403, allocations: 0 / 476.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.1403, allocations: 35.92 kB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1406, allocations: 28.11 kB / 476.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.1421, allocations: 1.7 MB / 478.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1424, allocations: 0.7121 MB / 479 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.1424, allocations: 12.86 kB / 479.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.1425, allocations: 35.42 kB / 479.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1425, allocations: 0 / 479.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/0.1828, allocations: 3.248 MB / 482.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.183, allocations: 236.8 kB / 482.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.138, allocations: 3.938 kB / 482.6 MB, free: 0.5195 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches