Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_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.001649/0.001649, allocations: 105.1 kB / 16.41 MB, free: 6.457 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.00179/0.00179, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.452/1.452, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2169/0.2169, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 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.002067/0.002067, allocations: 77.61 kB / 441.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1183, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003387/0.1218, allocations: 1.7 MB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.1241, allocations: 1.402 MB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.1242, allocations: 0 / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.1245, allocations: 51.64 kB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.1248, allocations: 67.75 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1251, allocations: 83.7 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.1253, allocations: 103.7 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1254, allocations: 16.2 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.1255, allocations: 39.8 kB / 0.4909 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.1257, allocations: 43.83 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.1257, allocations: 7.938 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.1259, allocations: 63.95 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.1259, allocations: 19.98 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.427e-05/0.126, allocations: 43.69 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.1263, allocations: 135.5 kB / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1263, allocations: 0 / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1263, allocations: 0 / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.1263, allocations: 0 / 0.4912 GB, free: 8.422 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006581/0.127, allocations: 406.8 kB / 0.4915 GB, free: 7.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.127, allocations: 19.88 kB / 0.4916 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.1271, allocations: 34.75 kB / 0.4916 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.1271, allocations: 12.89 kB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.1275, allocations: 216.4 kB / 0.4918 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1275, allocations: 4 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.1275, allocations: 0 / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.1277, allocations: 79.31 kB / 0.4919 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1278, allocations: 4 kB / 0.4919 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1278, allocations: 0 / 0.4919 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1278, allocations: 0 / 0.4919 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1279, allocations: 31.97 kB / 0.4919 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.1283, allocations: 296.8 kB / 0.4922 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.1286, allocations: 70.67 kB / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/0.1286, allocations: 20.84 kB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.1287, allocations: 8 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.1289, allocations: 71.38 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1289, allocations: 3.938 kB / 0.4924 GB, free: 6.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006176/0.1295, allocations: 201.4 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.1296, allocations: 89.05 kB / 0.4927 GB, free: 6.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.1298, allocations: 150.4 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.1298, allocations: 33.7 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.1299, allocations: 100.1 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.13, allocations: 27.88 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.13, allocations: 33.64 kB / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1302, allocations: 318.8 kB / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.1303, allocations: 23.98 kB / 0.4933 GB, free: 5.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.1304, allocations: 42.56 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.1305, allocations: 77.67 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1306, allocations: 0 / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002272/0.1308, allocations: 117.5 kB / 0.4935 GB, free: 5.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1308, allocations: 4 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1308, allocations: 3.938 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1308, allocations: 4 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.131, allocations: 19.98 kB / 0.4936 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.131, allocations: 4 kB / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.131, allocations: 7.969 kB / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.1311, allocations: 4 kB / 0.4936 GB, free: 5.668 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 (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.0001258/0.1312, allocations: 133.7 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.1312, allocations: 7.953 kB / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.793e-05/0.1313, allocations: 16.66 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1313, allocations: 4 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1313, allocations: 0 / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1313, allocations: 0 / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.1319, allocations: 415.2 kB / 0.4941 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1319, allocations: 3.984 kB / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.1319, allocations: 12 kB / 0.4941 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.132, allocations: 0 / 0.4941 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.132, allocations: 0 / 0.4941 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.132, allocations: 7.984 kB / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.132, allocations: 96 / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.1323, allocations: 228.1 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.1324, allocations: 81.06 kB / 0.4944 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.1324, allocations: 4 kB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.1325, allocations: 7.984 kB / 0.4945 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.1325, allocations: 4 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.1325, allocations: 4 kB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.1327, allocations: 127.9 kB / 0.4946 GB, free: 4.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1327, allocations: 0 / 0.4946 GB, free: 4.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.133, allocations: 43.92 kB / 0.4946 GB, free: 4.48 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 (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.00231/0.1353, allocations: 1.135 MB / 0.4957 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.1355, allocations: 67.91 kB / 0.4958 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1355, allocations: 0 / 0.4958 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.1356, allocations: 36.05 kB / 0.4958 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.136, allocations: 31.67 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.1381, allocations: 1.62 MB / 0.4975 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.1384, allocations: 0.7002 MB / 0.4981 GB, free: 0.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.71e-05/0.1385, allocations: 20.58 kB / 0.4982 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.519e-05/0.1386, allocations: 35.42 kB / 0.4982 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1386, allocations: 3.938 kB / 0.4982 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.1659, allocations: 3.712 MB / 0.5018 GB, free: 12.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.026, allocations: 8.047 kB / 0.5018 GB, free: 12.94 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches