Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.001063/0.001063, allocations: 106 kB / 15.98 MB, free: 6.332 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.001172/0.001172, allocations: 196.9 kB / 16.91 MB, free: 6.18 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.795/1.795, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.3735/0.3735, allocations: 43.5 MB / 313.6 MB, free: 8.223 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.001692/0.001692, allocations: 74.55 kB / 382.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1436, allocations: 57.79 MB / 440.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00395/0.1476, allocations: 1.961 MB / 442.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1491, allocations: 0.8235 MB / 442.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.1493, allocations: 7.938 kB / 442.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.1496, allocations: 35.83 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.15, allocations: 47.77 kB / 443 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1503, allocations: 95.83 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.1506, allocations: 143.5 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1507, allocations: 29.69 kB / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1508, allocations: 55.77 kB / 443.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.151, allocations: 51.72 kB / 443.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.151, allocations: 4 kB / 443.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.1511, allocations: 55.92 kB / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.1512, allocations: 27.91 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.101e-05/0.1513, allocations: 51.61 kB / 443.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1516, allocations: 135.6 kB / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1516, allocations: 0 / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1516, allocations: 0 / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1516, allocations: 0 / 443.6 MB, free: 10.86 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006775/0.1523, allocations: 480.5 kB / 444.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1524, allocations: 19.89 kB / 444.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.1524, allocations: 38.69 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.1525, allocations: 16.75 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.1527, allocations: 220.8 kB / 444.4 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1528, allocations: 8.312 kB / 444.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1528, allocations: 11.94 kB / 444.4 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.153, allocations: 112.1 kB / 444.5 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1531, allocations: 4 kB / 444.5 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1531, allocations: 4 kB / 444.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1531, allocations: 0 / 444.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1532, allocations: 43.97 kB / 444.6 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.1538, allocations: 0.5203 MB / 445.1 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.1541, allocations: 86.59 kB / 445.2 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.941e-05/0.1542, allocations: 40.83 kB / 445.2 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1543, allocations: 0 / 445.2 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.1545, allocations: 87.38 kB / 445.3 MB, free: 8.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1545, allocations: 0 / 445.3 MB, free: 8.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003713/0.1549, allocations: 145.4 kB / 445.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.155, allocations: 51.41 kB / 445.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.1552, allocations: 191.4 kB / 445.7 MB, free: 8.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1552, allocations: 29.7 kB / 445.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.1553, allocations: 119.9 kB / 445.8 MB, free: 8.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.1553, allocations: 35.64 kB / 445.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.1554, allocations: 29.72 kB / 445.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.1555, allocations: 326.8 kB / 446.2 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.1556, allocations: 27.98 kB / 446.2 MB, free: 8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-05/0.1557, allocations: 64.28 kB / 446.3 MB, free: 7.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.1558, allocations: 96.2 kB / 446.4 MB, free: 7.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1558, allocations: 0 / 446.4 MB, free: 7.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002491/0.1561, allocations: 137.3 kB / 446.5 MB, free: 7.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1561, allocations: 8 kB / 446.5 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1561, allocations: 0 / 446.5 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1562, allocations: 3.938 kB / 446.5 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.588e-05/0.1563, allocations: 31.92 kB / 446.6 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1563, allocations: 0 / 446.6 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.1564, allocations: 15.89 kB / 446.6 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1564, allocations: 4 kB / 446.6 MB, free: 7.609 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001063/0.1565, allocations: 126 kB / 446.7 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.1565, allocations: 19.75 kB / 446.7 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.1566, allocations: 21.86 kB / 446.7 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1566, allocations: 7.875 kB / 446.8 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1566, allocations: 0 / 446.8 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1566, allocations: 0 / 446.8 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.1568, allocations: 209.5 kB / 447 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1568, allocations: 3.938 kB / 447 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.1569, allocations: 19.98 kB / 447 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1569, allocations: 4 kB / 447 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1569, allocations: 0 / 447 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1569, allocations: 3.938 kB / 447 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1569, allocations: 0 / 447 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.1572, allocations: 180.9 kB / 447.2 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.1573, allocations: 81.02 kB / 447.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.1573, allocations: 7.984 kB / 447.3 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.1574, allocations: 20 kB / 447.3 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.1575, allocations: 7.984 kB / 447.3 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1575, allocations: 0 / 447.3 MB, free: 6.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1576, allocations: 141.2 kB / 447.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1576, allocations: 0 / 447.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1578, allocations: 32.03 kB / 447.5 MB, free: 6.648 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001519/0.1594, allocations: 1.037 MB / 448.5 MB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.1596, allocations: 79.91 kB / 448.6 MB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1596, allocations: 4 kB / 448.6 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.1597, allocations: 36.16 kB / 448.6 MB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1601, allocations: 48.14 kB / 448.7 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.162, allocations: 1.768 MB / 450.4 MB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.1623, allocations: 0.7123 MB / 451.1 MB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.527e-05/0.1624, allocations: 13.42 kB / 451.1 MB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/0.1625, allocations: 43.42 kB / 451.2 MB, free: 2.789 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1625, allocations: 0 / 451.2 MB, free: 2.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2087/0.3712, allocations: 3.551 MB / 454.7 MB, free: 48.62 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/0.3714, allocations: 239.5 kB / 455 MB, free: 48.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.208, allocations: 3.25 kB / 455 MB, free: 48.38 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches