Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001639/0.00164, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241.8 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.216/0.216, allocations: 44.17 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 72.34 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1268, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004235/0.1311, allocations: 1.956 MB / 470.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.133, allocations: 0.9121 MB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1331, allocations: 7.938 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.1334, allocations: 35.78 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.1337, allocations: 51.77 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.134, allocations: 106.4 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1342, allocations: 131.5 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1343, allocations: 25.5 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.464e-05/0.1344, allocations: 59.7 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.251e-05/0.1345, allocations: 43.72 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1345, allocations: 4 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1347, allocations: 47.97 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.1347, allocations: 19.92 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.449e-05/0.1348, allocations: 55.55 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.135, allocations: 139.8 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.135, allocations: 0 / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1351, allocations: 4 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1351, allocations: 0 / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007648/0.1358, allocations: 472.6 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1359, allocations: 8.031 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.1359, allocations: 16.75 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.1362, allocations: 232.4 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1363, allocations: 4.375 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.1363, allocations: 12.12 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.1366, allocations: 104.2 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1366, allocations: 0 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.1366, allocations: 4 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1366, allocations: 0 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.1368, allocations: 59.84 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.1374, allocations: 0.5009 MB / 473.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.1378, allocations: 94.66 kB / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.448e-05/0.1379, allocations: 32.84 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1379, allocations: 4 kB / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.1382, allocations: 83.31 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.1382, allocations: 0 / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004189/0.1386, allocations: 149.3 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1387, allocations: 59.33 kB / 473.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1388, allocations: 191.5 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1389, allocations: 25.7 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.139, allocations: 116 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.139, allocations: 27.61 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.1391, allocations: 29.72 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1392, allocations: 326.8 kB / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1393, allocations: 23.98 kB / 474.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1394, allocations: 64.27 kB / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.1396, allocations: 100.1 kB / 474.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1396, allocations: 4 kB / 474.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002719/0.1399, allocations: 141.4 kB / 474.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1399, allocations: 4 kB / 474.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1399, allocations: 0 / 474.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.14, allocations: 4 kB / 475 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1401, allocations: 23.92 kB / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1401, allocations: 7.938 kB / 475 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.1402, allocations: 11.94 kB / 475 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1402, allocations: 4 kB / 475 MB, free: 8.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001144/0.1403, allocations: 129.8 kB / 475.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.1403, allocations: 19.84 kB / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.1404, allocations: 13.88 kB / 475.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1404, allocations: 3.938 kB / 475.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1404, allocations: 4 kB / 475.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1404, allocations: 7.984 kB / 475.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.1406, allocations: 209.6 kB / 475.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1406, allocations: 3.938 kB / 475.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-05/0.1407, allocations: 8 kB / 475.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1407, allocations: 3.938 kB / 475.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.1407, allocations: 7.938 kB / 475.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1407, allocations: 15.91 kB / 475.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1407, allocations: 0 / 475.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.1411, allocations: 180.8 kB / 475.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.1412, allocations: 92.89 kB / 475.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.1412, allocations: 0 / 475.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.1413, allocations: 11.92 kB / 475.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.1413, allocations: 12.05 kB / 475.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.1414, allocations: 8 kB / 475.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1415, allocations: 137.2 kB / 475.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1415, allocations: 0 / 475.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1417, allocations: 28.12 kB / 475.9 MB, free: 7.098 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009615/0.1427, allocations: 407.4 kB / 476.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.1429, allocations: 83.89 kB / 476.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.143, allocations: 0 / 476.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1431, allocations: 35.98 kB / 476.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.1434, allocations: 33.8 kB / 476.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.1439, allocations: 306 kB / 476.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1442, allocations: 0.7126 MB / 477.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.596e-05/0.1443, allocations: 17.42 kB / 477.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.1443, allocations: 15.44 kB / 477.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1443, allocations: 0 / 477.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of Templates: time 0.005048/0.1494, allocations: 1.804 MB / 479.3 MB, free: 3.82 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches