Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 106.7 kB / 16.41 MB, free: 6.5 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.001527/0.001527, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.753/1.753, 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.2272/0.2272, allocations: 43.52 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.001631/0.001631, allocations: 69.47 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1373, allocations: 57.78 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.004059/0.1414, allocations: 1.577 MB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.1424, allocations: 319.6 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.1425, allocations: 0 / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.1429, allocations: 95.73 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.1433, allocations: 71.75 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1436, allocations: 71.83 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.1439, allocations: 83.75 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.144, allocations: 24.16 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.466e-05/0.1441, allocations: 35.84 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.1444, allocations: 59.81 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1444, allocations: 4 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1445, allocations: 27.98 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.093e-05/0.1446, allocations: 19.92 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.1447, allocations: 35.73 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.1449, allocations: 111.5 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.145, allocations: 0 / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.145, allocations: 3.938 kB / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.145, allocations: 0 / 0.4904 GB, free: 9.25 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.0005926/0.1456, allocations: 410.8 kB / 0.4907 GB, free: 8.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.1456, allocations: 15.89 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/0.1457, allocations: 12.84 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.146, allocations: 200.2 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.146, allocations: 384 / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.1461, allocations: 12.38 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.1463, allocations: 61.61 kB / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.1463, allocations: 0 / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1463, allocations: 3.938 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1463, allocations: 0 / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.1465, allocations: 35.91 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.1471, allocations: 308.8 kB / 0.4914 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.1473, allocations: 54.5 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.1473, allocations: 24.97 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.1474, allocations: 0 / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1474, allocations: 30.56 kB / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.1474, allocations: 0 / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009303/0.1484, allocations: 193.3 kB / 0.4917 GB, free: 7.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1485, allocations: 51.41 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.1488, allocations: 235.5 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1488, allocations: 25.7 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.1489, allocations: 108.1 kB / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.149, allocations: 31.73 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.149, allocations: 17.72 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1492, allocations: 326.8 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1494, allocations: 27.98 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/0.1495, allocations: 24.05 kB / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.1497, allocations: 60.83 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.1497, allocations: 0 / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002872/0.15, allocations: 109.5 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.15, allocations: 7.938 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.15, allocations: 0 / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.1501, allocations: 0 / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1502, allocations: 19.98 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1502, allocations: 0 / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.1503, allocations: 11.94 kB / 0.4927 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1503, allocations: 3.984 kB / 0.4927 GB, free: 6.652 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 0.0001052/0.1504, allocations: 125.8 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.1504, allocations: 23.84 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.1507, allocations: 123.3 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.1507, allocations: 4 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1508, allocations: 3.984 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1508, allocations: 3.938 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.1512, allocations: 386.5 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1512, allocations: 11.94 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/0.1513, allocations: 15.98 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1513, allocations: 3.938 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1513, allocations: 0 / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1514, allocations: 4 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1514, allocations: 384 / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1516, allocations: 203.3 kB / 0.4935 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.1517, allocations: 85.06 kB / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.1517, allocations: 15.94 kB / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.1518, allocations: 7.984 kB / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1518, allocations: 0 / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1518, allocations: 7.984 kB / 0.4936 GB, free: 5.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.152, allocations: 167.2 kB / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.152, allocations: 4 kB / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1522, allocations: 19.94 kB / 0.4938 GB, free: 5.348 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.0008855/0.1531, allocations: 401 kB / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.1534, allocations: 67.83 kB / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.1534, allocations: 0 / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.678e-05/0.1535, allocations: 35.98 kB / 0.4943 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.1539, allocations: 19.84 kB / 0.4943 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.1544, allocations: 261.7 kB / 0.4946 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.1548, allocations: 0.708 MB / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.734e-05/0.1549, allocations: 16.97 kB / 0.4953 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.1549, allocations: 15.44 kB / 0.4953 GB, free: 3.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1549, allocations: 0 / 0.4953 GB, free: 3.82 MB / 382.1 MB Notification: Performance of Templates: time 0.003865/0.1588, allocations: 1.229 MB / 0.4965 GB, free: 2.594 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches