Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 104.2 kB / 16.4 MB, free: 6.445 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.001463/0.001464, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.344/1.344, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1952/0.1952, allocations: 43.53 MB / 314.1 MB, free: 436 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.001567/0.001567, allocations: 73.44 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1384, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002941/0.1414, allocations: 1.558 MB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000642/0.1421, allocations: 315.5 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.1422, allocations: 4 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1425, allocations: 75.78 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.1427, allocations: 63.73 kB / 0.4898 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.143, allocations: 71.78 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1432, allocations: 59.89 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1433, allocations: 23.97 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.1434, allocations: 35.78 kB / 0.49 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1435, allocations: 43.89 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1435, allocations: 0 / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.742e-05/0.1436, allocations: 24 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.1437, allocations: 19.92 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.1437, allocations: 31.75 kB / 0.4901 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1439, allocations: 79.77 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1439, allocations: 0 / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1439, allocations: 0 / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1439, allocations: 4 kB / 0.4902 GB, free: 9.359 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.0005067/0.1444, allocations: 399 kB / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1445, allocations: 11.89 kB / 0.4906 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.1445, allocations: 8.844 kB / 0.4906 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.1448, allocations: 200 kB / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1448, allocations: 4.375 kB / 0.4908 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1448, allocations: 384 / 0.4908 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.145, allocations: 53.81 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.145, allocations: 0 / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.145, allocations: 4 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.145, allocations: 0 / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.267e-05/0.1451, allocations: 23.92 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.1455, allocations: 276.8 kB / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.1457, allocations: 50.53 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.1458, allocations: 16.86 kB / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1458, allocations: 0 / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1458, allocations: 34.56 kB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1458, allocations: 3.938 kB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005578/0.1464, allocations: 137.4 kB / 0.4914 GB, free: 7.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1464, allocations: 59.39 kB / 0.4914 GB, free: 7.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.1466, allocations: 190.2 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1466, allocations: 25.7 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.1467, allocations: 104 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1467, allocations: 19.75 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.1468, allocations: 21.7 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.147, allocations: 318.8 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.147, allocations: 15.98 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.457e-05/0.1471, allocations: 24.17 kB / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1473, allocations: 48.83 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1473, allocations: 11.88 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000191/0.1475, allocations: 73.58 kB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1475, allocations: 8 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1475, allocations: 0 / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1475, allocations: 7.922 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.1476, allocations: 12 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1476, allocations: 0 / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.1477, allocations: 7.984 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1477, allocations: 4 kB / 0.4923 GB, free: 7.004 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 (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.578e-05/0.1478, allocations: 129.7 kB / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.1478, allocations: 7.906 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.148, allocations: 93.95 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1481, allocations: 0 / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1481, allocations: 0 / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1481, allocations: 3.938 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.1485, allocations: 346.5 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1485, allocations: 0 / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.1486, allocations: 12.17 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1486, allocations: 4 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1486, allocations: 4 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1486, allocations: 7.938 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1486, allocations: 0 / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1488, allocations: 183.3 kB / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.1489, allocations: 85.02 kB / 0.4931 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1489, allocations: 0 / 0.4931 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.149, allocations: 11.94 kB / 0.4931 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.149, allocations: 7.984 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-06/0.149, allocations: 4 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1492, allocations: 140.1 kB / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1492, allocations: 0 / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1494, allocations: 19.98 kB / 0.4933 GB, free: 5.855 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 (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.0009426/0.1504, allocations: 412.3 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.1506, allocations: 51.91 kB / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1506, allocations: 0 / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.1507, allocations: 23.98 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.1511, allocations: 12.59 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.1516, allocations: 205.9 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.152, allocations: 0.6924 MB / 0.4947 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.5e-05/0.1521, allocations: 11.98 kB / 0.4947 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.1521, allocations: 15.44 kB / 0.4947 GB, free: 4.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1521, allocations: 0 / 0.4947 GB, free: 4.43 MB / 382.1 MB Notification: Performance of Templates: time 0.003878/0.156, allocations: 1.124 MB / 0.4958 GB, free: 3.309 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches