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.001296/0.001296, allocations: 107.2 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.001292/0.001292, 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.495/1.495, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2225/0.2225, allocations: 43.53 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.001429/0.001429, allocations: 73.62 kB / 441.9 MB, free: 5.566 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1179, allocations: 57.8 MB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.00421/0.1221, allocations: 1.65 MB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1239, allocations: 0.792 MB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.124, allocations: 0 / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.1244, allocations: 55.73 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.1248, allocations: 59.77 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.1252, allocations: 87.75 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1254, allocations: 91.7 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.373e-05/0.1255, allocations: 7.984 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1257, allocations: 47.77 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1258, allocations: 23.86 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.1258, allocations: 4 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1259, allocations: 27.98 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.891e-05/0.126, allocations: 31.84 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.78e-05/0.1261, allocations: 43.67 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.1264, allocations: 115.6 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1264, allocations: 0 / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1264, allocations: 0 / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1265, allocations: 0 / 0.4909 GB, free: 8.648 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.0007541/0.1272, allocations: 434.7 kB / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1273, allocations: 11.89 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.1274, allocations: 12.84 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.1278, allocations: 219.9 kB / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1278, allocations: 384 / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1278, allocations: 8.125 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.128, allocations: 45.67 kB / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.128, allocations: 0 / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1281, allocations: 0 / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1281, allocations: 4 kB / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.431e-05/0.1282, allocations: 15.98 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.1285, allocations: 197.7 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.1287, allocations: 50.56 kB / 0.4919 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.1288, allocations: 24.78 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1288, allocations: 0 / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.129, allocations: 71.3 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/0.129, allocations: 4 kB / 0.492 GB, free: 7.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003741/0.1294, allocations: 97.52 kB / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1295, allocations: 55.34 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.1298, allocations: 258.5 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1298, allocations: 25.7 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.1299, allocations: 112.1 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.13, allocations: 15.75 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.13, allocations: 25.7 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1302, allocations: 330.8 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.317e-05/0.1302, allocations: 15.94 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.1303, allocations: 25.7 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.1305, allocations: 53.89 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1305, allocations: 0 / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002263/0.1307, allocations: 85.44 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1308, allocations: 8 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1308, allocations: 0 / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1308, allocations: 0 / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1309, allocations: 15.92 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1309, allocations: 4 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.131, allocations: 0 / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.131, allocations: 8 kB / 0.4931 GB, free: 6.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 (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.0001371/0.1312, allocations: 137.7 kB / 0.4932 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.1312, allocations: 15.84 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.1313, allocations: 20.98 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1313, allocations: 0 / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1313, allocations: 0 / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1313, allocations: 0 / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1315, allocations: 197.6 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1315, allocations: 4 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.1316, allocations: 0 / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.1316, allocations: 4 kB / 0.4934 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1316, allocations: 3.984 kB / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1316, allocations: 0 / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1316, allocations: 4 kB / 0.4934 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1319, allocations: 120.8 kB / 0.4935 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.1319, allocations: 85.02 kB / 0.4936 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.132, allocations: 12.11 kB / 0.4936 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.383e-05/0.132, allocations: 0 / 0.4936 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.1321, allocations: 7.938 kB / 0.4936 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1321, allocations: 0 / 0.4936 GB, free: 5.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.1324, allocations: 204.5 kB / 0.4938 GB, free: 5.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1324, allocations: 0 / 0.4938 GB, free: 5.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.1327, allocations: 12 kB / 0.4938 GB, free: 5.305 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.001386/0.1341, allocations: 411.5 kB / 0.4942 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.1344, allocations: 39.92 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1344, allocations: 0 / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.389e-05/0.1345, allocations: 24.11 kB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1349, allocations: 35.97 kB / 0.4943 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.1355, allocations: 266.5 kB / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.136, allocations: 0.7119 MB / 0.4953 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.741e-05/0.1361, allocations: 12.55 kB / 0.4953 GB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.1361, allocations: 15.42 kB / 0.4953 GB, free: 3.785 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1361, allocations: 4 kB / 0.4953 GB, free: 3.781 MB / 382.1 MB Notification: Performance of Templates: time 0.006154/0.1423, allocations: 1.501 MB / 0.4968 GB, free: 2.281 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