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.002217/0.002216, allocations: 185.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.975/1.975, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 100.3 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.7717/0.7717, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.0004639, allocations: 16 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1284, allocations: 58.83 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.5946, allocations: 86.32 MB / 0.563 GB, free: 252 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.5949, allocations: 71.91 kB / 0.5631 GB, free: 180 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01344/0.6084, allocations: 2.778 MB / 0.5658 GB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6084, allocations: 4 kB / 0.5658 GB, free: 13.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.6084, allocations: 0 / 0.5658 GB, free: 13.42 MB / 394.7 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.0004789/0.6089, allocations: 381.9 kB / 0.5662 GB, free: 12.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.609, allocations: 8.031 kB / 0.5662 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.609, allocations: 0 / 0.5662 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.6091, allocations: 163.1 kB / 0.5663 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.6092, allocations: 4 kB / 0.5663 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.6092, allocations: 3.938 kB / 0.5663 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.751e-05/0.6093, allocations: 34.67 kB / 0.5664 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.6093, allocations: 4 kB / 0.5664 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.6093, allocations: 4 kB / 0.5664 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6093, allocations: 0 / 0.5664 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.6094, allocations: 3.953 kB / 0.5664 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.6095, allocations: 145.7 kB / 0.5665 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.189e-05/0.6096, allocations: 18.61 kB / 0.5665 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.6096, allocations: 0 / 0.5665 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/0.6097, allocations: 64.27 kB / 0.5666 GB, free: 12.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.6097, allocations: 3.938 kB / 0.5666 GB, free: 12.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001798/0.6099, allocations: 63.45 kB / 0.5667 GB, free: 12.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.61, allocations: 78.33 kB / 0.5667 GB, free: 12.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.523e-05/0.61, allocations: 85 kB / 0.5668 GB, free: 12.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.61, allocations: 25.7 kB / 0.5668 GB, free: 12.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.6101, allocations: 154.6 kB / 0.567 GB, free: 11.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.6101, allocations: 2.031 kB / 0.567 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.6102, allocations: 128 / 0.567 GB, free: 11.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6103, allocations: 322.8 kB / 0.5673 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.6103, allocations: 0 / 0.5673 GB, free: 11.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/0.6103, allocations: 6.469 kB / 0.5673 GB, free: 11.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.02e-05/0.6104, allocations: 25.7 kB / 0.5673 GB, free: 11.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6104, allocations: 0 / 0.5673 GB, free: 11.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.341e-05/0.6105, allocations: 67.33 kB / 0.5674 GB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.6105, allocations: 29.7 kB / 0.5674 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6106, allocations: 5.75 kB / 0.5674 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.6106, allocations: 4.094 kB / 0.5674 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.6106, allocations: 0 / 0.5674 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.6106, allocations: 4.625 kB / 0.5674 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.6107, allocations: 0 / 0.5674 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.6107, allocations: 0 / 0.5674 GB, free: 11.5 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.6108, allocations: 143.5 kB / 0.5676 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.6108, allocations: 7.984 kB / 0.5676 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.235e-05/0.6108, allocations: 3.125 kB / 0.5676 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6108, allocations: 0 / 0.5676 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.6109, allocations: 4 kB / 0.5676 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.6109, allocations: 3.938 kB / 0.5676 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.611, allocations: 145.6 kB / 0.5677 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.611, allocations: 4 kB / 0.5677 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-07/0.611, allocations: 0 / 0.5677 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.611, allocations: 3.984 kB / 0.5677 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.611, allocations: 3.984 kB / 0.5677 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6111, allocations: 0 / 0.5677 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6111, allocations: 0 / 0.5677 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.6112, allocations: 98.73 kB / 0.5678 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.6113, allocations: 81.09 kB / 0.5679 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.6113, allocations: 0 / 0.5679 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.478e-05/0.6113, allocations: 4 kB / 0.5679 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.6113, allocations: 0 / 0.5679 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.6114, allocations: 3.25 kB / 0.5679 GB, free: 10.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.276e-05/0.6114, allocations: 75.28 kB / 0.568 GB, free: 10.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6114, allocations: 0 / 0.568 GB, free: 10.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005195/0.6119, allocations: 83.95 kB / 0.5681 GB, free: 10.75 MB / 394.7 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 (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.0006564/0.6126, allocations: 220.2 kB / 0.5683 GB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.6127, allocations: 59.34 kB / 0.5683 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6127, allocations: 0 / 0.5683 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/0.6128, allocations: 63.39 kB / 0.5684 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.6129, allocations: 6.359 kB / 0.5684 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.6132, allocations: 103.2 kB / 0.5685 GB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.6135, allocations: 0.677 MB / 0.5692 GB, free: 9.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.214e-05/0.6135, allocations: 7.562 kB / 0.5692 GB, free: 9.551 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6135, allocations: 4 kB / 0.5692 GB, free: 9.547 MB / 394.7 MB Notification: Performance of Templates: time 0.004575/0.6181, allocations: 1.43 MB / 0.5706 GB, free: 8.125 MB / 394.7 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