Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 108 kB / 16.41 MB, free: 6.484 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.001412/0.001412, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.673/1.673, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2112/0.2112, allocations: 43.53 MB / 314.1 MB, free: 460 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.002674/0.002674, allocations: 67.91 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.13, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.00282/0.1329, allocations: 1.554 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006592/0.1336, allocations: 331.5 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.1336, allocations: 4 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.1339, allocations: 87.73 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.1342, allocations: 75.78 kB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.1345, allocations: 79.72 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1346, allocations: 79.81 kB / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1348, allocations: 20.16 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.758e-05/0.1349, allocations: 43.83 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.135, allocations: 51.83 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.135, allocations: 7.984 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.78e-05/0.1351, allocations: 24 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.1351, allocations: 19.92 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.1352, allocations: 39.75 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.1354, allocations: 103.5 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1354, allocations: 4 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1354, allocations: 0 / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1355, allocations: 0 / 0.4903 GB, free: 9.262 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005539/0.136, allocations: 418.7 kB / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1361, allocations: 11.89 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.1361, allocations: 20.84 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.1363, allocations: 200.2 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1364, allocations: 4.375 kB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1364, allocations: 4.375 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1366, allocations: 61.61 kB / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1366, allocations: 3.984 kB / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1366, allocations: 0 / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1366, allocations: 0 / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1367, allocations: 35.92 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.1371, allocations: 308.7 kB / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1373, allocations: 46.56 kB / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.1373, allocations: 20.97 kB / 0.4914 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1374, allocations: 7.938 kB / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1374, allocations: 30.56 kB / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1374, allocations: 0 / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006435/0.1381, allocations: 193.3 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1381, allocations: 55.41 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1383, allocations: 235.5 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1383, allocations: 25.7 kB / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.1384, allocations: 108.1 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1384, allocations: 27.75 kB / 0.4921 GB, free: 7.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.1385, allocations: 25.7 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1386, allocations: 326.8 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.1387, allocations: 23.98 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.1388, allocations: 19.98 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1389, allocations: 60.83 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1389, allocations: 0 / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002053/0.1391, allocations: 117.4 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1392, allocations: 4 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1392, allocations: 0 / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1392, allocations: 0 / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1393, allocations: 19.98 kB / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1393, allocations: 0 / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.1394, allocations: 11.92 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1394, allocations: 3.984 kB / 0.4927 GB, free: 6.656 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 (8): * Single equations (assignments): 8 * 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 8.73e-05/0.1395, allocations: 137.8 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.1395, allocations: 15.91 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.1398, allocations: 119.4 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1398, allocations: 4 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1398, allocations: 0 / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1398, allocations: 3.938 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.1403, allocations: 390.8 kB / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1403, allocations: 4 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.1404, allocations: 19.94 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1404, allocations: 3.938 kB / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1404, allocations: 7.984 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1404, allocations: 0 / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1404, allocations: 4 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.1407, allocations: 203.5 kB / 0.4935 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.1407, allocations: 81.06 kB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1408, allocations: 7.938 kB / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.401e-05/0.1408, allocations: 3.938 kB / 0.4936 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.1409, allocations: 11.98 kB / 0.4936 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1409, allocations: 4 kB / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1411, allocations: 167.2 kB / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1411, allocations: 0 / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1413, allocations: 23.92 kB / 0.4938 GB, free: 5.355 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 (8): * Single equations (assignments): 8 * 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.001015/0.1424, allocations: 412.6 kB / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.1426, allocations: 59.97 kB / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1426, allocations: 3.938 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.1427, allocations: 35.92 kB / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1431, allocations: 19.84 kB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.1436, allocations: 265.7 kB / 0.4946 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1439, allocations: 0.708 MB / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.375e-05/0.1439, allocations: 12.97 kB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.144, allocations: 11.44 kB / 0.4953 GB, free: 3.828 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.144, allocations: 0 / 0.4953 GB, free: 3.828 MB / 382.1 MB Notification: Performance of Templates: time 0.003794/0.1478, allocations: 1.225 MB / 0.4965 GB, free: 2.605 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches