Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 116 kB / 17.08 MB, free: 6.008 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.001311/0.001311, allocations: 196.1 kB / 18.01 MB, free: 5.094 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.435/1.435, 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.2059/0.2059, allocations: 43.53 MB / 314.8 MB, free: 468 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.001407/0.001407, allocations: 75.88 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1266, allocations: 57.8 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00401/0.1306, allocations: 1.83 MB / 0.4904 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.1325, allocations: 0.9013 MB / 0.4913 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.1327, allocations: 7.875 kB / 0.4913 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.1332, allocations: 159.5 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.1337, allocations: 139.5 kB / 0.4916 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.1343, allocations: 147.7 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004383/0.1347, allocations: 223.3 kB / 0.4919 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1349, allocations: 21.55 kB / 0.492 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.1351, allocations: 99.59 kB / 0.492 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.1354, allocations: 123.6 kB / 0.4922 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.1354, allocations: 12 kB / 0.4922 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.1356, allocations: 43.98 kB / 0.4922 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.1357, allocations: 43.78 kB / 0.4923 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1358, allocations: 79.45 kB / 0.4923 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.1362, allocations: 195.3 kB / 0.4925 GB, free: 7.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1362, allocations: 0 / 0.4925 GB, free: 7.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1362, allocations: 0 / 0.4925 GB, free: 7.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1362, allocations: 0 / 0.4925 GB, free: 7.723 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.0008141/0.137, allocations: 0.5131 MB / 0.493 GB, free: 7.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1371, allocations: 19.89 kB / 0.493 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.1372, allocations: 20.66 kB / 0.4931 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.1375, allocations: 267.6 kB / 0.4933 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1375, allocations: 4.375 kB / 0.4933 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.1376, allocations: 12.11 kB / 0.4933 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.1378, allocations: 99.3 kB / 0.4934 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1378, allocations: 3.938 kB / 0.4934 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1379, allocations: 0 / 0.4934 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1379, allocations: 8 kB / 0.4934 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.138, allocations: 39.97 kB / 0.4935 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.1386, allocations: 440.8 kB / 0.4939 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.1389, allocations: 117.3 kB / 0.494 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.139, allocations: 45.69 kB / 0.4941 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1391, allocations: 0 / 0.4941 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.1393, allocations: 109.1 kB / 0.4942 GB, free: 5.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.1394, allocations: 0 / 0.4942 GB, free: 5.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008583/0.1402, allocations: 364.6 kB / 0.4945 GB, free: 5.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.1403, allocations: 85.05 kB / 0.4946 GB, free: 5.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.1407, allocations: 347 kB / 0.4949 GB, free: 5.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1407, allocations: 33.7 kB / 0.4949 GB, free: 4.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.1408, allocations: 144.4 kB / 0.4951 GB, free: 4.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.1409, allocations: 51.3 kB / 0.4951 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.1409, allocations: 37.7 kB / 0.4952 GB, free: 4.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1411, allocations: 330.8 kB / 0.4955 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/0.1412, allocations: 47.92 kB / 0.4955 GB, free: 4.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1413, allocations: 75.53 kB / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.1416, allocations: 119.3 kB / 0.4957 GB, free: 4.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1416, allocations: 4 kB / 0.4957 GB, free: 4.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000316/0.1419, allocations: 173.3 kB / 0.4959 GB, free: 3.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1419, allocations: 8 kB / 0.4959 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1419, allocations: 0 / 0.4959 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.142, allocations: 64 / 0.4959 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1421, allocations: 43.91 kB / 0.4959 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1421, allocations: 3.938 kB / 0.4959 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.1422, allocations: 8 kB / 0.4959 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1422, allocations: 11.94 kB / 0.496 GB, free: 3.91 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.0001355/0.1424, allocations: 149.8 kB / 0.4961 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.1424, allocations: 23.72 kB / 0.4961 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.1425, allocations: 37.73 kB / 0.4962 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1425, allocations: 0 / 0.4962 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1425, allocations: 7.938 kB / 0.4962 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.1425, allocations: 3.938 kB / 0.4962 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006944/0.1432, allocations: 0.6128 MB / 0.4968 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1432, allocations: 0 / 0.4968 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.1433, allocations: 27.91 kB / 0.4968 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1433, allocations: 0 / 0.4968 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1433, allocations: 4.062 kB / 0.4968 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.1433, allocations: 8 kB / 0.4968 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1433, allocations: 0 / 0.4968 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.1438, allocations: 364 kB / 0.4972 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/0.1438, allocations: 100.8 kB / 0.4973 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.1439, allocations: 8 kB / 0.4973 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.144, allocations: 8 kB / 0.4973 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.1441, allocations: 11.98 kB / 0.4973 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1441, allocations: 7.984 kB / 0.4973 GB, free: 2.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002863/0.1444, allocations: 261.9 kB / 0.4975 GB, free: 2.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1444, allocations: 0 / 0.4975 GB, free: 2.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000328/0.1447, allocations: 39.98 kB / 0.4976 GB, free: 2.145 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.001048/0.1458, allocations: 481.5 kB / 0.498 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002845/0.1461, allocations: 111.9 kB / 0.4981 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1461, allocations: 128 / 0.4981 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1462, allocations: 67.89 kB / 0.4982 GB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.1468, allocations: 68.52 kB / 0.4983 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007926/0.1476, allocations: 467.8 kB / 0.4987 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1479, allocations: 0.7516 MB / 0.4995 GB, free: 192 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.148, allocations: 27.42 kB / 0.4995 GB, free: 164 kB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.148, allocations: 0 / 0.4995 GB, free: 164 kB / 382.1 MB Notification: Performance of Templates: time 0.005146/0.1531, allocations: 3.121 MB / 0.5025 GB, free: 13.04 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches