Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000812/0.0008121, allocations: 90.36 kB / 18 MB, free: 5.734 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.0009882/0.0009881, allocations: 180.7 kB / 18.91 MB, free: 4.867 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.371/1.371, allocations: 223.3 MB / 242.9 MB, free: 16 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2057/0.2057, allocations: 44.25 MB / 338.3 MB, free: 2.617 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003772, allocations: 12.75 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002308/0.1244, allocations: 1.321 MB / 474.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009598/0.1254, allocations: 399.4 kB / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.1255, allocations: 4 kB / 474.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.1258, allocations: 35.83 kB / 474.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.126, allocations: 35.91 kB / 474.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.1264, allocations: 82.16 kB / 474.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1266, allocations: 75.81 kB / 474.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1267, allocations: 27.88 kB / 474.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.75e-05/0.1268, allocations: 23.92 kB / 474.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.1269, allocations: 27.84 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.127, allocations: 0 / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.1271, allocations: 39.98 kB / 475 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.1272, allocations: 23.91 kB / 475 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.1272, allocations: 49.45 kB / 475 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.1274, allocations: 76.09 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1274, allocations: 4 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1274, allocations: 4 kB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1275, allocations: 4 kB / 475.1 MB, free: 11.1 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000546/0.128, allocations: 377.7 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1281, allocations: 8.031 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.1281, allocations: 12.84 kB / 475.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1284, allocations: 196.1 kB / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1284, allocations: 4.375 kB / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.1285, allocations: 4.375 kB / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1287, allocations: 81.73 kB / 475.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1287, allocations: 3.938 kB / 475.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1287, allocations: 3.984 kB / 475.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1287, allocations: 4 kB / 475.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.1289, allocations: 43.95 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.1293, allocations: 316.7 kB / 476.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1295, allocations: 66.48 kB / 476.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.1296, allocations: 20.86 kB / 476.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1296, allocations: 0 / 476.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1297, allocations: 42.55 kB / 476.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1297, allocations: 4 kB / 476.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001129/0.1308, allocations: 313.1 kB / 476.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.1308, allocations: 59.34 kB / 476.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.131, allocations: 156.3 kB / 476.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.131, allocations: 29.81 kB / 476.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.1311, allocations: 107.9 kB / 476.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.1312, allocations: 47.34 kB / 477 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.1312, allocations: 21.7 kB / 477 MB, free: 9.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1313, allocations: 318.8 kB / 477.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1315, allocations: 35.97 kB / 477.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-05/0.1316, allocations: 47.98 kB / 477.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.1318, allocations: 99.58 kB / 477.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1318, allocations: 0 / 477.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002857/0.1321, allocations: 137.6 kB / 477.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.1321, allocations: 7.938 kB / 477.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1321, allocations: 3.938 kB / 477.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.1321, allocations: 7.922 kB / 477.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1323, allocations: 27.98 kB / 477.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1323, allocations: 0.7031 kB / 477.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.1324, allocations: 12 kB / 477.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1324, allocations: 4 kB / 477.7 MB, free: 8.309 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 (13): * Single equations (assignments): 13 * 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.000123/0.1325, allocations: 125.8 kB / 477.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.1325, allocations: 11.91 kB / 477.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.1329, allocations: 178.2 kB / 478 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.133, allocations: 4 kB / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.133, allocations: 0 / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.133, allocations: 0 / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.1336, allocations: 471.2 kB / 478.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1336, allocations: 0 / 478.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.299e-05/0.1337, allocations: 27.92 kB / 478.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.1338, allocations: 7.984 kB / 478.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1338, allocations: 0 / 478.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1338, allocations: 4 kB / 478.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1338, allocations: 0 / 478.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.1341, allocations: 250 kB / 478.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.1342, allocations: 89 kB / 478.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.1342, allocations: 4 kB / 478.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.1343, allocations: 8 kB / 478.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.1344, allocations: 15.92 kB / 478.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.1344, allocations: 8 kB / 478.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.852e-05/0.1345, allocations: 117.3 kB / 479 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1345, allocations: 0 / 479 MB, free: 6.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1348, allocations: 20 kB / 479 MB, free: 6.883 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 (13): * Single equations (assignments): 13 * 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.001082/0.1359, allocations: 465.6 kB / 479.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.1361, allocations: 103.8 kB / 479.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1362, allocations: 4 kB / 479.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1363, allocations: 59.91 kB / 479.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.1366, allocations: 15.98 kB / 479.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.1372, allocations: 311.9 kB / 480 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1375, allocations: 0.7004 MB / 480.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.1376, allocations: 15.44 kB / 480.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1376, allocations: 4 kB / 480.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of Templates: time 0.00399/0.1416, allocations: 1.839 MB / 482.5 MB, free: 3.504 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches