Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",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.0008581/0.0008585, allocations: 102.8 kB / 16.02 MB, free: 76 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.0009072/0.0009073, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.481/1.481, allocations: 205.4 MB / 223.1 MB, free: 5.738 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.3842/0.3842, allocations: 43.57 MB / 315 MB, free: 8.711 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.0005539/0.000554, allocations: 12 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1436, allocations: 58.86 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002914/0.1466, allocations: 1.422 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.148, allocations: 0.773 MB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.148, allocations: 0 / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.1483, allocations: 55.81 kB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.1485, allocations: 43.83 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.1488, allocations: 79.84 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.1489, allocations: 95.69 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1491, allocations: 12.22 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.1492, allocations: 43.78 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.1493, allocations: 31.84 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1493, allocations: 0 / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-05/0.1494, allocations: 43.92 kB / 446.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.112e-05/0.1494, allocations: 23.92 kB / 446.2 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.779e-05/0.1495, allocations: 69.36 kB / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.1498, allocations: 111.9 kB / 446.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1498, allocations: 0 / 446.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1498, allocations: 4 kB / 446.3 MB, free: 9.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1498, allocations: 0 / 446.3 MB, free: 9.754 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.0005913/0.1504, allocations: 407 kB / 446.7 MB, free: 9.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.1504, allocations: 8.031 kB / 446.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.1505, allocations: 42.62 kB / 446.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.1505, allocations: 16.73 kB / 446.8 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1508, allocations: 215.9 kB / 447 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1508, allocations: 4.375 kB / 447 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1509, allocations: 3.938 kB / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.151, allocations: 65.66 kB / 447.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.151, allocations: 0 / 447.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.1511, allocations: 0 / 447.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.1511, allocations: 4 kB / 447.1 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.1512, allocations: 19.97 kB / 447.1 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.1515, allocations: 296.8 kB / 447.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1517, allocations: 58.67 kB / 447.5 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.1518, allocations: 20.86 kB / 447.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1518, allocations: 0 / 447.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.152, allocations: 67.33 kB / 447.5 MB, free: 8.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.152, allocations: 0 / 447.5 MB, free: 8.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005396/0.1525, allocations: 181.1 kB / 447.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.1526, allocations: 55.41 kB / 447.8 MB, free: 8.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.1528, allocations: 222.6 kB / 448 MB, free: 7.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1529, allocations: 25.7 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.1529, allocations: 112.1 kB / 448.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.153, allocations: 23.66 kB / 448.2 MB, free: 7.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.153, allocations: 13.7 kB / 448.2 MB, free: 7.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1532, allocations: 326.8 kB / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-05/0.1532, allocations: 23.98 kB / 448.5 MB, free: 7.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.294e-05/0.1533, allocations: 29.72 kB / 448.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1534, allocations: 65.64 kB / 448.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1534, allocations: 0 / 448.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/0.1536, allocations: 101.5 kB / 448.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1537, allocations: 8 kB / 448.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1537, allocations: 3.969 kB / 448.7 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1537, allocations: 4 kB / 448.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.1538, allocations: 19.94 kB / 448.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1538, allocations: 4 kB / 448.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.1539, allocations: 7.922 kB / 448.7 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1539, allocations: 4 kB / 448.8 MB, free: 7.094 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.0001261/0.154, allocations: 130 kB / 448.9 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.1541, allocations: 11.91 kB / 448.9 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.1541, allocations: 17.34 kB / 448.9 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1541, allocations: 4 kB / 448.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1541, allocations: 4 kB / 448.9 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1541, allocations: 3.938 kB / 448.9 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.1546, allocations: 399.5 kB / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1546, allocations: 384 / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.1546, allocations: 8 kB / 449.3 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1546, allocations: 3.938 kB / 449.3 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1547, allocations: 8 kB / 449.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1547, allocations: 7.969 kB / 449.3 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1547, allocations: 3.984 kB / 449.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.1549, allocations: 200.2 kB / 449.5 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.155, allocations: 92.92 kB / 449.6 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.155, allocations: 7.938 kB / 449.6 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.1551, allocations: 3.984 kB / 449.6 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.1551, allocations: 8 kB / 449.6 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.1551, allocations: 4 kB / 449.6 MB, free: 6.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1553, allocations: 176.3 kB / 449.8 MB, free: 5.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1553, allocations: 0 / 449.8 MB, free: 5.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1555, allocations: 20 kB / 449.8 MB, free: 5.898 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.001499/0.157, allocations: 1.101 MB / 450.9 MB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.1572, allocations: 59.91 kB / 451 MB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1572, allocations: 4.062 kB / 451 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/0.1573, allocations: 27.98 kB / 451 MB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1577, allocations: 31.86 kB / 451.1 MB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.1595, allocations: 1.738 MB / 452.8 MB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.1598, allocations: 0.7121 MB / 453.5 MB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.13e-05/0.1599, allocations: 24.84 kB / 453.5 MB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.1599, allocations: 35.42 kB / 453.6 MB, free: 2.055 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1599, allocations: 0 / 453.6 MB, free: 2.055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2228/0.3827, allocations: 3.08 MB / 456.7 MB, free: 45.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.3829, allocations: 240.2 kB / 456.9 MB, free: 45.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.314, allocations: 0 / 456.9 MB, free: 45.41 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches