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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 107.1 kB / 16.41 MB, free: 6.504 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.001296/0.001296, allocations: 189.5 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.453/1.453, 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.2325/0.2325, allocations: 43.52 MB / 314.1 MB, free: 440 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.001584/0.001584, allocations: 73.45 kB / 441.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1294, allocations: 57.79 MB / 499.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003541/0.133, allocations: 1.704 MB / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1355, allocations: 1.41 MB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1356, allocations: 0 / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.1359, allocations: 47.7 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1363, allocations: 63.69 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.1367, allocations: 83.77 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.137, allocations: 99.75 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1371, allocations: 24.2 kB / 0.4913 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1372, allocations: 47.78 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1375, allocations: 39.84 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.1375, allocations: 7.938 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.1377, allocations: 63.95 kB / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.1377, allocations: 15.94 kB / 0.4915 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.1378, allocations: 39.72 kB / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.1381, allocations: 127.7 kB / 0.4916 GB, free: 7.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1381, allocations: 0 / 0.4916 GB, free: 7.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1381, allocations: 4 kB / 0.4916 GB, free: 7.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1382, allocations: 0 / 0.4916 GB, free: 7.922 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.000674/0.1388, allocations: 411 kB / 0.492 GB, free: 7.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1389, allocations: 15.89 kB / 0.492 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.139, allocations: 8.844 kB / 0.492 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.1394, allocations: 216.6 kB / 0.4923 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1394, allocations: 7.922 kB / 0.4923 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.1394, allocations: 4 kB / 0.4923 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.1397, allocations: 79.38 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1397, allocations: 3.938 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.1397, allocations: 4 kB / 0.4923 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1397, allocations: 3.984 kB / 0.4923 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.822e-05/0.1398, allocations: 23.98 kB / 0.4924 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.1403, allocations: 292.8 kB / 0.4927 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1405, allocations: 74.67 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.1406, allocations: 20.86 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.1406, allocations: 0 / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.1409, allocations: 83.22 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.1409, allocations: 0 / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007026/0.1416, allocations: 201.3 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.1417, allocations: 81.05 kB / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1418, allocations: 154.4 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.1419, allocations: 29.8 kB / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.142, allocations: 104 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.142, allocations: 23.62 kB / 0.4934 GB, free: 5.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.1421, allocations: 29.7 kB / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1422, allocations: 326.8 kB / 0.4937 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.1423, allocations: 23.98 kB / 0.4938 GB, free: 5.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.1424, allocations: 46.56 kB / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1425, allocations: 69.64 kB / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1425, allocations: 0 / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002403/0.1428, allocations: 113.5 kB / 0.494 GB, free: 5.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1428, allocations: 8.062 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.1428, allocations: 4 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1428, allocations: 3.938 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.143, allocations: 19.98 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.143, allocations: 0 / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.475e-05/0.143, allocations: 4 kB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1431, allocations: 11.88 kB / 0.494 GB, free: 5.215 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.0001276/0.1432, allocations: 125.8 kB / 0.4941 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.1432, allocations: 11.91 kB / 0.4942 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.1433, allocations: 20.66 kB / 0.4942 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1433, allocations: 3.984 kB / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1433, allocations: 0 / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1433, allocations: 0 / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.1438, allocations: 415.2 kB / 0.4946 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1438, allocations: 0 / 0.4946 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.1439, allocations: 8 kB / 0.4946 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1439, allocations: 4 kB / 0.4946 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1439, allocations: 12.11 kB / 0.4946 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1439, allocations: 3.938 kB / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1439, allocations: 0 / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.1442, allocations: 212.2 kB / 0.4948 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.1443, allocations: 85.02 kB / 0.4949 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1443, allocations: 7.984 kB / 0.4949 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.1444, allocations: 4 kB / 0.4949 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1444, allocations: 8 kB / 0.4949 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.1444, allocations: 11.92 kB / 0.4949 GB, free: 4.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1446, allocations: 127.9 kB / 0.495 GB, free: 4.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1446, allocations: 0 / 0.495 GB, free: 4.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.1449, allocations: 28 kB / 0.4951 GB, free: 4.039 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.001201/0.1461, allocations: 0.4957 MB / 0.4955 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.1464, allocations: 79.83 kB / 0.4956 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.1464, allocations: 4 kB / 0.4956 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.1465, allocations: 36 kB / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1469, allocations: 27.83 kB / 0.4957 GB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.1475, allocations: 206.9 kB / 0.4959 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1478, allocations: 0.7002 MB / 0.4966 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.597e-05/0.1479, allocations: 24.84 kB / 0.4966 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.148, allocations: 19.42 kB / 0.4966 GB, free: 2.441 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.148, allocations: 0 / 0.4966 GB, free: 2.441 MB / 382.1 MB Notification: Performance of Templates: time 0.006315/0.1543, allocations: 2.045 MB / 0.4986 GB, free: 416 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/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