Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",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.001292/0.001292, allocations: 107.2 kB / 15.98 MB, free: 6.344 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.00103/0.00103, allocations: 193.3 kB / 16.9 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.667/1.667, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.3328/0.3328, allocations: 43.5 MB / 313.6 MB, free: 8.301 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.00143/0.00143, allocations: 63.91 kB / 382.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1324, allocations: 57.79 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003477/0.1359, allocations: 1.753 MB / 441.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1372, allocations: 0.7962 MB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.1373, allocations: 4 kB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.1377, allocations: 43.89 kB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.138, allocations: 47.81 kB / 442.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.1382, allocations: 75.86 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.1384, allocations: 115.7 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1385, allocations: 20.2 kB / 443 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.352e-05/0.1386, allocations: 55.7 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.1387, allocations: 47.84 kB / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1388, allocations: 4 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1389, allocations: 43.97 kB / 443.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.1389, allocations: 23.92 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.139, allocations: 43.73 kB / 443.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1392, allocations: 135.8 kB / 443.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1392, allocations: 0 / 443.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1392, allocations: 0 / 443.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1392, allocations: 0 / 443.3 MB, free: 11.17 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00059/0.1398, allocations: 422.9 kB / 443.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1399, allocations: 11.89 kB / 443.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.992e-05/0.14, allocations: 38.73 kB / 443.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.14, allocations: 16.69 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.1403, allocations: 216.8 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1403, allocations: 4.375 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1403, allocations: 7.938 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1405, allocations: 69.59 kB / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1405, allocations: 0 / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1405, allocations: 8 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1406, allocations: 0 / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1407, allocations: 35.97 kB / 444.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.1411, allocations: 308.8 kB / 444.4 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1413, allocations: 78.61 kB / 444.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/0.1414, allocations: 36.84 kB / 444.5 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.1415, allocations: 0 / 444.5 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.1417, allocations: 79.38 kB / 444.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.1417, allocations: 0 / 444.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006494/0.1423, allocations: 225.1 kB / 444.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.1424, allocations: 55.41 kB / 444.9 MB, free: 9.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1426, allocations: 187.2 kB / 445.1 MB, free: 9.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1426, allocations: 33.8 kB / 445.1 MB, free: 9.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.1427, allocations: 104.1 kB / 445.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.1427, allocations: 35.55 kB / 445.2 MB, free: 9.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.1428, allocations: 25.72 kB / 445.3 MB, free: 8.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1429, allocations: 322.8 kB / 445.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.143, allocations: 27.98 kB / 445.6 MB, free: 8.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.1431, allocations: 45.7 kB / 445.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.1432, allocations: 85.58 kB / 445.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1433, allocations: 0 / 445.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002155/0.1435, allocations: 125.5 kB / 445.9 MB, free: 8.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1435, allocations: 4 kB / 445.9 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1435, allocations: 4 kB / 445.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1435, allocations: 3.984 kB / 445.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/0.1436, allocations: 16 kB / 445.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1437, allocations: 7.969 kB / 445.9 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.1437, allocations: 4 kB / 445.9 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1437, allocations: 7.984 kB / 445.9 MB, free: 8.328 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 (12): * Single equations (assignments): 12 * 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.0001027/0.1438, allocations: 125.8 kB / 446 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.1439, allocations: 15.81 kB / 446 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.1439, allocations: 21.39 kB / 446.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1439, allocations: 0 / 446.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.1439, allocations: 11.94 kB / 446.1 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1439, allocations: 0 / 446.1 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.1445, allocations: 431.3 kB / 446.5 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1445, allocations: 0 / 446.5 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.1445, allocations: 15.98 kB / 446.5 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1445, allocations: 3.938 kB / 446.5 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.1446, allocations: 8 kB / 446.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1446, allocations: 3.938 kB / 446.5 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1446, allocations: 0 / 446.5 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.1449, allocations: 236.1 kB / 446.8 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.145, allocations: 88.95 kB / 446.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.145, allocations: 0 / 446.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.1451, allocations: 8 kB / 446.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.1451, allocations: 7.984 kB / 446.9 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1451, allocations: 4 kB / 446.9 MB, free: 7.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.1453, allocations: 144.9 kB / 447 MB, free: 7.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1453, allocations: 4 kB / 447 MB, free: 7.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1456, allocations: 20 kB / 447 MB, free: 7.098 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 (10): * Single equations (assignments): 8 * 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.001587/0.1472, allocations: 1.131 MB / 448.2 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1474, allocations: 91.84 kB / 448.2 MB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1474, allocations: 0 / 448.2 MB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.855e-05/0.1475, allocations: 35.98 kB / 448.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1479, allocations: 47.88 kB / 448.3 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.1498, allocations: 1.751 MB / 450.1 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1501, allocations: 0.7161 MB / 450.8 MB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.656e-05/0.1502, allocations: 17.08 kB / 450.8 MB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.1502, allocations: 39.42 kB / 450.9 MB, free: 3.172 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1502, allocations: 0 / 450.9 MB, free: 3.172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2221/0.3724, allocations: 3.462 MB / 454.3 MB, free: 48.2 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.3726, allocations: 235.4 kB / 454.5 MB, free: 47.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.149, allocations: 0.5 kB / 454.5 MB, free: 47.95 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches