Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 119.5 kB / 17.09 MB, free: 5.992 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.001004/0.001004, allocations: 193.3 kB / 18.01 MB, free: 5.078 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.587/1.587, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2152/0.2152, allocations: 43.52 MB / 314.8 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.00144/0.00144, allocations: 67.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1247, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00334/0.1281, allocations: 1.613 MB / 0.4901 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007168/0.1288, allocations: 351.5 kB / 0.4905 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.1289, allocations: 0 / 0.4905 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.1296, allocations: 451.1 kB / 0.4909 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003896/0.13, allocations: 263.4 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.1305, allocations: 147.7 kB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000306/0.1308, allocations: 175.6 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1309, allocations: 23.98 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.1311, allocations: 111.8 kB / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.1314, allocations: 207.6 kB / 0.4918 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1314, allocations: 8 kB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1315, allocations: 39.92 kB / 0.4918 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1317, allocations: 87.67 kB / 0.4919 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.731e-05/0.1318, allocations: 99 kB / 0.492 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.1321, allocations: 251 kB / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1321, allocations: 3.938 kB / 0.4922 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1321, allocations: 0 / 0.4922 GB, free: 7.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1321, allocations: 0 / 0.4922 GB, free: 7.988 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008194/0.133, allocations: 0.6448 MB / 0.4929 GB, free: 7.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1331, allocations: 15.89 kB / 0.4929 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/0.1331, allocations: 48.31 kB / 0.4929 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1334, allocations: 292.2 kB / 0.4932 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1335, allocations: 4.375 kB / 0.4932 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.1335, allocations: 384 / 0.4932 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.1337, allocations: 65.8 kB / 0.4933 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1337, allocations: 0 / 0.4933 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1337, allocations: 4 kB / 0.4933 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1337, allocations: 0 / 0.4933 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1339, allocations: 43.95 kB / 0.4933 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.1345, allocations: 408.6 kB / 0.4937 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1346, allocations: 42.56 kB / 0.4938 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.367e-05/0.1347, allocations: 24.94 kB / 0.4938 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1347, allocations: 7.984 kB / 0.4938 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1347, allocations: 38.56 kB / 0.4938 GB, free: 6.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1347, allocations: 0 / 0.4938 GB, free: 6.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008858/0.1356, allocations: 299.9 kB / 0.4941 GB, free: 5.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.1357, allocations: 55.41 kB / 0.4942 GB, free: 5.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008073/0.1365, allocations: 0.8535 MB / 0.495 GB, free: 4.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1365, allocations: 29.7 kB / 0.495 GB, free: 4.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.1367, allocations: 216 kB / 0.4952 GB, free: 4.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.1368, allocations: 23.66 kB / 0.4953 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.1368, allocations: 21.73 kB / 0.4953 GB, free: 4.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.137, allocations: 362.7 kB / 0.4956 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1371, allocations: 47.95 kB / 0.4957 GB, free: 4.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1372, allocations: 35.97 kB / 0.4957 GB, free: 4.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.1375, allocations: 84.8 kB / 0.4958 GB, free: 4.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1375, allocations: 3.938 kB / 0.4958 GB, free: 4.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003202/0.1378, allocations: 161.1 kB / 0.4959 GB, free: 3.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1378, allocations: 4 kB / 0.4959 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1378, allocations: 0 / 0.4959 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1379, allocations: 0 / 0.4959 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.138, allocations: 23.92 kB / 0.496 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.138, allocations: 0 / 0.496 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.636e-05/0.1381, allocations: 15.92 kB / 0.496 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1381, allocations: 4 kB / 0.496 GB, free: 3.922 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 (7): * Single equations (assignments): 7 * 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.0001964/0.1383, allocations: 221.7 kB / 0.4962 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.1384, allocations: 35.53 kB / 0.4962 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.1388, allocations: 181.4 kB / 0.4964 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1388, allocations: 4 kB / 0.4964 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1388, allocations: 0 / 0.4964 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1388, allocations: 7.938 kB / 0.4964 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006724/0.1395, allocations: 0.5023 MB / 0.4969 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1395, allocations: 0 / 0.4969 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-05/0.1396, allocations: 19.98 kB / 0.4969 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1396, allocations: 0 / 0.4969 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1396, allocations: 7.938 kB / 0.4969 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1396, allocations: 7.938 kB / 0.4969 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/0.1396, allocations: 4 kB / 0.4969 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.14, allocations: 247.5 kB / 0.4972 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.1401, allocations: 108.5 kB / 0.4973 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.1401, allocations: 7.938 kB / 0.4973 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-05/0.1402, allocations: 11.98 kB / 0.4973 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.1403, allocations: 7.984 kB / 0.4973 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1403, allocations: 3.938 kB / 0.4973 GB, free: 2.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005982/0.1409, allocations: 0.6472 MB / 0.4979 GB, free: 1.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1409, allocations: 0 / 0.4979 GB, free: 1.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.1412, allocations: 24 kB / 0.498 GB, free: 1.781 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 (7): * Single equations (assignments): 7 * 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.0009623/0.1422, allocations: 416.1 kB / 0.4984 GB, free: 1.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.1425, allocations: 95.86 kB / 0.4985 GB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1425, allocations: 0 / 0.4985 GB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.1426, allocations: 43.97 kB / 0.4985 GB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.1431, allocations: 29.81 kB / 0.4985 GB, free: 1.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.1442, allocations: 0.84 MB / 0.4993 GB, free: 380 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.1447, allocations: 0.8299 MB / 0.5002 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.1447, allocations: 11.44 kB / 0.5002 GB, free: 15.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1447, allocations: 0 / 0.5002 GB, free: 15.5 MB / 398.1 MB Notification: Performance of Templates: time 0.007616/0.1524, allocations: 3.852 MB / 0.5039 GB, free: 11.65 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches