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.001178/0.001178, allocations: 106.6 kB / 16.41 MB, free: 6.516 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.001146/0.001146, 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.556/1.556, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2358/0.2358, allocations: 43.53 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.47 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1363, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001978/0.1383, allocations: 0.4988 MB / 0.4884 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.1407, allocations: 1.598 MB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.637e-05/0.1407, allocations: 0 / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.1408, allocations: 4 kB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.075e-06/0.1408, allocations: 0 / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1419, allocations: 267.2 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.521e-05/0.142, allocations: 3.984 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.142, allocations: 7.984 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.142, allocations: 0 / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.158e-05/0.1421, allocations: 0 / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.031e-06/0.1421, allocations: 4 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008129/0.1429, allocations: 495 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.1429, allocations: 0 / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.143, allocations: 3.938 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.1435, allocations: 311.2 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1435, allocations: 0 / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1435, allocations: 4 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1435, allocations: 0 / 0.491 GB, free: 8.598 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.0004318/0.1439, allocations: 372.8 kB / 0.4913 GB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.144, allocations: 15.89 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.144, allocations: 0.9375 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1442, allocations: 164.4 kB / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1442, allocations: 384 / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1442, allocations: 384 / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.198e-05/0.1443, allocations: 41.95 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1443, allocations: 0 / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1443, allocations: 4 kB / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1443, allocations: 0 / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.095e-05/0.1444, allocations: 4 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.1445, allocations: 149.7 kB / 0.4917 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.729e-05/0.1445, allocations: 18.52 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.1446, allocations: 12.89 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.1446, allocations: 0 / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.1446, allocations: 68.2 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1446, allocations: 0 / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001807/0.1448, allocations: 63.39 kB / 0.4918 GB, free: 7.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.1449, allocations: 77.11 kB / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.504e-05/0.1449, allocations: 89.86 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.1449, allocations: 25.7 kB / 0.492 GB, free: 7.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.145, allocations: 84.14 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.145, allocations: 0 / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.145, allocations: 17.84 kB / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1451, allocations: 310.8 kB / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.1451, allocations: 4 kB / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.1452, allocations: 3.938 kB / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.583e-05/0.1452, allocations: 64.25 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1452, allocations: 4 kB / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.271e-05/0.1453, allocations: 63.41 kB / 0.4925 GB, free: 6.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.1453, allocations: 33.64 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1453, allocations: 4.094 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1454, allocations: 0 / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.053e-06/0.1454, allocations: 3.984 kB / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1454, allocations: 0 / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.1454, allocations: 4 kB / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1454, allocations: 0 / 0.4926 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: 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.39e-05/0.1455, allocations: 139.5 kB / 0.4927 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.1455, allocations: 15.81 kB / 0.4927 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.387e-05/0.1455, allocations: 3.125 kB / 0.4927 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1455, allocations: 4 kB / 0.4927 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1456, allocations: 0 / 0.4927 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1456, allocations: 0 / 0.4927 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.715e-05/0.1457, allocations: 145.7 kB / 0.4929 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1457, allocations: 0 / 0.4929 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.1457, allocations: 4 kB / 0.4929 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1457, allocations: 3.938 kB / 0.4929 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1457, allocations: 0 / 0.4929 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1457, allocations: 3.938 kB / 0.4929 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1457, allocations: 0 / 0.4929 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.531e-05/0.1458, allocations: 102.8 kB / 0.493 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.1459, allocations: 77.11 kB / 0.4931 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1459, allocations: 3.938 kB / 0.4931 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/0.1459, allocations: 0 / 0.4931 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.04e-05/0.1459, allocations: 4 kB / 0.4931 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1459, allocations: 0 / 0.4931 GB, free: 6.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.146, allocations: 75.28 kB / 0.4931 GB, free: 5.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.146, allocations: 3.969 kB / 0.4932 GB, free: 5.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.1463, allocations: 67.8 kB / 0.4932 GB, free: 5.902 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.000453/0.1468, allocations: 189.2 kB / 0.4934 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.1469, allocations: 63.39 kB / 0.4935 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1469, allocations: 0 / 0.4935 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/0.147, allocations: 55.41 kB / 0.4935 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1471, allocations: 0 / 0.4935 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000189/0.1473, allocations: 80.92 kB / 0.4936 GB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1476, allocations: 0.6729 MB / 0.4942 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.342e-06/0.1476, allocations: 8.062 kB / 0.4943 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.1476, allocations: 11.44 kB / 0.4943 GB, free: 4.746 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1476, allocations: 0 / 0.4943 GB, free: 4.746 MB / 382.1 MB Notification: Performance of Templates: time 0.004897/0.1525, allocations: 1.281 MB / 0.4955 GB, free: 3.465 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches