Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",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.0008053/0.0008052, allocations: 97.25 kB / 16.02 MB, free: 84 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.000923/0.000923, allocations: 184.5 kB / 16.92 MB, free: 6.934 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.597/1.597, allocations: 205.4 MB / 223.1 MB, free: 5.543 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.3876/0.3876, allocations: 43.57 MB / 315 MB, free: 8.824 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.000626/0.0006262, allocations: 12.52 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1312, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002584/0.1338, allocations: 1.414 MB / 445 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1352, allocations: 0.7846 MB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1353, allocations: 0 / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.1357, allocations: 79.81 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.136, allocations: 75.78 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.1363, allocations: 71.86 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.1365, allocations: 103.7 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1366, allocations: 20.2 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1367, allocations: 55.7 kB / 446.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1368, allocations: 51.83 kB / 446.2 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1369, allocations: 0 / 446.2 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.137, allocations: 39.97 kB / 446.2 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.1371, allocations: 19.92 kB / 446.2 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.923e-05/0.1372, allocations: 69.33 kB / 446.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.1374, allocations: 115.9 kB / 446.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1374, allocations: 0 / 446.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1374, allocations: 4 kB / 446.4 MB, free: 9.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1374, allocations: 0 / 446.4 MB, free: 9.668 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.0005562/0.138, allocations: 407 kB / 446.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.138, allocations: 8.031 kB / 446.8 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.1381, allocations: 34.75 kB / 446.9 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.1381, allocations: 12.75 kB / 446.9 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.1384, allocations: 223.9 kB / 447.1 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1384, allocations: 384 / 447.1 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1384, allocations: 7.938 kB / 447.1 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1386, allocations: 61.61 kB / 447.2 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1386, allocations: 0 / 447.2 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1387, allocations: 4 kB / 447.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1387, allocations: 4 kB / 447.2 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.184e-05/0.1387, allocations: 19.98 kB / 447.2 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.1391, allocations: 288.9 kB / 447.5 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1393, allocations: 62.62 kB / 447.5 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.1394, allocations: 20.84 kB / 447.6 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.1394, allocations: 0 / 447.6 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.1396, allocations: 71.33 kB / 447.6 MB, free: 8.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1396, allocations: 0 / 447.6 MB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005218/0.1401, allocations: 185.1 kB / 447.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1402, allocations: 55.41 kB / 447.9 MB, free: 8.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.1404, allocations: 222.6 kB / 448.1 MB, free: 7.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1404, allocations: 25.7 kB / 448.1 MB, free: 7.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.1405, allocations: 108.1 kB / 448.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.1405, allocations: 23.66 kB / 448.2 MB, free: 7.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.1405, allocations: 13.72 kB / 448.3 MB, free: 7.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1406, allocations: 330.8 kB / 448.6 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.732e-05/0.1407, allocations: 20 kB / 448.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.335e-05/0.1408, allocations: 37.64 kB / 448.6 MB, free: 7.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1409, allocations: 61.7 kB / 448.7 MB, free: 7.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1409, allocations: 3.938 kB / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001717/0.1411, allocations: 97.44 kB / 448.8 MB, free: 7.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1411, allocations: 8 kB / 448.8 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1411, allocations: 0 / 448.8 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1411, allocations: 4.031 kB / 448.8 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.1412, allocations: 19.98 kB / 448.8 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1413, allocations: 4 kB / 448.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/0.1413, allocations: 3.938 kB / 448.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1413, allocations: 4 kB / 448.8 MB, free: 7.016 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.0001062/0.1414, allocations: 133.8 kB / 449 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.1415, allocations: 7.906 kB / 449 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.1415, allocations: 21.39 kB / 449 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1415, allocations: 4 kB / 449 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1415, allocations: 0 / 449 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1415, allocations: 7.922 kB / 449 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.142, allocations: 395.3 kB / 449.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.142, allocations: 0 / 449.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.142, allocations: 11.98 kB / 449.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.142, allocations: 3.938 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.142, allocations: 4.375 kB / 449.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.142, allocations: 4.031 kB / 449.4 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1421, allocations: 4 kB / 449.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1423, allocations: 208.1 kB / 449.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.1423, allocations: 93.09 kB / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.1424, allocations: 11.94 kB / 449.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.1424, allocations: 3.938 kB / 449.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.1425, allocations: 11.98 kB / 449.7 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.1425, allocations: 4 kB / 449.7 MB, free: 6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1426, allocations: 168.3 kB / 449.9 MB, free: 5.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1427, allocations: 0 / 449.9 MB, free: 5.836 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1429, allocations: 31.98 kB / 449.9 MB, free: 5.805 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.001389/0.1443, allocations: 1.094 MB / 451 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.1445, allocations: 55.97 kB / 451.1 MB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1445, allocations: 4.062 kB / 451.1 MB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.492e-05/0.1446, allocations: 39.91 kB / 451.1 MB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1449, allocations: 23.92 kB / 451.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1468, allocations: 1.738 MB / 452.9 MB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.1472, allocations: 0.7043 MB / 453.6 MB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.297e-05/0.1472, allocations: 25.17 kB / 453.6 MB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.1473, allocations: 39.42 kB / 453.7 MB, free: 1.973 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1473, allocations: 0 / 453.7 MB, free: 1.973 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2558/0.4031, allocations: 3.092 MB / 456.8 MB, free: 45.24 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.4034, allocations: 233.7 kB / 457 MB, free: 44.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.328, allocations: 1.062 kB / 457 MB, free: 44.99 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches