Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",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.0007752/0.0007753, allocations: 100.1 kB / 16.02 MB, free: 72 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.0009429/0.000943, allocations: 186.8 kB / 16.92 MB, free: 6.688 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.451/1.451, allocations: 205.4 MB / 223.1 MB, free: 5.816 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.3569/0.3569, allocations: 43.58 MB / 315 MB, free: 8.648 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.000518/0.000518, allocations: 16 kB / 384.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1222, allocations: 58.86 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002016/0.1242, allocations: 1.418 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1255, allocations: 0.7691 MB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.1256, allocations: 3.938 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.1258, allocations: 51.86 kB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.126, allocations: 51.81 kB / 445.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.1263, allocations: 79.84 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1265, allocations: 95.69 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1266, allocations: 20.2 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.302e-05/0.1267, allocations: 39.78 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.358e-05/0.1268, allocations: 35.78 kB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1268, allocations: 4 kB / 446.1 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.1269, allocations: 43.97 kB / 446.2 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.127, allocations: 23.92 kB / 446.2 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/0.1271, allocations: 69.31 kB / 446.2 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1273, allocations: 123.8 kB / 446.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1273, allocations: 0 / 446.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1273, allocations: 3.938 kB / 446.4 MB, free: 9.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1273, allocations: 0 / 446.4 MB, free: 9.723 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.0005752/0.1279, allocations: 426.9 kB / 446.8 MB, free: 9.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.1279, allocations: 8.031 kB / 446.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.128, allocations: 30.75 kB / 446.8 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.128, allocations: 16.75 kB / 446.8 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1283, allocations: 215.7 kB / 447.1 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1283, allocations: 12.38 kB / 447.1 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.1283, allocations: 7.875 kB / 447.1 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1285, allocations: 61.61 kB / 447.1 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1285, allocations: 0 / 447.1 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1286, allocations: 0 / 447.1 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1286, allocations: 0 / 447.1 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.07e-05/0.1286, allocations: 19.98 kB / 447.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.1291, allocations: 292.9 kB / 447.4 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1293, allocations: 62.61 kB / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.1294, allocations: 20.86 kB / 447.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1294, allocations: 0 / 447.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.1296, allocations: 63.39 kB / 447.6 MB, free: 8.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1297, allocations: 4 kB / 447.6 MB, free: 8.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006096/0.1303, allocations: 192.9 kB / 447.8 MB, free: 8.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.1303, allocations: 51.41 kB / 447.8 MB, free: 8.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.1306, allocations: 259.7 kB / 448.1 MB, free: 7.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1306, allocations: 25.7 kB / 448.1 MB, free: 7.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/0.1307, allocations: 116.1 kB / 448.2 MB, free: 7.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.1308, allocations: 27.64 kB / 448.2 MB, free: 7.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.1308, allocations: 13.72 kB / 448.3 MB, free: 7.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.131, allocations: 330.8 kB / 448.6 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.71e-05/0.131, allocations: 23.92 kB / 448.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.1311, allocations: 33.7 kB / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1313, allocations: 57.7 kB / 448.7 MB, free: 7.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1313, allocations: 0 / 448.7 MB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001919/0.1315, allocations: 113.5 kB / 448.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1315, allocations: 8 kB / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1315, allocations: 0 / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1315, allocations: 0 / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1316, allocations: 16.17 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1316, allocations: 8.516 kB / 448.8 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.1317, allocations: 7.875 kB / 448.8 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1317, allocations: 4 kB / 448.8 MB, free: 6.996 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.0001226/0.1319, allocations: 141.6 kB / 449 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.1319, allocations: 19.81 kB / 449 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.1319, allocations: 21.39 kB / 449 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.132, allocations: 4 kB / 449 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.132, allocations: 0 / 449 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.132, allocations: 7.875 kB / 449 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.1325, allocations: 407.3 kB / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1325, allocations: 0 / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.1325, allocations: 8 kB / 449.4 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1325, allocations: 7.969 kB / 449.5 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1325, allocations: 7.984 kB / 449.5 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1325, allocations: 0 / 449.5 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1326, allocations: 0 / 449.5 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.1329, allocations: 204.1 kB / 449.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.1329, allocations: 88.92 kB / 449.7 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.133, allocations: 11.94 kB / 449.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.133, allocations: 7.984 kB / 449.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1331, allocations: 4 kB / 449.8 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1331, allocations: 4 kB / 449.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.1333, allocations: 207 kB / 450 MB, free: 5.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1333, allocations: 0 / 450 MB, free: 5.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1336, allocations: 20 kB / 450 MB, free: 5.746 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.00148/0.135, allocations: 1.103 MB / 451.1 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.1352, allocations: 59.97 kB / 451.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1352, allocations: 0 / 451.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.1353, allocations: 31.92 kB / 451.2 MB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1357, allocations: 24.3 kB / 451.2 MB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.1377, allocations: 1.84 MB / 453.1 MB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.138, allocations: 0.72 MB / 453.8 MB, free: 1.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.138, allocations: 16.88 kB / 453.8 MB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.1381, allocations: 43.42 kB / 453.8 MB, free: 1.801 MB / 382.1 MB Notification: Performance of SimCode: time 2.805e-06/0.1381, allocations: 3.938 kB / 453.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2132/0.3513, allocations: 3.243 MB / 457.1 MB, free: 45.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/0.3515, allocations: 235.9 kB / 457.3 MB, free: 45.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.251, allocations: 0 / 457.3 MB, free: 45.52 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches