Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 105 kB / 16.41 MB, free: 6.512 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.001302/0.001302, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.721/1.721, 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.2377/0.2377, allocations: 43.52 MB / 314.1 MB, free: 444 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.00139/0.00139, allocations: 73.47 kB / 441.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1312, allocations: 57.79 MB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002931/0.1341, allocations: 1.654 MB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1355, allocations: 0.7845 MB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.1356, allocations: 0 / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.1359, allocations: 87.62 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1362, allocations: 75.72 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1365, allocations: 83.78 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1366, allocations: 107.7 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.1367, allocations: 7.984 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.1368, allocations: 51.75 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.1369, allocations: 47.84 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.1369, allocations: 4 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.317e-05/0.137, allocations: 39.91 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.1371, allocations: 19.92 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.1371, allocations: 31.75 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1373, allocations: 99.58 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1373, allocations: 4 kB / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1373, allocations: 0 / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1374, allocations: 0 / 0.491 GB, free: 8.594 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.0006026/0.138, allocations: 414.7 kB / 0.4914 GB, free: 8.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.138, allocations: 15.89 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.1381, allocations: 8.891 kB / 0.4914 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.1383, allocations: 220.6 kB / 0.4916 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1383, allocations: 384 / 0.4916 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.1384, allocations: 12.12 kB / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1385, allocations: 45.67 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1385, allocations: 0 / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1385, allocations: 0 / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1385, allocations: 3.938 kB / 0.4917 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.598e-05/0.1386, allocations: 15.98 kB / 0.4917 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.1388, allocations: 181.7 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.139, allocations: 66.53 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.139, allocations: 20.8 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1391, allocations: 0 / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.1392, allocations: 63.39 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1392, allocations: 0 / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002766/0.1395, allocations: 105.5 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.1396, allocations: 55.41 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.1397, allocations: 215.1 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1398, allocations: 29.7 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.1398, allocations: 100.1 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.1399, allocations: 19.84 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.1399, allocations: 17.72 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.14, allocations: 322.8 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/0.1401, allocations: 15.98 kB / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.251e-05/0.1401, allocations: 33.7 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.886e-05/0.1402, allocations: 45.59 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1402, allocations: 0 / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001417/0.1404, allocations: 85.56 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1404, allocations: 8 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1404, allocations: 0 / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1404, allocations: 4.031 kB / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/0.1405, allocations: 11.94 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1405, allocations: 4 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.1406, allocations: 7.938 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1406, allocations: 4 kB / 0.493 GB, free: 6.25 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 8.786e-05/0.1407, allocations: 125.7 kB / 0.4931 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.1407, allocations: 19.94 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.1407, allocations: 9 kB / 0.4932 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1407, allocations: 0 / 0.4932 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1408, allocations: 4 kB / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1408, allocations: 0 / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.141, allocations: 193.6 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.141, allocations: 0 / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.141, allocations: 11.94 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.141, allocations: 0 / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1411, allocations: 0 / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1411, allocations: 320 / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1411, allocations: 0 / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1413, allocations: 124.9 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.1414, allocations: 85.06 kB / 0.4936 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1414, allocations: 4 kB / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.823e-05/0.1415, allocations: 7.984 kB / 0.4936 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.1415, allocations: 0 / 0.4936 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.1415, allocations: 4 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1416, allocations: 155.2 kB / 0.4937 GB, free: 5.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1417, allocations: 0 / 0.4937 GB, free: 5.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.1419, allocations: 23.92 kB / 0.4938 GB, free: 5.398 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.0008683/0.1428, allocations: 412.5 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.1429, allocations: 43.92 kB / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1429, allocations: 0 / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.951e-05/0.143, allocations: 19.98 kB / 0.4942 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.1433, allocations: 31.72 kB / 0.4942 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.1437, allocations: 225.8 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1441, allocations: 0.7002 MB / 0.4951 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.771e-05/0.1442, allocations: 16.53 kB / 0.4952 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.1442, allocations: 19.42 kB / 0.4952 GB, free: 3.922 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1442, allocations: 3.938 kB / 0.4952 GB, free: 3.918 MB / 382.1 MB Notification: Performance of Templates: time 0.004217/0.1484, allocations: 1.478 MB / 0.4966 GB, free: 2.441 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches