Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002077/0.002083, allocations: 178 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 77.77 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3058/0.3058, allocations: 43.5 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.754e-05/1.765e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4085, allocations: 58.85 MB / 477.1 MB, free: 5.246 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.5736, allocations: 85.58 MB / 0.5495 GB, free: 13.73 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.5739, allocations: 55.97 kB / 0.5495 GB, free: 13.68 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0138/0.5878, allocations: 2.749 MB / 0.5522 GB, free: 10.93 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5878, allocations: 0 / 0.5522 GB, free: 10.93 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.5878, allocations: 0 / 0.5522 GB, free: 10.93 MB / 395.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.000482/0.5883, allocations: 380.1 kB / 0.5526 GB, free: 10.51 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5884, allocations: 8.031 kB / 0.5526 GB, free: 10.5 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.5884, allocations: 7.953 kB / 0.5526 GB, free: 10.5 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.5886, allocations: 163.1 kB / 0.5527 GB, free: 10.3 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.5886, allocations: 7.938 kB / 0.5527 GB, free: 10.29 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.5886, allocations: 0 / 0.5527 GB, free: 10.29 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.241e-05/0.5887, allocations: 0 / 0.5527 GB, free: 10.29 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.008e-05/0.5887, allocations: 29.7 kB / 0.5528 GB, free: 10.25 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5887, allocations: 3.984 kB / 0.5528 GB, free: 10.25 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.5888, allocations: 7.984 kB / 0.5528 GB, free: 10.24 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5888, allocations: 3.953 kB / 0.5528 GB, free: 10.24 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.5889, allocations: 122.2 kB / 0.5529 GB, free: 10.08 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.578e-05/0.589, allocations: 26.55 kB / 0.5529 GB, free: 10.05 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.589, allocations: 4.859 kB / 0.5529 GB, free: 10.04 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.589, allocations: 0 / 0.5529 GB, free: 10.04 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.5891, allocations: 64.2 kB / 0.553 GB, free: 9.961 MB / 395.1 MB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.5891, allocations: 0 / 0.553 GB, free: 9.961 MB / 395.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001893/0.5893, allocations: 37.75 kB / 0.553 GB, free: 9.918 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.5894, allocations: 77.11 kB / 0.5531 GB, free: 9.824 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.654e-05/0.5894, allocations: 89.03 kB / 0.5532 GB, free: 9.73 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.5895, allocations: 25.7 kB / 0.5532 GB, free: 9.699 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.5895, allocations: 150.6 kB / 0.5534 GB, free: 9.551 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.5896, allocations: 0 / 0.5534 GB, free: 9.551 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.5896, allocations: 0 / 0.5534 GB, free: 9.551 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5897, allocations: 321.3 kB / 0.5537 GB, free: 9.23 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.5897, allocations: 0 / 0.5537 GB, free: 9.23 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.5898, allocations: 0 / 0.5537 GB, free: 9.23 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.024e-05/0.5898, allocations: 4.062 kB / 0.5537 GB, free: 9.227 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5898, allocations: 4 kB / 0.5537 GB, free: 9.223 MB / 395.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.587e-05/0.5899, allocations: 41.62 kB / 0.5537 GB, free: 9.176 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.59, allocations: 29.7 kB / 0.5537 GB, free: 9.141 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.59, allocations: 0 / 0.5537 GB, free: 9.141 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.59, allocations: 7.938 kB / 0.5537 GB, free: 9.133 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-06/0.5901, allocations: 0 / 0.5537 GB, free: 9.133 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.5901, allocations: 0 / 0.5537 GB, free: 9.133 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.5901, allocations: 0 / 0.5537 GB, free: 9.133 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.5901, allocations: 0 / 0.5537 GB, free: 9.133 MB / 395.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.5902, allocations: 138.7 kB / 0.5539 GB, free: 8.984 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-06/0.5903, allocations: 0 / 0.5539 GB, free: 8.984 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.5903, allocations: 7.734 kB / 0.5539 GB, free: 8.973 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5903, allocations: 0 / 0.5539 GB, free: 8.973 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5903, allocations: 0 / 0.5539 GB, free: 8.973 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5903, allocations: 0 / 0.5539 GB, free: 8.973 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.5904, allocations: 126.2 kB / 0.554 GB, free: 8.812 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5904, allocations: 3.953 kB / 0.554 GB, free: 8.809 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.5905, allocations: 0 / 0.554 GB, free: 8.809 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5905, allocations: 0 / 0.554 GB, free: 8.809 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.5905, allocations: 4 kB / 0.554 GB, free: 8.805 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5905, allocations: 0 / 0.554 GB, free: 8.805 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.5905, allocations: 3.984 kB / 0.554 GB, free: 8.801 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.5907, allocations: 65.08 kB / 0.5541 GB, free: 8.719 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.5907, allocations: 81.06 kB / 0.5542 GB, free: 8.621 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.5907, allocations: 0 / 0.5542 GB, free: 8.621 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.292e-05/0.5908, allocations: 0 / 0.5542 GB, free: 8.621 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.5908, allocations: 11.92 kB / 0.5542 GB, free: 8.609 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.5908, allocations: 4.031 kB / 0.5542 GB, free: 8.605 MB / 395.1 MB Notification: Performance of sorting global known variables: time 4.481e-05/0.5909, allocations: 75.28 kB / 0.5542 GB, free: 8.531 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5909, allocations: 0 / 0.5542 GB, free: 8.531 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.5914, allocations: 83.88 kB / 0.5543 GB, free: 8.449 MB / 395.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006782/0.5921, allocations: 211 kB / 0.5545 GB, free: 8.238 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.5922, allocations: 55.41 kB / 0.5546 GB, free: 8.172 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5922, allocations: 0 / 0.5546 GB, free: 8.172 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.611e-05/0.5923, allocations: 59.34 kB / 0.5546 GB, free: 8.102 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.5924, allocations: 8.125 kB / 0.5546 GB, free: 8.094 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001835/0.5926, allocations: 69.72 kB / 0.5547 GB, free: 7.996 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.5929, allocations: 0.6845 MB / 0.5554 GB, free: 7.285 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.593, allocations: 7.438 kB / 0.5554 GB, free: 7.277 MB / 395.1 MB Notification: Performance of SimCode: time 9.62e-07/0.593, allocations: 0 / 0.5554 GB, free: 7.277 MB / 395.1 MB Notification: Performance of Templates: time 0.005084/0.5981, allocations: 1.448 MB / 0.5568 GB, free: 5.832 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches