Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",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.0009771/0.0009769, allocations: 97.8 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.001054/0.001054, allocations: 183.2 kB / 16.91 MB, free: 6.914 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.537/1.537, 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.3563/0.3563, allocations: 43.57 MB / 315 MB, free: 8.766 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.0005093/0.0005093, allocations: 12 kB / 384.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1295, allocations: 58.86 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002699/0.1323, allocations: 1.418 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.134, allocations: 0.7768 MB / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1342, allocations: 0 / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.1346, allocations: 35.89 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.1348, allocations: 51.77 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1351, allocations: 75.91 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.1353, allocations: 99.62 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1354, allocations: 20.19 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.1355, allocations: 35.8 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.115e-05/0.1356, allocations: 23.86 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1356, allocations: 8 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1358, allocations: 43.97 kB / 446.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.1358, allocations: 19.92 kB / 446.2 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.671e-05/0.1359, allocations: 65.38 kB / 446.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1362, allocations: 107.9 kB / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1362, allocations: 0 / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1362, allocations: 0 / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.1362, allocations: 0 / 446.3 MB, free: 9.77 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.0006012/0.1368, allocations: 403 kB / 446.7 MB, free: 9.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.1369, allocations: 12.03 kB / 446.7 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.1369, allocations: 34.75 kB / 446.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.137, allocations: 8.844 kB / 446.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.1373, allocations: 216.7 kB / 447 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1373, allocations: 4.312 kB / 447 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1373, allocations: 7.938 kB / 447 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1375, allocations: 53.67 kB / 447 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1375, allocations: 0 / 447 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1375, allocations: 0 / 447 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1375, allocations: 0 / 447 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.573e-05/0.1376, allocations: 23.98 kB / 447.1 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.1381, allocations: 280.9 kB / 447.3 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1383, allocations: 62.61 kB / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.1383, allocations: 20.84 kB / 447.4 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1384, allocations: 8 kB / 447.4 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.1386, allocations: 67.33 kB / 447.5 MB, free: 8.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1386, allocations: 0 / 447.5 MB, free: 8.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006505/0.1392, allocations: 177.1 kB / 447.7 MB, free: 8.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.1393, allocations: 59.39 kB / 447.7 MB, free: 8.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.1396, allocations: 195.3 kB / 447.9 MB, free: 7.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1396, allocations: 25.7 kB / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.1397, allocations: 104.1 kB / 448 MB, free: 7.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.1397, allocations: 27.64 kB / 448.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.1397, allocations: 17.72 kB / 448.1 MB, free: 7.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1399, allocations: 322.8 kB / 448.4 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.1399, allocations: 27.92 kB / 448.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.44e-05/0.14, allocations: 37.64 kB / 448.5 MB, free: 7.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1401, allocations: 57.7 kB / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1401, allocations: 4 kB / 448.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001762/0.1403, allocations: 105.5 kB / 448.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1403, allocations: 4 kB / 448.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1404, allocations: 4 kB / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1404, allocations: 0 / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.1405, allocations: 15.98 kB / 448.7 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1405, allocations: 0 / 448.7 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.1405, allocations: 8.312 kB / 448.7 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1406, allocations: 8.031 kB / 448.7 MB, free: 7.172 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 9.613e-05/0.1407, allocations: 129.8 kB / 448.8 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.1407, allocations: 11.91 kB / 448.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.1407, allocations: 13.41 kB / 448.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1407, allocations: 7.984 kB / 448.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1407, allocations: 0 / 448.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1407, allocations: 3.938 kB / 448.8 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.1412, allocations: 399.2 kB / 449.2 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1412, allocations: 0 / 449.2 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.1412, allocations: 8 kB / 449.2 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.1412, allocations: 7.938 kB / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1413, allocations: 0 / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1413, allocations: 3.984 kB / 449.2 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1413, allocations: 0 / 449.2 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.1415, allocations: 212.2 kB / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.1416, allocations: 89.11 kB / 449.5 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1416, allocations: 11.94 kB / 449.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.1417, allocations: 7.922 kB / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1417, allocations: 4 kB / 449.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1418, allocations: 4 kB / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1419, allocations: 156.9 kB / 449.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1419, allocations: 0 / 449.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1422, allocations: 31.98 kB / 449.8 MB, free: 5.988 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.00143/0.1436, allocations: 1.089 MB / 450.8 MB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.1438, allocations: 63.95 kB / 450.9 MB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1438, allocations: 0 / 450.9 MB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.584e-05/0.1439, allocations: 27.94 kB / 450.9 MB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1442, allocations: 23.97 kB / 451 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.1459, allocations: 1.705 MB / 452.7 MB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.1462, allocations: 0.7043 MB / 453.4 MB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.131e-05/0.1463, allocations: 12.88 kB / 453.4 MB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.1463, allocations: 39.42 kB / 453.4 MB, free: 2.211 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1464, allocations: 0 / 453.4 MB, free: 2.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2057/0.3521, allocations: 2.974 MB / 456.4 MB, free: 45.21 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/0.3523, allocations: 236.3 kB / 456.6 MB, free: 44.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.179, allocations: 3.969 kB / 456.6 MB, free: 44.96 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches