Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 108.1 kB / 17.03 MB, free: 5.66 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.001449/0.001449, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.62/1.62, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2463/0.2463, allocations: 43.51 MB / 314.7 MB, free: 480 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.001661/0.001661, allocations: 71.66 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1343, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003431/0.1377, allocations: 1.693 MB / 443.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.139, allocations: 0.8039 MB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.181e-05/0.1391, allocations: 0 / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004731/0.1397, allocations: 43.77 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.1399, allocations: 51.75 kB / 444.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.1402, allocations: 91.7 kB / 444.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.1404, allocations: 91.69 kB / 444.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1406, allocations: 16.23 kB / 444.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.1407, allocations: 47.77 kB / 444.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.843e-05/0.1408, allocations: 27.8 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.1409, allocations: 4 kB / 444.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.141, allocations: 47.97 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.694e-05/0.1411, allocations: 15.92 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.1411, allocations: 31.75 kB / 444.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1414, allocations: 111.6 kB / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.1414, allocations: 0 / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.508e-06/0.1414, allocations: 4 kB / 445 MB, free: 3.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1415, allocations: 4 kB / 445 MB, free: 3.043 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000684/0.1422, allocations: 414.9 kB / 445.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1422, allocations: 11.89 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.1423, allocations: 8.844 kB / 445.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.1426, allocations: 213 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1427, allocations: 384 / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.1427, allocations: 8.125 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1429, allocations: 57.67 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1429, allocations: 7.984 kB / 445.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1429, allocations: 0 / 445.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1429, allocations: 4 kB / 445.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.473e-05/0.143, allocations: 19.92 kB / 445.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.1434, allocations: 284.8 kB / 446 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.1436, allocations: 58.67 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.1437, allocations: 20.86 kB / 446.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.1437, allocations: 7.938 kB / 446.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.1439, allocations: 67.33 kB / 446.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1439, allocations: 3.938 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005578/0.1445, allocations: 173.1 kB / 446.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1445, allocations: 59.41 kB / 446.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.1447, allocations: 190.1 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1447, allocations: 29.7 kB / 446.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.1448, allocations: 100.1 kB / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.1448, allocations: 23.7 kB / 446.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.1449, allocations: 25.7 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.1449, allocations: 326.8 kB / 447.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.234e-05/0.145, allocations: 20 kB / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-05/0.1451, allocations: 37.7 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.756e-05/0.1452, allocations: 65.64 kB / 447.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1452, allocations: 0 / 447.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001464/0.1453, allocations: 89.59 kB / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1454, allocations: 7.984 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1454, allocations: 7.938 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1454, allocations: 0 / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.1455, allocations: 16.03 kB / 447.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1455, allocations: 0 / 447.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.1456, allocations: 7.938 kB / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1456, allocations: 11.98 kB / 447.4 MB, free: 488 kB / 318.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 (10): * Single equations (assignments): 10 * 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 9.064e-05/0.1457, allocations: 125.3 kB / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.1457, allocations: 11.81 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.1457, allocations: 16.7 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1458, allocations: 4 kB / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1458, allocations: 4.375 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1458, allocations: 3.938 kB / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.1462, allocations: 391.3 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.1462, allocations: 8 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.1463, allocations: 7.938 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1463, allocations: 4 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1463, allocations: 7.922 kB / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1463, allocations: 0 / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1463, allocations: 7.938 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.1466, allocations: 200.3 kB / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.1467, allocations: 81.02 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.1467, allocations: 12.12 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.1468, allocations: 3.984 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.1468, allocations: 7.938 kB / 448.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.1468, allocations: 4 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.147, allocations: 143.2 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.147, allocations: 3.938 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1473, allocations: 23.91 kB / 448.4 MB, free: 15.32 MB / 334.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 (8): * Single equations (assignments): 6 * 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.001269/0.1485, allocations: 472.1 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1487, allocations: 59.91 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1487, allocations: 0 / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.1488, allocations: 31.92 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1492, allocations: 27.97 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.1498, allocations: 231.3 kB / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.1501, allocations: 0.7002 MB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.51e-05/0.1502, allocations: 17.17 kB / 449.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.1502, allocations: 15.44 kB / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1502, allocations: 0 / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Templates: time 0.005495/0.1557, allocations: 1.692 MB / 451.6 MB, free: 12.13 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches