Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001227/0.001228, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.366/1.366, allocations: 222.9 MB / 243 MB, free: 15.16 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.2406/0.2406, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 57.62 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1362, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002985/0.1392, allocations: 1.563 MB / 472.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1407, allocations: 1.012 MB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.1408, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.141, allocations: 31.84 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.1412, allocations: 35.84 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.1414, allocations: 91.33 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.1416, allocations: 55.83 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1417, allocations: 15.94 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.674e-05/0.1418, allocations: 23.86 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1419, allocations: 27.84 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.142, allocations: 8 kB / 473.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1421, allocations: 47.98 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.1421, allocations: 15.92 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.1422, allocations: 19.86 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1424, allocations: 83.78 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1424, allocations: 0 / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1424, allocations: 4 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1424, allocations: 0 / 473.7 MB, free: 10.62 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.0004534/0.1429, allocations: 379.2 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1429, allocations: 8.031 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.1429, allocations: 12.84 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.1431, allocations: 192.2 kB / 474.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.1432, allocations: 384 / 474.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1432, allocations: 384 / 474.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1433, allocations: 71.47 kB / 474.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1434, allocations: 4 kB / 474.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1434, allocations: 3.938 kB / 474.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1434, allocations: 0 / 474.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.1435, allocations: 27.97 kB / 474.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.1438, allocations: 264.9 kB / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.144, allocations: 42.55 kB / 474.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.1441, allocations: 20.8 kB / 474.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1441, allocations: 0 / 474.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1441, allocations: 38.56 kB / 474.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1441, allocations: 0 / 474.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005687/0.1447, allocations: 137.4 kB / 474.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.1448, allocations: 81.09 kB / 475 MB, free: 9.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.1449, allocations: 133.8 kB / 475.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1449, allocations: 29.7 kB / 475.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.145, allocations: 100.1 kB / 475.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.145, allocations: 11.75 kB / 475.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.1451, allocations: 21.7 kB / 475.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1452, allocations: 322.8 kB / 475.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.113e-05/0.1453, allocations: 15.98 kB / 475.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.626e-05/0.1453, allocations: 37.7 kB / 475.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.1454, allocations: 40.83 kB / 475.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1455, allocations: 0 / 475.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000172/0.1456, allocations: 85.52 kB / 475.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1457, allocations: 4 kB / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1457, allocations: 3.938 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1457, allocations: 4 kB / 475.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.1457, allocations: 12.02 kB / 475.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1458, allocations: 4 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.997e-05/0.1458, allocations: 8.234 kB / 475.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.1458, allocations: 0 / 475.8 MB, free: 8.301 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.247e-05/0.1459, allocations: 117.8 kB / 475.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.146, allocations: 7.906 kB / 475.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.1462, allocations: 97.56 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.1462, allocations: 4 kB / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1462, allocations: 3.938 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1462, allocations: 0 / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.1466, allocations: 342.5 kB / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1466, allocations: 0 / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.015e-05/0.1467, allocations: 11.94 kB / 476.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1467, allocations: 0 / 476.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.1467, allocations: 3.984 kB / 476.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1467, allocations: 7.938 kB / 476.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1467, allocations: 4 kB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1469, allocations: 171.4 kB / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.147, allocations: 77.11 kB / 476.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.147, allocations: 4 kB / 476.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.1471, allocations: 11.92 kB / 476.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.1471, allocations: 4 kB / 476.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.1471, allocations: 4 kB / 476.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.997e-05/0.1472, allocations: 110.5 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1472, allocations: 0 / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1475, allocations: 23.91 kB / 476.8 MB, free: 7.211 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.0009978/0.1485, allocations: 447.3 kB / 477.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.1487, allocations: 43.97 kB / 477.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1487, allocations: 0 / 477.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/0.1487, allocations: 23.98 kB / 477.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1491, allocations: 26.11 kB / 477.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.1495, allocations: 165.4 kB / 477.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1497, allocations: 0.6885 MB / 478.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.1498, allocations: 12.23 kB / 478.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.1498, allocations: 19.42 kB / 478.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1498, allocations: 0 / 478.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of Templates: time 0.004124/0.154, allocations: 1.344 MB / 479.5 MB, free: 4.578 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches