Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 106.8 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.001258/0.001259, 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.447/1.447, 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.2322/0.2322, allocations: 44.16 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00234/0.002341, allocations: 62.91 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1298, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003332/0.1332, allocations: 1.632 MB / 470.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1343, allocations: 427.2 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.699e-05/0.1344, allocations: 0 / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.1347, allocations: 59.84 kB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.1349, allocations: 55.88 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.1352, allocations: 99.81 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1354, allocations: 67.83 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1355, allocations: 12.19 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/0.1356, allocations: 35.83 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.943e-05/0.1357, allocations: 47.84 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1357, allocations: 3.984 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1358, allocations: 43.98 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.1359, allocations: 23.86 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.1359, allocations: 19.81 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1361, allocations: 95.98 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1361, allocations: 0 / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1361, allocations: 0 / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1361, allocations: 0 / 471.1 MB, free: 12.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004932/0.1366, allocations: 399.1 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1367, allocations: 8.031 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.1367, allocations: 12.84 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1369, allocations: 197.9 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.137, allocations: 4.375 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.137, allocations: 8.312 kB / 471.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1372, allocations: 61.59 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1372, allocations: 3.938 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.1372, allocations: 0 / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1372, allocations: 4 kB / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1373, allocations: 31.97 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.1378, allocations: 292.7 kB / 472.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1379, allocations: 46.5 kB / 472.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.138, allocations: 20.94 kB / 472.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.138, allocations: 8 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.138, allocations: 34.56 kB / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.138, allocations: 3.938 kB / 472.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009493/0.139, allocations: 237.1 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.1391, allocations: 55.41 kB / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.1393, allocations: 197.8 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1393, allocations: 29.7 kB / 472.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.1394, allocations: 100.1 kB / 472.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.1394, allocations: 27.64 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.1395, allocations: 17.72 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1396, allocations: 322.8 kB / 473.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.693e-05/0.1397, allocations: 35.97 kB / 473.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.546e-05/0.1398, allocations: 27.98 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.14, allocations: 72.81 kB / 473.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.14, allocations: 0 / 473.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002171/0.1402, allocations: 113.7 kB / 473.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1402, allocations: 8 kB / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1402, allocations: 4 kB / 473.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1402, allocations: 0 / 473.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.1403, allocations: 19.92 kB / 473.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1404, allocations: 7.938 kB / 473.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.86e-05/0.1404, allocations: 0 / 473.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1404, allocations: 4 kB / 473.5 MB, free: 9.641 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.988e-05/0.1405, allocations: 126.4 kB / 473.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.1406, allocations: 11.91 kB / 473.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.1409, allocations: 138.2 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1409, allocations: 0 / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1409, allocations: 7.938 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1409, allocations: 0 / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.1415, allocations: 415.2 kB / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1415, allocations: 0 / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.1415, allocations: 23.92 kB / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1416, allocations: 0 / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1416, allocations: 4 kB / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1416, allocations: 4 kB / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1416, allocations: 4.406 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.1419, allocations: 212.2 kB / 474.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.1419, allocations: 84.95 kB / 474.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.142, allocations: 8 kB / 474.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.142, allocations: 7.984 kB / 474.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.1421, allocations: 3.984 kB / 474.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1421, allocations: 4 kB / 474.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1422, allocations: 151.2 kB / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1422, allocations: 0 / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1425, allocations: 27.94 kB / 474.7 MB, free: 8.32 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001011/0.1435, allocations: 455.6 kB / 475.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.1438, allocations: 79.88 kB / 475.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.1438, allocations: 4 kB / 475.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1439, allocations: 35.97 kB / 475.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1443, allocations: 19.92 kB / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.1448, allocations: 276.4 kB / 475.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006256/0.1454, allocations: 0.7083 MB / 476.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.694e-05/0.1455, allocations: 24.64 kB / 476.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.1455, allocations: 11.44 kB / 476.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1455, allocations: 0 / 476.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of Templates: time 0.004726/0.1503, allocations: 1.3 MB / 477.6 MB, free: 5.551 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches