Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.001166/0.001167, allocations: 103.2 kB / 15.98 MB, free: 6.336 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.001411/0.001412, allocations: 195.7 kB / 16.91 MB, free: 6.188 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.695/1.695, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.3473/0.3473, allocations: 43.5 MB / 313.6 MB, free: 8.336 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.001514/0.001514, allocations: 66.56 kB / 382.3 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1183, allocations: 57.78 MB / 440.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003179/0.1215, allocations: 1.753 MB / 441.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1228, allocations: 0.804 MB / 442.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.1229, allocations: 0 / 442.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1232, allocations: 39.89 kB / 442.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.1234, allocations: 55.81 kB / 442.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.1236, allocations: 75.86 kB / 442.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1238, allocations: 99.69 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.1239, allocations: 16.2 kB / 443 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.932e-05/0.124, allocations: 43.73 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1241, allocations: 31.84 kB / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1242, allocations: 4 kB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.692e-05/0.1243, allocations: 43.98 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.1243, allocations: 31.84 kB / 443.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.1244, allocations: 51.61 kB / 443.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1246, allocations: 123.9 kB / 443.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1246, allocations: 3.938 kB / 443.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1246, allocations: 0 / 443.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1246, allocations: 0 / 443.3 MB, free: 11.19 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.0005107/0.1251, allocations: 438.7 kB / 443.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.1251, allocations: 11.89 kB / 443.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.1252, allocations: 34.75 kB / 443.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.1252, allocations: 8.844 kB / 443.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1254, allocations: 223.8 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1255, allocations: 384 / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.1255, allocations: 19.72 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1256, allocations: 57.66 kB / 444.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1257, allocations: 0 / 444.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1257, allocations: 0 / 444.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1257, allocations: 0 / 444.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/0.1258, allocations: 19.98 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.1261, allocations: 296.9 kB / 444.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1263, allocations: 62.61 kB / 444.4 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.1263, allocations: 20.84 kB / 444.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1263, allocations: 7.984 kB / 444.5 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.1265, allocations: 67.39 kB / 444.5 MB, free: 9.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.416e-06/0.1266, allocations: 0 / 444.5 MB, free: 9.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005404/0.1271, allocations: 189 kB / 444.7 MB, free: 9.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.1271, allocations: 55.39 kB / 444.8 MB, free: 9.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.1274, allocations: 255.7 kB / 445 MB, free: 9.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1274, allocations: 29.7 kB / 445 MB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.1275, allocations: 116 kB / 445.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1275, allocations: 23.73 kB / 445.2 MB, free: 9.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.1276, allocations: 25.72 kB / 445.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1277, allocations: 330.8 kB / 445.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.517e-05/0.1278, allocations: 19.94 kB / 445.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.1278, allocations: 33.7 kB / 445.6 MB, free: 8.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.128, allocations: 65.69 kB / 445.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.128, allocations: 384 / 445.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001808/0.1281, allocations: 105.4 kB / 445.7 MB, free: 8.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1282, allocations: 8 kB / 445.8 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1282, allocations: 0 / 445.8 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1282, allocations: 0 / 445.8 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.1283, allocations: 20 kB / 445.8 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1283, allocations: 4 kB / 445.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.1284, allocations: 7.922 kB / 445.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1284, allocations: 4 kB / 445.8 MB, free: 8.434 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 0.0001006/0.1285, allocations: 141.8 kB / 445.9 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.1285, allocations: 11.81 kB / 445.9 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.1286, allocations: 17.41 kB / 446 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1286, allocations: 4 kB / 446 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1286, allocations: 192 / 446 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1286, allocations: 7.922 kB / 446 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.129, allocations: 407.2 kB / 446.4 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.129, allocations: 0 / 446.4 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.1291, allocations: 16.02 kB / 446.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1291, allocations: 3.938 kB / 446.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1291, allocations: 4 kB / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1291, allocations: 0 / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1291, allocations: 0 / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.1293, allocations: 200.2 kB / 446.6 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1294, allocations: 88.92 kB / 446.7 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.1294, allocations: 11.94 kB / 446.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.1295, allocations: 11.92 kB / 446.7 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.1295, allocations: 4 kB / 446.7 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1295, allocations: 4 kB / 446.7 MB, free: 7.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.1297, allocations: 207 kB / 446.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1297, allocations: 0 / 446.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.13, allocations: 20 kB / 446.9 MB, free: 7.191 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.001384/0.1313, allocations: 1.117 MB / 448 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.1315, allocations: 59.92 kB / 448.1 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1315, allocations: 0 / 448.1 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.679e-05/0.1316, allocations: 27.98 kB / 448.1 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1319, allocations: 35.83 kB / 448.2 MB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.1337, allocations: 1.829 MB / 450 MB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.134, allocations: 0.7235 MB / 450.7 MB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.322e-05/0.1341, allocations: 13.19 kB / 450.7 MB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.1342, allocations: 43.41 kB / 450.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1342, allocations: 0 / 450.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1902/0.3243, allocations: 3.508 MB / 454.3 MB, free: 48.05 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.3246, allocations: 238.8 kB / 454.5 MB, free: 47.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.08, allocations: 0 / 454.5 MB, free: 47.8 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches