Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001045/0.001045, allocations: 192.6 kB / 17.2 MB, free: 5.574 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.717/1.717, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2426/0.2426, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 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.001531/0.001531, allocations: 70.31 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1339, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003781/0.1378, allocations: 1.689 MB / 442.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.139, allocations: 0.7961 MB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.026e-05/0.1391, allocations: 0 / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003824/0.1395, allocations: 47.83 kB / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.1397, allocations: 59.69 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.14, allocations: 75.78 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1401, allocations: 99.69 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1403, allocations: 8.5 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.1404, allocations: 39.8 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.849e-05/0.1405, allocations: 35.84 kB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1405, allocations: 4 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1406, allocations: 43.92 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.1407, allocations: 19.92 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.1407, allocations: 35.73 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1409, allocations: 111.6 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1409, allocations: 0 / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1409, allocations: 0 / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1409, allocations: 0 / 443.6 MB, free: 3.824 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.0005381/0.1415, allocations: 414.9 kB / 444 MB, free: 3.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1415, allocations: 15.89 kB / 444 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.1416, allocations: 8.844 kB / 444 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.1418, allocations: 213.1 kB / 444.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1418, allocations: 384 / 444.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1418, allocations: 4.125 kB / 444.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.142, allocations: 57.67 kB / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.142, allocations: 0 / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.142, allocations: 0 / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.142, allocations: 0 / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/0.1421, allocations: 27.98 kB / 444.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.1424, allocations: 288.7 kB / 444.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.1426, allocations: 54.67 kB / 444.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.1426, allocations: 20.8 kB / 444.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1427, allocations: 4 kB / 444.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.1428, allocations: 67.39 kB / 444.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1428, allocations: 3.938 kB / 444.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000568/0.1434, allocations: 181.4 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.1435, allocations: 51.41 kB / 445 MB, free: 2.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1436, allocations: 190.1 kB / 445.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1436, allocations: 33.64 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.1437, allocations: 104.1 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1437, allocations: 19.72 kB / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.1437, allocations: 25.7 kB / 445.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.851e-05/0.1438, allocations: 326.8 kB / 445.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.1439, allocations: 16 kB / 445.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.746e-05/0.1439, allocations: 37.7 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.428e-05/0.144, allocations: 65.77 kB / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.144, allocations: 0 / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001549/0.1442, allocations: 105.6 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1442, allocations: 7.984 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1442, allocations: 0 / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.1443, allocations: 0 / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.1444, allocations: 23.94 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.1444, allocations: 0 / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.1444, allocations: 7.969 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1444, allocations: 7.984 kB / 445.9 MB, free: 1.254 MB / 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.161e-05/0.1445, allocations: 129.8 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.1446, allocations: 15.81 kB / 446.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.1446, allocations: 16.7 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1446, allocations: 0 / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1446, allocations: 0 / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1446, allocations: 3.938 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.145, allocations: 391.3 kB / 446.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.145, allocations: 0 / 446.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.145, allocations: 12 kB / 446.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1451, allocations: 0 / 446.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1451, allocations: 11.92 kB / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1451, allocations: 0 / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1451, allocations: 192 / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.1453, allocations: 204.2 kB / 446.7 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.1453, allocations: 92.95 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1453, allocations: 7.875 kB / 446.8 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.1454, allocations: 7.984 kB / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.1455, allocations: 4 kB / 446.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1455, allocations: 4 kB / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.697e-05/0.1456, allocations: 143.2 kB / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1456, allocations: 0 / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1458, allocations: 31.91 kB / 447 MB, free: 88 kB / 318.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.001202/0.1471, allocations: 467.9 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.1473, allocations: 59.92 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1473, allocations: 0 / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.1474, allocations: 35.92 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1477, allocations: 20.3 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.1482, allocations: 227.4 kB / 447.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1486, allocations: 0.708 MB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.1486, allocations: 16.81 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.1487, allocations: 15.44 kB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1487, allocations: 4 kB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Templates: time 0.004636/0.1533, allocations: 1.685 MB / 450.2 MB, free: 12.91 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches