Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",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.001169/0.001169, allocations: 106 kB / 15.98 MB, free: 6.34 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.001252/0.001252, allocations: 194.3 kB / 16.91 MB, free: 6.184 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.689/1.689, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.4665/0.4665, allocations: 43.5 MB / 313.6 MB, free: 8.289 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.001634/0.001634, allocations: 71.89 kB / 382.3 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1381, allocations: 57.78 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003976/0.1421, allocations: 1.756 MB / 441.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1436, allocations: 0.7963 MB / 442.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1438, allocations: 0 / 442.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.1441, allocations: 27.91 kB / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.1445, allocations: 47.83 kB / 442.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1448, allocations: 83.78 kB / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.145, allocations: 99.69 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1452, allocations: 12.22 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1453, allocations: 51.72 kB / 443 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.1454, allocations: 27.84 kB / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1454, allocations: 4 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1455, allocations: 40 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.1456, allocations: 23.91 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.1456, allocations: 35.73 kB / 443.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1459, allocations: 103.9 kB / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1459, allocations: 3.984 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1459, allocations: 4 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1459, allocations: 0 / 443.2 MB, free: 11.26 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.000618/0.1465, allocations: 407 kB / 443.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.1466, allocations: 15.89 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.1466, allocations: 34.73 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.1467, allocations: 12.75 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.1469, allocations: 208 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.147, allocations: 384 / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.147, allocations: 7.938 kB / 443.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1472, allocations: 61.61 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1472, allocations: 3.984 kB / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1472, allocations: 0 / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1472, allocations: 0 / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.545e-05/0.1473, allocations: 19.98 kB / 444 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.1477, allocations: 284.9 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.1479, allocations: 62.62 kB / 444.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.1479, allocations: 20.84 kB / 444.3 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.148, allocations: 0 / 444.3 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.1482, allocations: 67.39 kB / 444.4 MB, free: 9.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.542e-06/0.1482, allocations: 0 / 444.4 MB, free: 9.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000552/0.1488, allocations: 173.2 kB / 444.6 MB, free: 9.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.1488, allocations: 51.41 kB / 444.6 MB, free: 9.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.149, allocations: 170.2 kB / 444.8 MB, free: 9.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.149, allocations: 33.7 kB / 444.8 MB, free: 9.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.1491, allocations: 100.1 kB / 444.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.1491, allocations: 23.66 kB / 444.9 MB, free: 9.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.1492, allocations: 25.64 kB / 445 MB, free: 9.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1493, allocations: 322.8 kB / 445.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.1493, allocations: 24 kB / 445.3 MB, free: 8.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.1494, allocations: 41.58 kB / 445.3 MB, free: 8.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.1495, allocations: 62.06 kB / 445.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1495, allocations: 0 / 445.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001788/0.1497, allocations: 101.5 kB / 445.5 MB, free: 8.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1498, allocations: 4 kB / 445.5 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1498, allocations: 12.03 kB / 445.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1498, allocations: 0 / 445.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.1499, allocations: 12 kB / 445.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.1499, allocations: 0 / 445.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.1499, allocations: 11.92 kB / 445.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.15, allocations: 11.98 kB / 445.6 MB, free: 8.676 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 8.926e-05/0.1501, allocations: 121.8 kB / 445.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.1501, allocations: 11.81 kB / 445.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.1501, allocations: 16.7 kB / 445.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1501, allocations: 4 kB / 445.7 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.1502, allocations: 0 / 445.7 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.1502, allocations: 7.938 kB / 445.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.1506, allocations: 387.3 kB / 446.1 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1506, allocations: 0 / 446.1 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.1507, allocations: 8 kB / 446.1 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1507, allocations: 3.938 kB / 446.1 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1507, allocations: 7.984 kB / 446.1 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1507, allocations: 4.266 kB / 446.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1507, allocations: 0 / 446.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.151, allocations: 204.2 kB / 446.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.151, allocations: 85.02 kB / 446.4 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.151, allocations: 3.938 kB / 446.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.1511, allocations: 4 kB / 446.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1512, allocations: 11.98 kB / 446.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1512, allocations: 4 kB / 446.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.1513, allocations: 128.1 kB / 446.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1513, allocations: 0 / 446.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1515, allocations: 23.98 kB / 446.6 MB, free: 7.559 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.001444/0.153, allocations: 1.117 MB / 447.7 MB, free: 6.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1532, allocations: 63.91 kB / 447.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1532, allocations: 4.062 kB / 447.7 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.904e-05/0.1533, allocations: 23.98 kB / 447.8 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1536, allocations: 36.59 kB / 447.8 MB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.1553, allocations: 1.62 MB / 449.4 MB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1556, allocations: 0.7002 MB / 450.1 MB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.887e-05/0.1556, allocations: 16.86 kB / 450.1 MB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.1557, allocations: 39.42 kB / 450.2 MB, free: 3.828 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1557, allocations: 0 / 450.2 MB, free: 3.828 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.1706, allocations: 3.126 MB / 453.3 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/0.1709, allocations: 242.7 kB / 453.5 MB, free: 428 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.007, allocations: 0 / 453.5 MB, free: 428 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches