Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 106.5 kB / 17.33 MB, free: 5.992 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.002022/0.002022, allocations: 189.3 kB / 18.25 MB, free: 5.086 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.439/1.439, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.214/0.214, allocations: 44.18 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 61.31 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.137, allocations: 60.82 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003589/0.1406, allocations: 1.621 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007894/0.1414, allocations: 399.3 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.1415, allocations: 0 / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.1418, allocations: 23.91 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.142, allocations: 35.84 kB / 470.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.1423, allocations: 79.84 kB / 470.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.1425, allocations: 55.84 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1426, allocations: 15.98 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.1426, allocations: 15.94 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.1427, allocations: 23.84 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1427, allocations: 7.938 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.549e-05/0.1428, allocations: 27.98 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.1429, allocations: 15.94 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.1429, allocations: 23.8 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1431, allocations: 79.78 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1431, allocations: 4 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1431, allocations: 0 / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1431, allocations: 0 / 471.1 MB, free: 12.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004466/0.1436, allocations: 379.4 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1436, allocations: 12.03 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.1437, allocations: 8.844 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.1438, allocations: 192.1 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1439, allocations: 4.359 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1439, allocations: 8.359 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.144, allocations: 45.81 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.144, allocations: 0 / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.1441, allocations: 0 / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1441, allocations: 4 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.1442, allocations: 23.92 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.1445, allocations: 284.8 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.1447, allocations: 42.56 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.1448, allocations: 12.94 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1448, allocations: 4 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.1448, allocations: 34.56 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1448, allocations: 4 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005311/0.1454, allocations: 133.3 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1454, allocations: 55.41 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1456, allocations: 164.6 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.1456, allocations: 25.7 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.1457, allocations: 100.1 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.1457, allocations: 23.64 kB / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.1458, allocations: 17.72 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1459, allocations: 330.7 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/0.146, allocations: 19.98 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/0.146, allocations: 15.92 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1462, allocations: 48.83 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1462, allocations: 4 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001718/0.1463, allocations: 77.58 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1464, allocations: 4 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1464, allocations: 256 / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1464, allocations: 0 / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.1465, allocations: 19.98 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1465, allocations: 0 / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.071e-05/0.1465, allocations: 8 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1465, allocations: 4 kB / 473.2 MB, free: 10.02 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 (5): * Single equations (assignments): 5 * 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.61e-05/0.1466, allocations: 130.2 kB / 473.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.1467, allocations: 7.906 kB / 473.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.1469, allocations: 85.97 kB / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1469, allocations: 0 / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1469, allocations: 0 / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1469, allocations: 0 / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.1473, allocations: 350.5 kB / 473.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1473, allocations: 3.984 kB / 473.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.1474, allocations: 15.94 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1474, allocations: 0 / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.1474, allocations: 0 / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1474, allocations: 3.938 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1474, allocations: 0 / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.1477, allocations: 183.4 kB / 473.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.1477, allocations: 85.02 kB / 474 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1477, allocations: 4 kB / 474 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.1478, allocations: 11.92 kB / 474 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.1478, allocations: 288 / 474 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1479, allocations: 4.188 kB / 474.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.337e-05/0.148, allocations: 127.2 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.148, allocations: 4 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1482, allocations: 16 kB / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009588/0.1492, allocations: 405.9 kB / 474.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1494, allocations: 43.97 kB / 474.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1494, allocations: 3.938 kB / 474.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.1495, allocations: 31.97 kB / 474.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1499, allocations: 15.94 kB / 474.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.1503, allocations: 206.1 kB / 474.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.1506, allocations: 0.6963 MB / 475.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.319e-05/0.1506, allocations: 11.97 kB / 475.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.1507, allocations: 11.44 kB / 475.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1507, allocations: 0 / 475.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of Templates: time 0.003317/0.154, allocations: 1.071 MB / 476.7 MB, free: 6.52 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches