Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 108 kB / 16.41 MB, free: 6.449 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.002305/0.002305, allocations: 189.5 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.468/1.468, 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.236/0.236, allocations: 43.52 MB / 314.1 MB, free: 448 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.001584/0.001584, allocations: 69.45 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1318, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.004218/0.136, allocations: 1.542 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007197/0.1368, allocations: 319.5 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.212e-05/0.1369, allocations: 4 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.1372, allocations: 31.84 kB / 0.4897 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.1374, allocations: 35.78 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.1378, allocations: 71.84 kB / 0.4898 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.138, allocations: 59.77 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1381, allocations: 15.98 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.796e-05/0.1382, allocations: 23.86 kB / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.1382, allocations: 15.92 kB / 0.4899 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1383, allocations: 4 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-05/0.1384, allocations: 35.98 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.1384, allocations: 11.92 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.1385, allocations: 23.81 kB / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.1387, allocations: 75.78 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1387, allocations: 0 / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1387, allocations: 0 / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.1387, allocations: 0 / 0.4901 GB, free: 9.496 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.0005282/0.1393, allocations: 379.2 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1393, allocations: 15.89 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.1394, allocations: 8.844 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1396, allocations: 196.1 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1396, allocations: 384 / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1396, allocations: 384 / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1398, allocations: 53.81 kB / 0.4907 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1398, allocations: 3.938 kB / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1398, allocations: 0 / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1398, allocations: 3.984 kB / 0.4907 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.848e-05/0.1399, allocations: 35.91 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.1403, allocations: 268.9 kB / 0.491 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.1406, allocations: 38.56 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.1406, allocations: 16.86 kB / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1407, allocations: 0 / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1407, allocations: 38.5 kB / 0.4911 GB, free: 8.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1407, allocations: 4 kB / 0.4911 GB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005382/0.1412, allocations: 133.4 kB / 0.4912 GB, free: 8.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.1413, allocations: 55.39 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1415, allocations: 152.6 kB / 0.4914 GB, free: 7.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1415, allocations: 29.7 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.1416, allocations: 96.12 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1416, allocations: 19.66 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.1417, allocations: 17.72 kB / 0.4916 GB, free: 7.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1418, allocations: 326.8 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-05/0.1419, allocations: 15.98 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.1419, allocations: 19.98 kB / 0.4919 GB, free: 7.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1421, allocations: 53.02 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1421, allocations: 0 / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001604/0.1422, allocations: 77.52 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1423, allocations: 11.94 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1423, allocations: 0 / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1423, allocations: 0 / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.1424, allocations: 11.98 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1424, allocations: 0 / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.61e-05/0.1424, allocations: 12 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1424, allocations: 7.938 kB / 0.4921 GB, free: 7.215 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 0.0001048/0.1426, allocations: 121.8 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.1426, allocations: 7.906 kB / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.1428, allocations: 93.89 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1428, allocations: 0 / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1428, allocations: 0 / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1428, allocations: 7.938 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.1433, allocations: 346.5 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1433, allocations: 0 / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/0.1433, allocations: 11.98 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1434, allocations: 4 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1434, allocations: 192 / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.1434, allocations: 11.88 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1434, allocations: 0 / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1436, allocations: 179.4 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.1436, allocations: 81.02 kB / 0.4929 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1437, allocations: 4 kB / 0.4929 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.1437, allocations: 3.938 kB / 0.4929 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1438, allocations: 7.984 kB / 0.4929 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1438, allocations: 4 kB / 0.4929 GB, free: 6.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.249e-05/0.1439, allocations: 124 kB / 0.4931 GB, free: 6.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1439, allocations: 0 / 0.4931 GB, free: 6.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.1441, allocations: 12 kB / 0.4931 GB, free: 6.105 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.0008982/0.145, allocations: 404.4 kB / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1452, allocations: 51.84 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1452, allocations: 0 / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.1453, allocations: 27.98 kB / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1457, allocations: 23.83 kB / 0.4936 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.1461, allocations: 173.4 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1463, allocations: 0.6923 MB / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.966e-05/0.1464, allocations: 7.984 kB / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.1464, allocations: 19.44 kB / 0.4944 GB, free: 4.707 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1464, allocations: 0 / 0.4944 GB, free: 4.707 MB / 382.1 MB Notification: Performance of Templates: time 0.003499/0.1499, allocations: 1.092 MB / 0.4955 GB, free: 3.617 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches