Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 115.9 kB / 17.08 MB, free: 5.832 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.001118/0.001118, allocations: 194.4 kB / 18.01 MB, free: 4.965 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.301/1.301, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.222/0.222, allocations: 43.53 MB / 314.8 MB, free: 464 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.001425/0.001425, allocations: 72.45 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1222, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003056/0.1253, allocations: 1.651 MB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1266, allocations: 0.7806 MB / 0.491 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.1267, allocations: 0 / 0.491 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.1271, allocations: 63.77 kB / 0.491 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.1273, allocations: 67.69 kB / 0.4911 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.1276, allocations: 87.7 kB / 0.4912 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.1278, allocations: 95.69 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.993e-05/0.1278, allocations: 11.98 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.807e-05/0.1279, allocations: 55.75 kB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.128, allocations: 39.84 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1281, allocations: 4 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.983e-05/0.1282, allocations: 28 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.286e-05/0.1282, allocations: 23.84 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.1283, allocations: 27.81 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.1285, allocations: 103.6 kB / 0.4916 GB, free: 8.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1285, allocations: 0 / 0.4916 GB, free: 8.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1285, allocations: 0 / 0.4916 GB, free: 8.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1285, allocations: 4 kB / 0.4916 GB, free: 8.676 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005965/0.1291, allocations: 406.4 kB / 0.492 GB, free: 8.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1292, allocations: 11.89 kB / 0.492 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.1292, allocations: 12.84 kB / 0.492 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.1295, allocations: 208 kB / 0.4922 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1295, allocations: 8.375 kB / 0.4922 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.1296, allocations: 8.062 kB / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1297, allocations: 49.66 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1297, allocations: 4 kB / 0.4922 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1297, allocations: 4 kB / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1298, allocations: 0 / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.1298, allocations: 15.98 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.13, allocations: 177.7 kB / 0.4924 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1302, allocations: 50.56 kB / 0.4925 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.1303, allocations: 28.78 kB / 0.4925 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1303, allocations: 0 / 0.4925 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.1305, allocations: 67.39 kB / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1305, allocations: 0 / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002751/0.1307, allocations: 89.58 kB / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.1308, allocations: 59.33 kB / 0.4927 GB, free: 7.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.131, allocations: 186.2 kB / 0.4929 GB, free: 7.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.131, allocations: 25.7 kB / 0.4929 GB, free: 7.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.131, allocations: 100.1 kB / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.1311, allocations: 19.8 kB / 0.493 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.1311, allocations: 21.7 kB / 0.4931 GB, free: 6.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1312, allocations: 318.8 kB / 0.4934 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.1313, allocations: 15.98 kB / 0.4934 GB, free: 6.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-05/0.1314, allocations: 29.7 kB / 0.4934 GB, free: 6.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.47e-05/0.1315, allocations: 41.97 kB / 0.4934 GB, free: 6.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1315, allocations: 4 kB / 0.4934 GB, free: 6.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001592/0.1316, allocations: 89.39 kB / 0.4935 GB, free: 6.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1317, allocations: 4 kB / 0.4935 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1317, allocations: 0 / 0.4935 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1317, allocations: 4 kB / 0.4935 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.931e-05/0.1318, allocations: 8 kB / 0.4935 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1318, allocations: 12.11 kB / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.1319, allocations: 19.83 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1319, allocations: 0 / 0.4936 GB, free: 6.387 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 (7): * Single equations (assignments): 7 * 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 9.479e-05/0.132, allocations: 129.5 kB / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.132, allocations: 11.91 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.1321, allocations: 20.23 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1321, allocations: 0 / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1321, allocations: 0 / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1321, allocations: 0 / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.1322, allocations: 189.6 kB / 0.4939 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1322, allocations: 0 / 0.4939 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.1323, allocations: 4 kB / 0.4939 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1323, allocations: 3.984 kB / 0.4939 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1323, allocations: 0 / 0.4939 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1323, allocations: 0 / 0.4939 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1323, allocations: 0 / 0.4939 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1325, allocations: 112.9 kB / 0.494 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.1325, allocations: 96.92 kB / 0.4941 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1326, allocations: 0 / 0.4941 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.447e-05/0.1326, allocations: 4 kB / 0.4941 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.1327, allocations: 4.109 kB / 0.4941 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.1327, allocations: 8 kB / 0.4941 GB, free: 5.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1328, allocations: 140.1 kB / 0.4943 GB, free: 5.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1328, allocations: 0 / 0.4943 GB, free: 5.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.133, allocations: 19.98 kB / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009484/0.134, allocations: 412.2 kB / 0.4947 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.1341, allocations: 43.92 kB / 0.4947 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1342, allocations: 0 / 0.4947 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.755e-05/0.1342, allocations: 19.98 kB / 0.4947 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1345, allocations: 39.78 kB / 0.4948 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.1349, allocations: 219.7 kB / 0.495 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1352, allocations: 0.708 MB / 0.4957 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.1352, allocations: 11.44 kB / 0.4957 GB, free: 4.102 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1352, allocations: 0 / 0.4957 GB, free: 4.102 MB / 382.1 MB Notification: Performance of Templates: time 0.003436/0.1387, allocations: 1.68 MB / 0.4973 GB, free: 2.422 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches