Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 108 kB / 16.41 MB, free: 6.508 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.00101/0.001011, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.516/1.516, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2202/0.2202, 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.001284/0.001284, allocations: 69.47 kB / 441.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1189, allocations: 57.79 MB / 499.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003235/0.1222, allocations: 1.844 MB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1236, allocations: 0.9053 MB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.1237, allocations: 3.938 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.1242, allocations: 227.4 kB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.1245, allocations: 167.4 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1248, allocations: 147.6 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.1251, allocations: 227.3 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.902e-05/0.1252, allocations: 25.55 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1254, allocations: 111.6 kB / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.1256, allocations: 147.5 kB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.1256, allocations: 8 kB / 0.4917 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.601e-05/0.1257, allocations: 47.98 kB / 0.4917 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.1258, allocations: 55.81 kB / 0.4918 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.514e-05/0.1258, allocations: 75.31 kB / 0.4918 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.1261, allocations: 215.3 kB / 0.492 GB, free: 7.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1261, allocations: 4 kB / 0.492 GB, free: 7.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1261, allocations: 0 / 0.492 GB, free: 7.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1261, allocations: 0 / 0.492 GB, free: 7.508 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005894/0.1267, allocations: 0.5447 MB / 0.4926 GB, free: 6.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1268, allocations: 15.89 kB / 0.4926 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.1268, allocations: 24.66 kB / 0.4926 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.1272, allocations: 276 kB / 0.4929 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1272, allocations: 384 / 0.4929 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.1272, allocations: 16.12 kB / 0.4929 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.1274, allocations: 95.34 kB / 0.493 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1275, allocations: 3.938 kB / 0.493 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1275, allocations: 4 kB / 0.493 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1275, allocations: 4 kB / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1276, allocations: 39.95 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.1281, allocations: 449 kB / 0.4935 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.1284, allocations: 113.3 kB / 0.4936 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.1285, allocations: 49.64 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.1285, allocations: 0 / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.1287, allocations: 113 kB / 0.4937 GB, free: 5.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.1287, allocations: 0 / 0.4937 GB, free: 5.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008252/0.1295, allocations: 376.5 kB / 0.4941 GB, free: 5.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.1296, allocations: 81.05 kB / 0.4942 GB, free: 5.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.13, allocations: 428.5 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.13, allocations: 25.7 kB / 0.4946 GB, free: 4.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.1301, allocations: 164.2 kB / 0.4947 GB, free: 4.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.1302, allocations: 47.36 kB / 0.4948 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.1302, allocations: 37.7 kB / 0.4948 GB, free: 4.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1303, allocations: 338.8 kB / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.886e-05/0.1304, allocations: 47.97 kB / 0.4952 GB, free: 4.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1306, allocations: 66.86 kB / 0.4953 GB, free: 3.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.1307, allocations: 119.3 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1308, allocations: 7.938 kB / 0.4954 GB, free: 3.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002864/0.131, allocations: 181.4 kB / 0.4955 GB, free: 3.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1311, allocations: 8 kB / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1311, allocations: 4 kB / 0.4956 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1311, allocations: 0 / 0.4956 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1313, allocations: 35.98 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1313, allocations: 7.875 kB / 0.4956 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.1313, allocations: 4 kB / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1314, allocations: 16.06 kB / 0.4956 GB, free: 3.547 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001166/0.1315, allocations: 157.8 kB / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.1315, allocations: 31.62 kB / 0.4958 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.237e-05/0.1316, allocations: 38.61 kB / 0.4958 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1316, allocations: 4 kB / 0.4958 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1316, allocations: 3.938 kB / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1316, allocations: 0 / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006344/0.1323, allocations: 0.6322 MB / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1323, allocations: 0 / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.222e-05/0.1323, allocations: 19.94 kB / 0.4965 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1323, allocations: 4 kB / 0.4965 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1324, allocations: 3.984 kB / 0.4965 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1324, allocations: 4.078 kB / 0.4965 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1324, allocations: 3.984 kB / 0.4965 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.1327, allocations: 371.9 kB / 0.4969 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.1328, allocations: 100.8 kB / 0.4969 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.1329, allocations: 4 kB / 0.497 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.133, allocations: 11.98 kB / 0.497 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.133, allocations: 11.92 kB / 0.497 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.1331, allocations: 16 kB / 0.497 GB, free: 2.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003052/0.1334, allocations: 319 kB / 0.4973 GB, free: 1.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1334, allocations: 4 kB / 0.4973 GB, free: 1.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000307/0.1337, allocations: 36 kB / 0.4973 GB, free: 1.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000959/0.1347, allocations: 471 kB / 0.4978 GB, free: 1.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.1349, allocations: 119.8 kB / 0.4979 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.135, allocations: 0 / 0.4979 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1351, allocations: 59.91 kB / 0.498 GB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.1355, allocations: 73.03 kB / 0.498 GB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006819/0.1362, allocations: 0.4942 MB / 0.4985 GB, free: 492 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1366, allocations: 0.7554 MB / 0.4992 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.372e-05/0.1366, allocations: 38.55 kB / 0.4993 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.1367, allocations: 27.44 kB / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1367, allocations: 0 / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of Templates: time 0.005593/0.1423, allocations: 2.729 MB / 0.502 GB, free: 12.91 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches