Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 114.4 kB / 17.04 MB, free: 6.133 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.00111/0.00111, allocations: 196.6 kB / 17.97 MB, free: 5.23 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2393/0.2393, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 77.45 kB / 442.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1319, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002854/0.1348, allocations: 1.566 MB / 0.49 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006201/0.1355, allocations: 339.6 kB / 0.4903 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.1355, allocations: 0 / 0.4903 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.1361, allocations: 451.1 kB / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.1364, allocations: 259.4 kB / 0.491 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.1368, allocations: 139.7 kB / 0.4912 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.137, allocations: 171.6 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1371, allocations: 24.11 kB / 0.4913 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1372, allocations: 107.8 kB / 0.4914 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1375, allocations: 207.6 kB / 0.4916 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1375, allocations: 0 / 0.4916 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.423e-05/0.1376, allocations: 27.92 kB / 0.4917 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.842e-05/0.1377, allocations: 91.67 kB / 0.4918 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.694e-05/0.1378, allocations: 99.06 kB / 0.4919 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.138, allocations: 239 kB / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.138, allocations: 0 / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.138, allocations: 0 / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1381, allocations: 3.938 kB / 0.4921 GB, free: 8.129 MB / 382.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.0006775/0.1387, allocations: 0.6292 MB / 0.4927 GB, free: 7.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1388, allocations: 15.89 kB / 0.4927 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.1388, allocations: 40.38 kB / 0.4928 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1391, allocations: 304.2 kB / 0.493 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-06/0.1391, allocations: 384 / 0.493 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.1392, allocations: 384 / 0.493 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1393, allocations: 61.61 kB / 0.4931 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1393, allocations: 0 / 0.4931 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1394, allocations: 0 / 0.4931 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1394, allocations: 0 / 0.4931 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1395, allocations: 31.97 kB / 0.4931 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.14, allocations: 396.7 kB / 0.4935 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.1401, allocations: 46.55 kB / 0.4936 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.1402, allocations: 28.94 kB / 0.4936 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1402, allocations: 0 / 0.4936 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1402, allocations: 42.55 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1402, allocations: 4 kB / 0.4936 GB, free: 6.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003278/0.1406, allocations: 121.1 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1406, allocations: 55.41 kB / 0.4938 GB, free: 6.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/0.1414, allocations: 0.8496 MB / 0.4946 GB, free: 5.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1414, allocations: 29.7 kB / 0.4947 GB, free: 5.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.1416, allocations: 216 kB / 0.4949 GB, free: 5.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.1416, allocations: 15.78 kB / 0.4949 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.1416, allocations: 17.72 kB / 0.4949 GB, free: 5.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1418, allocations: 358.7 kB / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.772e-05/0.1419, allocations: 23.97 kB / 0.4953 GB, free: 4.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.706e-05/0.1419, allocations: 23.92 kB / 0.4953 GB, free: 4.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.1421, allocations: 36.83 kB / 0.4953 GB, free: 4.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1421, allocations: 4 kB / 0.4953 GB, free: 4.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000234/0.1423, allocations: 113.1 kB / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1423, allocations: 4 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1423, allocations: 0 / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1424, allocations: 0 / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.843e-05/0.1424, allocations: 8 kB / 0.4954 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1424, allocations: 0 / 0.4954 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.1425, allocations: 11.89 kB / 0.4954 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1425, allocations: 4 kB / 0.4955 GB, free: 4.445 MB / 382.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 (3): * Single equations (assignments): 3 * 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.0001742/0.1427, allocations: 217.7 kB / 0.4957 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.1428, allocations: 39.53 kB / 0.4957 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.143, allocations: 128.9 kB / 0.4958 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.143, allocations: 0 / 0.4958 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.143, allocations: 0 / 0.4958 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.143, allocations: 0 / 0.4958 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.1433, allocations: 285.5 kB / 0.4961 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1433, allocations: 7.984 kB / 0.4961 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.1434, allocations: 8 kB / 0.4961 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1434, allocations: 0 / 0.4961 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.1434, allocations: 4 kB / 0.4961 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1434, allocations: 0 / 0.4961 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1434, allocations: 0 / 0.4961 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1437, allocations: 206.9 kB / 0.4963 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.1438, allocations: 108.6 kB / 0.4964 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.1438, allocations: 7.938 kB / 0.4964 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.1439, allocations: 3.984 kB / 0.4964 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1439, allocations: 4.422 kB / 0.4964 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.1439, allocations: 0 / 0.4964 GB, free: 3.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000559/0.1445, allocations: 0.6472 MB / 0.4971 GB, free: 2.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1445, allocations: 0 / 0.4971 GB, free: 2.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1448, allocations: 23.98 kB / 0.4971 GB, free: 2.672 MB / 382.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 (3): * Single equations (assignments): 3 * 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.0007868/0.1456, allocations: 364.9 kB / 0.4974 GB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1458, allocations: 43.89 kB / 0.4975 GB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1458, allocations: 4 kB / 0.4975 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.951e-05/0.1459, allocations: 27.92 kB / 0.4975 GB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1462, allocations: 21.95 kB / 0.4975 GB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1473, allocations: 0.8123 MB / 0.4983 GB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.1477, allocations: 0.8143 MB / 0.4991 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.1478, allocations: 11.44 kB / 0.4991 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1478, allocations: 0 / 0.4991 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of Templates: time 0.006454/0.1542, allocations: 3.532 MB / 0.5026 GB, free: 13.02 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches