Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") 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.21 MB, free: 6.293 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.001241/0.001241, allocations: 194 kB / 18.12 MB, free: 5.383 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.362/1.362, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.2029/0.2029, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.2 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1368, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002902/0.1398, allocations: 1.633 MB / 470.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007502/0.1406, allocations: 411.3 kB / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.1406, allocations: 0 / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.1409, allocations: 67.84 kB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.1411, allocations: 71.73 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1414, allocations: 95.77 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1415, allocations: 71.88 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.1416, allocations: 16.17 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.1417, allocations: 27.8 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1418, allocations: 55.88 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1418, allocations: 4 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.537e-05/0.1419, allocations: 39.98 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.1419, allocations: 23.91 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.142, allocations: 27.75 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1421, allocations: 99.97 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1422, allocations: 0 / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1422, allocations: 0 / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1422, allocations: 0 / 471.2 MB, free: 12.2 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.0005037/0.1427, allocations: 415 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1427, allocations: 8.031 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.1428, allocations: 8.844 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.143, allocations: 200 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.143, allocations: 384 / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.143, allocations: 8.375 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1432, allocations: 53.61 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1432, allocations: 3.906 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1432, allocations: 4 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1432, allocations: 8 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.562e-05/0.1433, allocations: 27.92 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.1437, allocations: 296.8 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.1439, allocations: 46.56 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.537e-05/0.1439, allocations: 20.94 kB / 472.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.144, allocations: 0 / 472.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.144, allocations: 38.5 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.144, allocations: 0 / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008919/0.1449, allocations: 237.5 kB / 472.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.145, allocations: 51.41 kB / 472.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.1452, allocations: 214.1 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1452, allocations: 25.7 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.1453, allocations: 108 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1453, allocations: 23.66 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.1454, allocations: 25.7 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1455, allocations: 322.8 kB / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.1456, allocations: 32.05 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.1457, allocations: 27.97 kB / 473.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.1458, allocations: 72.81 kB / 473.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1458, allocations: 0 / 473.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002048/0.146, allocations: 121.4 kB / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1461, allocations: 8 kB / 473.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1461, allocations: 3.938 kB / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1461, allocations: 4 kB / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.1462, allocations: 15.98 kB / 473.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1462, allocations: 3.938 kB / 473.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.956e-05/0.1462, allocations: 7.984 kB / 473.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1463, allocations: 0 / 473.5 MB, free: 9.586 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.812e-05/0.1464, allocations: 126.4 kB / 473.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.1464, allocations: 15.89 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.1467, allocations: 130.6 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1467, allocations: 0 / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1467, allocations: 3.938 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1467, allocations: 4 kB / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.1472, allocations: 423.3 kB / 474.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1473, allocations: 0 / 474.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.1473, allocations: 31.86 kB / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1473, allocations: 0 / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1474, allocations: 4 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1474, allocations: 0 / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1474, allocations: 3.938 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.1476, allocations: 212.3 kB / 474.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.1477, allocations: 88.95 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.1477, allocations: 3.984 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.1478, allocations: 4 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.1479, allocations: 11.98 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1479, allocations: 0 / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.148, allocations: 155.2 kB / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.148, allocations: 4 kB / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1483, allocations: 16 kB / 474.8 MB, free: 8.262 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.001059/0.1493, allocations: 451.1 kB / 475.2 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.1496, allocations: 79.94 kB / 475.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1496, allocations: 0 / 475.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.1497, allocations: 39.91 kB / 475.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.1501, allocations: 27.88 kB / 475.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.1506, allocations: 281 kB / 475.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.1509, allocations: 0.7082 MB / 476.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.151, allocations: 28.94 kB / 476.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.151, allocations: 11.44 kB / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.151, allocations: 0 / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of Templates: time 0.004215/0.1553, allocations: 1.312 MB / 477.7 MB, free: 5.465 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches