Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 119.3 kB / 17.09 MB, free: 5.965 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.00175/0.00175, allocations: 197.2 kB / 18.02 MB, free: 5.047 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.486/1.486, allocations: 205.1 MB / 223.9 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.2074/0.2074, allocations: 43.53 MB / 314.8 MB, free: 452 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.001693/0.001694, allocations: 66.02 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1304, allocations: 57.8 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001923/0.1324, allocations: 0.4978 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.135, allocations: 1.588 MB / 0.4906 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.826e-05/0.135, allocations: 3.938 kB / 0.4906 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.135, allocations: 4 kB / 0.4906 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.747e-06/0.1351, allocations: 0 / 0.4906 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1362, allocations: 275.2 kB / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.846e-05/0.1362, allocations: 0 / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.1363, allocations: 3.984 kB / 0.4908 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.1363, allocations: 4 kB / 0.4908 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.161e-05/0.1363, allocations: 4 kB / 0.4908 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-06/0.1363, allocations: 4 kB / 0.4909 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007646/0.1371, allocations: 498.9 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.1371, allocations: 3.938 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.1372, allocations: 0 / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005772/0.1378, allocations: 303.4 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1378, allocations: 0 / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1378, allocations: 0 / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.1378, allocations: 0 / 0.4916 GB, free: 8.633 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004015/0.1382, allocations: 373.3 kB / 0.492 GB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1382, allocations: 11.89 kB / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.1383, allocations: 0.9375 kB / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1384, allocations: 168.3 kB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1384, allocations: 384 / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.1384, allocations: 384 / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.79e-05/0.1385, allocations: 38.02 kB / 0.4922 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1386, allocations: 3.938 kB / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1386, allocations: 0 / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1386, allocations: 4 kB / 0.4922 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.994e-05/0.1386, allocations: 3.984 kB / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.1387, allocations: 149.7 kB / 0.4923 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.1388, allocations: 14.58 kB / 0.4924 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.1388, allocations: 4.859 kB / 0.4924 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-06/0.1388, allocations: 0 / 0.4924 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.1e-05/0.1389, allocations: 72.27 kB / 0.4924 GB, free: 7.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1389, allocations: 0 / 0.4924 GB, free: 7.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001848/0.1391, allocations: 67.33 kB / 0.4925 GB, free: 7.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.1391, allocations: 77.11 kB / 0.4926 GB, free: 7.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.457e-05/0.1392, allocations: 89.86 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1392, allocations: 25.7 kB / 0.4927 GB, free: 7.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/0.1392, allocations: 80.14 kB / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.1393, allocations: 0 / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.1393, allocations: 17.84 kB / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1394, allocations: 318.8 kB / 0.4931 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.1394, allocations: 0 / 0.4931 GB, free: 6.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-06/0.1395, allocations: 4 kB / 0.4931 GB, free: 6.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.694e-05/0.1395, allocations: 60.2 kB / 0.4931 GB, free: 6.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1395, allocations: 0 / 0.4931 GB, free: 6.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.922e-05/0.1396, allocations: 63.41 kB / 0.4932 GB, free: 6.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.1396, allocations: 41.62 kB / 0.4932 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1397, allocations: 4.094 kB / 0.4932 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1397, allocations: 3.984 kB / 0.4932 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1397, allocations: 0 / 0.4932 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1397, allocations: 0 / 0.4932 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.1397, allocations: 7.938 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.1397, allocations: 0 / 0.4933 GB, free: 6.691 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.889e-05/0.1398, allocations: 139.5 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.1398, allocations: 3.938 kB / 0.4934 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.224e-05/0.1399, allocations: 3.125 kB / 0.4934 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1399, allocations: 4 kB / 0.4934 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1399, allocations: 7.984 kB / 0.4934 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1399, allocations: 0 / 0.4934 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.14, allocations: 145.7 kB / 0.4935 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.14, allocations: 4 kB / 0.4935 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.14, allocations: 0 / 0.4935 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.14, allocations: 3.938 kB / 0.4935 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1401, allocations: 7.938 kB / 0.4936 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1401, allocations: 3.938 kB / 0.4936 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1401, allocations: 0 / 0.4936 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.1402, allocations: 94.83 kB / 0.4937 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.1402, allocations: 77.11 kB / 0.4937 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1403, allocations: 3.938 kB / 0.4937 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.34e-05/0.1403, allocations: 3.984 kB / 0.4937 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.1403, allocations: 0 / 0.4937 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.1403, allocations: 4 kB / 0.4937 GB, free: 6.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.966e-05/0.1404, allocations: 75.28 kB / 0.4938 GB, free: 6.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1404, allocations: 0 / 0.4938 GB, free: 6.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.1407, allocations: 64.03 kB / 0.4939 GB, free: 5.945 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000541/0.1413, allocations: 185.8 kB / 0.494 GB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.1414, allocations: 63.34 kB / 0.4941 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1414, allocations: 0 / 0.4941 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.1415, allocations: 51.41 kB / 0.4942 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.1416, allocations: 7.938 kB / 0.4942 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.1419, allocations: 126.5 kB / 0.4943 GB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.1423, allocations: 0.669 MB / 0.4949 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.1423, allocations: 11.56 kB / 0.4949 GB, free: 4.746 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1423, allocations: 0 / 0.4949 GB, free: 4.746 MB / 382.1 MB Notification: Performance of Templates: time 0.004534/0.1468, allocations: 1.268 MB / 0.4962 GB, free: 3.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches