Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 106.3 kB / 16.41 MB, free: 6.402 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.001363/0.001363, allocations: 187 kB / 17.34 MB, free: 5.699 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.542/1.542, 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.2214/0.2214, allocations: 43.53 MB / 314.1 MB, free: 456 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.00138/0.00138, allocations: 73.45 kB / 441.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1332, allocations: 57.79 MB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003244/0.1365, allocations: 1.654 MB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.138, allocations: 0.7845 MB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.1381, allocations: 0 / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.1385, allocations: 47.81 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.1387, allocations: 67.69 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.139, allocations: 87.7 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1392, allocations: 95.69 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.762e-05/0.1392, allocations: 7.984 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.1393, allocations: 43.78 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.307e-05/0.1394, allocations: 23.86 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1394, allocations: 4 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.1395, allocations: 31.98 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.1396, allocations: 31.84 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.1397, allocations: 39.67 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1399, allocations: 115.6 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1399, allocations: 0 / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1399, allocations: 4 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1399, allocations: 0 / 0.4909 GB, free: 8.668 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.000605/0.1405, allocations: 430.7 kB / 0.4913 GB, free: 8.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1406, allocations: 11.89 kB / 0.4913 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.1406, allocations: 16.84 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.141, allocations: 223.7 kB / 0.4916 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.141, allocations: 8.375 kB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.141, allocations: 4.125 kB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1412, allocations: 45.67 kB / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1412, allocations: 4 kB / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1412, allocations: 0 / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1412, allocations: 0 / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.382e-05/0.1413, allocations: 19.97 kB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.1415, allocations: 189.7 kB / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1417, allocations: 54.55 kB / 0.4919 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.1418, allocations: 20.8 kB / 0.4919 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1418, allocations: 4 kB / 0.4919 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.1419, allocations: 71.3 kB / 0.492 GB, free: 7.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.142, allocations: 0 / 0.492 GB, free: 7.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003006/0.1423, allocations: 101.5 kB / 0.4921 GB, free: 7.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.1423, allocations: 55.34 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.1426, allocations: 258.5 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1426, allocations: 25.7 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.1427, allocations: 112.1 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.1427, allocations: 15.75 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.1427, allocations: 25.72 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1429, allocations: 326.8 kB / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/0.1429, allocations: 15.98 kB / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.475e-05/0.143, allocations: 29.69 kB / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1431, allocations: 41.72 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1431, allocations: 3.938 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001579/0.1433, allocations: 97.36 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1433, allocations: 4 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1433, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1433, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.1434, allocations: 15.94 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1434, allocations: 0 / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.1435, allocations: 4.297 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.1435, allocations: 4 kB / 0.493 GB, free: 6.23 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 0.0001183/0.1436, allocations: 145.7 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.1437, allocations: 11.81 kB / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.1437, allocations: 17 kB / 0.4932 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1437, allocations: 4 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1437, allocations: 0 / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1437, allocations: 3.984 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1439, allocations: 197.6 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1439, allocations: 0 / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.1439, allocations: 7.984 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1439, allocations: 0 / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.144, allocations: 0 / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.144, allocations: 4 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.144, allocations: 0 / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1442, allocations: 124.8 kB / 0.4935 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.1442, allocations: 81.02 kB / 0.4936 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1443, allocations: 4 kB / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.1443, allocations: 0 / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.1444, allocations: 11.92 kB / 0.4936 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.1444, allocations: 4 kB / 0.4936 GB, free: 5.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.1446, allocations: 196.5 kB / 0.4938 GB, free: 5.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1446, allocations: 0 / 0.4938 GB, free: 5.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.1448, allocations: 15.98 kB / 0.4938 GB, free: 5.32 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.0009885/0.1458, allocations: 419.9 kB / 0.4942 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.146, allocations: 39.92 kB / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.146, allocations: 4 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.939e-05/0.1461, allocations: 20.06 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1463, allocations: 35.77 kB / 0.4943 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.1469, allocations: 258.6 kB / 0.4946 GB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1472, allocations: 0.7119 MB / 0.4953 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.902e-05/0.1472, allocations: 12.55 kB / 0.4953 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.1473, allocations: 19.44 kB / 0.4953 GB, free: 3.801 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1473, allocations: 0 / 0.4953 GB, free: 3.801 MB / 382.1 MB Notification: Performance of Templates: time 0.00435/0.1516, allocations: 1.502 MB / 0.4968 GB, free: 2.301 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches