Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",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.001405/0.001405, allocations: 107.1 kB / 15.98 MB, free: 6.348 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.001554/0.001554, allocations: 190 kB / 16.91 MB, free: 6.191 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.668/1.668, allocations: 205.1 MB / 222.8 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2237/0.2237, allocations: 43.51 MB / 313.6 MB, free: 0.707 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.001995/0.001995, allocations: 64.81 kB / 382.3 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1383, allocations: 57.78 MB / 440.1 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.004552/0.1429, allocations: 1.754 MB / 441.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.1443, allocations: 0.7968 MB / 442.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.1444, allocations: 0 / 442.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.1448, allocations: 99.8 kB / 442.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.1451, allocations: 83.77 kB / 442.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1454, allocations: 75.73 kB / 442.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.1456, allocations: 123.7 kB / 443 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1457, allocations: 12.17 kB / 443 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.803e-05/0.1458, allocations: 63.69 kB / 443.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.802e-05/0.1459, allocations: 63.81 kB / 443.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1459, allocations: 8 kB / 443.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.146, allocations: 39.98 kB / 443.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.1461, allocations: 27.91 kB / 443.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.1461, allocations: 47.67 kB / 443.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1463, allocations: 135.5 kB / 443.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1464, allocations: 0 / 443.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1464, allocations: 0 / 443.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.1464, allocations: 0 / 443.4 MB, free: 3.906 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005152/0.1469, allocations: 442.6 kB / 443.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1469, allocations: 11.89 kB / 443.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.147, allocations: 38.75 kB / 443.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.147, allocations: 8.844 kB / 443.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.1472, allocations: 220 kB / 444.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1472, allocations: 384 / 444.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1473, allocations: 11.94 kB / 444.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1474, allocations: 65.59 kB / 444.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1475, allocations: 0 / 444.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1475, allocations: 0 / 444.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1475, allocations: 0 / 444.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.605e-05/0.1476, allocations: 31.98 kB / 444.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.1479, allocations: 304.7 kB / 444.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.1481, allocations: 74.61 kB / 444.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.1482, allocations: 20.86 kB / 444.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1482, allocations: 8.062 kB / 444.6 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.1485, allocations: 71.38 kB / 444.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.926e-06/0.1485, allocations: 0 / 444.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005494/0.149, allocations: 213 kB / 444.9 MB, free: 2.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.1491, allocations: 55.41 kB / 445 MB, free: 2.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1492, allocations: 254.2 kB / 445.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1493, allocations: 29.8 kB / 445.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.1493, allocations: 116.1 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.1494, allocations: 31.56 kB / 445.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.1494, allocations: 29.7 kB / 445.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.1495, allocations: 322.8 kB / 445.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-05/0.1495, allocations: 23.98 kB / 445.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.1496, allocations: 41.7 kB / 445.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1497, allocations: 77.69 kB / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1497, allocations: 3.938 kB / 445.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001659/0.1499, allocations: 113.4 kB / 446 MB, free: 1.086 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1499, allocations: 8 kB / 446 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1499, allocations: 0 / 446 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1499, allocations: 0 / 446 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.988e-05/0.15, allocations: 16 kB / 446 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.15, allocations: 0 / 446 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.1501, allocations: 15.92 kB / 446 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.1501, allocations: 8.031 kB / 446 MB, free: 1.039 MB / 318.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 (11): * Single equations (assignments): 11 * 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.0001018/0.1502, allocations: 137.8 kB / 446.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1502, allocations: 19.75 kB / 446.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.1503, allocations: 17.41 kB / 446.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1503, allocations: 3.984 kB / 446.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1503, allocations: 0 / 446.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1503, allocations: 3.938 kB / 446.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.1507, allocations: 415.3 kB / 446.6 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1507, allocations: 4 kB / 446.6 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.1507, allocations: 11.98 kB / 446.6 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1507, allocations: 7.875 kB / 446.6 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1508, allocations: 4.094 kB / 446.6 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1508, allocations: 3.938 kB / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1508, allocations: 0 / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.151, allocations: 224.2 kB / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.151, allocations: 89 kB / 447 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.151, allocations: 7.938 kB / 447 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.506e-05/0.1511, allocations: 0 / 447 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.1512, allocations: 11.98 kB / 447 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1512, allocations: 4 kB / 447 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1514, allocations: 188.2 kB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1514, allocations: 0 / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1516, allocations: 31.91 kB / 447.2 MB, free: 15.77 MB / 334.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 (9): * Single equations (assignments): 7 * 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.00152/0.1532, allocations: 1.107 MB / 448.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1534, allocations: 79.78 kB / 448.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1534, allocations: 3.938 kB / 448.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.969e-05/0.1535, allocations: 31.98 kB / 448.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1538, allocations: 22.02 kB / 448.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.1558, allocations: 1.852 MB / 450.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1561, allocations: 0.7158 MB / 451 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.064e-05/0.1562, allocations: 24.78 kB / 451 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.1563, allocations: 43.42 kB / 451.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1563, allocations: 0 / 451.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.1737, allocations: 3.606 MB / 454.7 MB, free: 8.246 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/0.174, allocations: 235 kB / 454.9 MB, free: 7.988 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/1.985, allocations: 0 / 454.9 MB, free: 7.988 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches