Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.0008214/0.0008215, allocations: 95.34 kB / 17.35 MB, free: 6.375 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.0009535/0.0009535, allocations: 180.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.3 MB / 242.3 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1822/0.1822, allocations: 44.25 MB / 337.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 11.98 kB / 410.5 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 61.91 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002308/0.1235, allocations: 1.421 MB / 473.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.1258, allocations: 1.429 MB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.825e-05/0.126, allocations: 0 / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1263, allocations: 31.89 kB / 475.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.1265, allocations: 47.78 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.1268, allocations: 95.81 kB / 475.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.127, allocations: 99.69 kB / 475.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.1271, allocations: 8.234 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.807e-05/0.1272, allocations: 47.77 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.1274, allocations: 35.8 kB / 475.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1274, allocations: 4 kB / 475.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1276, allocations: 59.95 kB / 475.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.1276, allocations: 19.92 kB / 475.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.1277, allocations: 61.48 kB / 475.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1279, allocations: 127.9 kB / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.128, allocations: 0 / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.128, allocations: 0 / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.128, allocations: 4 kB / 475.8 MB, free: 9.762 MB / 350.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.0005491/0.1285, allocations: 403 kB / 476.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1286, allocations: 8.031 kB / 476.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.1286, allocations: 30.75 kB / 476.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.1287, allocations: 12.84 kB / 476.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.129, allocations: 217.8 kB / 476.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.129, allocations: 4 kB / 476.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.129, allocations: 4 kB / 476.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1292, allocations: 83.27 kB / 476.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1292, allocations: 0 / 476.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1292, allocations: 3.984 kB / 476.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1292, allocations: 0 / 476.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.637e-05/0.1293, allocations: 27.98 kB / 476.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.1298, allocations: 296.8 kB / 476.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.1301, allocations: 74.61 kB / 477 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.361e-05/0.1301, allocations: 20.86 kB / 477 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.1302, allocations: 4 kB / 477 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.1304, allocations: 71.38 kB / 477.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.1304, allocations: 0 / 477.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007142/0.1311, allocations: 197.3 kB / 477.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/0.1312, allocations: 89.05 kB / 477.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.1314, allocations: 155.9 kB / 477.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1315, allocations: 29.7 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/0.1316, allocations: 104.1 kB / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.1316, allocations: 27.59 kB / 477.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1317, allocations: 17.7 kB / 477.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1318, allocations: 322.8 kB / 478 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.1318, allocations: 24 kB / 478 MB, free: 7.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.61e-05/0.1319, allocations: 54.48 kB / 478.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.1321, allocations: 61.72 kB / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1321, allocations: 0 / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002231/0.1323, allocations: 125.4 kB / 478.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1323, allocations: 4 kB / 478.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1324, allocations: 4.406 kB / 478.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1324, allocations: 8.047 kB / 478.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.825e-05/0.1325, allocations: 19.98 kB / 478.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1325, allocations: 0 / 478.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.1326, allocations: 8 kB / 478.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1326, allocations: 4 kB / 478.3 MB, free: 7.035 MB / 350.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.0001104/0.1327, allocations: 121.8 kB / 478.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.1327, allocations: 11.91 kB / 478.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.1328, allocations: 20.64 kB / 478.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1328, allocations: 4 kB / 478.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1328, allocations: 3.938 kB / 478.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1328, allocations: 7.984 kB / 478.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.1333, allocations: 403.3 kB / 478.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1333, allocations: 3.938 kB / 478.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.1333, allocations: 12 kB / 478.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1333, allocations: 0 / 478.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1334, allocations: 3.984 kB / 478.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1334, allocations: 8.031 kB / 478.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1334, allocations: 0 / 478.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.1336, allocations: 216.1 kB / 479.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.1337, allocations: 92.94 kB / 479.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.1337, allocations: 8 kB / 479.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.1338, allocations: 8 kB / 479.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1339, allocations: 11.98 kB / 479.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1339, allocations: 0 / 479.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.769e-05/0.134, allocations: 125.3 kB / 479.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.134, allocations: 0 / 479.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1343, allocations: 35.98 kB / 479.4 MB, free: 5.852 MB / 350.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.001638/0.1359, allocations: 1.146 MB / 480.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1361, allocations: 67.86 kB / 480.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1361, allocations: 3.938 kB / 480.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.891e-05/0.1362, allocations: 35.92 kB / 480.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1366, allocations: 32.12 kB / 480.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1383, allocations: 1.632 MB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.1386, allocations: 0.7041 MB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.197e-05/0.1387, allocations: 20.62 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.394e-05/0.1388, allocations: 35.42 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1388, allocations: 0 / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.1548, allocations: 3.236 MB / 486.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.155, allocations: 246.2 kB / 486.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.9, allocations: 0 / 486.5 MB, free: 14.87 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches