Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 209.5 kB / 25.13 MB, free: 3.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.4 MB / 258.7 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2321/0.2321, allocations: 46.94 MB / 362.1 MB, free: 4.211 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 79.81 kB / 0.4978 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3551, allocations: 66.09 MB / 0.5623 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.00192/0.357, allocations: 492.6 kB / 0.5628 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.3597, allocations: 1.629 MB / 0.5644 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.3597, allocations: 0 / 0.5644 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.3597, allocations: 3.938 kB / 0.5644 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.651e-06/0.3598, allocations: 0 / 0.5644 GB, free: 2.156 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.3608, allocations: 295.2 kB / 0.5647 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.299e-05/0.3608, allocations: 4 kB / 0.5647 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.3608, allocations: 8 kB / 0.5647 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.339e-05/0.3608, allocations: 0 / 0.5647 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.694e-05/0.3609, allocations: 3.984 kB / 0.5647 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.22e-06/0.3609, allocations: 0 / 0.5647 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006696/0.3615, allocations: 427 kB / 0.5651 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-06/0.3615, allocations: 4 kB / 0.5651 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.3616, allocations: 4 kB / 0.5651 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.3621, allocations: 301.8 kB / 0.5654 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3621, allocations: 4 kB / 0.5654 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3621, allocations: 0 / 0.5654 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.3621, allocations: 0 / 0.5654 GB, free: 1.133 MB / 398.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.0003872/0.3625, allocations: 303.7 kB / 0.5657 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3625, allocations: 8.031 kB / 0.5657 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.3625, allocations: 0.9375 kB / 0.5657 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.03e-05/0.3626, allocations: 102.5 kB / 0.5658 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3626, allocations: 12.31 kB / 0.5658 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.3626, allocations: 4.359 kB / 0.5658 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.966e-05/0.3627, allocations: 63.64 kB / 0.5659 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3627, allocations: 4 kB / 0.5659 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.3627, allocations: 0 / 0.5659 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3627, allocations: 0 / 0.5659 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.822e-05/0.3628, allocations: 25.7 kB / 0.5659 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.3629, allocations: 120.8 kB / 0.566 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.363, allocations: 48.22 kB / 0.566 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.3631, allocations: 30.66 kB / 0.5661 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-06/0.3631, allocations: 7.984 kB / 0.5661 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.3631, allocations: 64.2 kB / 0.5661 GB, free: 200 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3631, allocations: 0 / 0.5661 GB, free: 200 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002002/0.3633, allocations: 114.8 kB / 0.5663 GB, free: 60 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.3634, allocations: 85.03 kB / 0.5663 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.3634, allocations: 97.94 kB / 0.5664 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3635, allocations: 25.7 kB / 0.5665 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.3635, allocations: 88.14 kB / 0.5665 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.3635, allocations: 0 / 0.5665 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.3635, allocations: 9.719 kB / 0.5665 GB, free: 15.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3637, allocations: 310.8 kB / 0.5668 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.3638, allocations: 33.64 kB / 0.5669 GB, free: 15.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/0.3638, allocations: 25.7 kB / 0.5669 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.206e-05/0.3639, allocations: 72.31 kB / 0.567 GB, free: 15.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3639, allocations: 0 / 0.567 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.987e-05/0.364, allocations: 85.11 kB / 0.567 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.364, allocations: 33.64 kB / 0.5671 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.364, allocations: 0 / 0.5671 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.364, allocations: 0 / 0.5671 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.364, allocations: 4 kB / 0.5671 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.364, allocations: 3.984 kB / 0.5671 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.364, allocations: 0 / 0.5671 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.364, allocations: 4.031 kB / 0.5671 GB, free: 15.09 MB / 414.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 9.75e-05/0.3641, allocations: 144.4 kB / 0.5672 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.3642, allocations: 3.938 kB / 0.5672 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.338e-06/0.3642, allocations: 3 kB / 0.5672 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3642, allocations: 0 / 0.5672 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3642, allocations: 0 / 0.5672 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.3642, allocations: 0 / 0.5672 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.3643, allocations: 120.8 kB / 0.5674 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.3643, allocations: 0 / 0.5674 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3643, allocations: 4 kB / 0.5674 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3643, allocations: 3.938 kB / 0.5674 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.3643, allocations: 0 / 0.5674 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3643, allocations: 7.938 kB / 0.5674 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3643, allocations: 4 kB / 0.5674 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.3645, allocations: 112.5 kB / 0.5675 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-06/0.3645, allocations: 4 kB / 0.5675 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.3645, allocations: 3.938 kB / 0.5675 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-06/0.3645, allocations: 4.031 kB / 0.5675 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.3645, allocations: 3.938 kB / 0.5675 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.3645, allocations: 3.938 kB / 0.5675 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.563e-05/0.3646, allocations: 79.28 kB / 0.5676 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3646, allocations: 0 / 0.5676 GB, free: 14.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.365, allocations: 67.8 kB / 0.5676 GB, free: 14.45 MB / 414.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.0004283/0.3654, allocations: 188.4 kB / 0.5678 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.3655, allocations: 114.8 kB / 0.5679 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3655, allocations: 8.062 kB / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.246e-05/0.3656, allocations: 77.11 kB / 0.568 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.3657, allocations: 4 kB / 0.568 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.3659, allocations: 110.7 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3662, allocations: 0.669 MB / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.089e-06/0.3662, allocations: 0 / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.3662, allocations: 7.438 kB / 0.5688 GB, free: 13.17 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3662, allocations: 0 / 0.5688 GB, free: 13.17 MB / 414.1 MB Notification: Performance of Templates: time 0.004076/0.3703, allocations: 1.292 MB / 0.57 GB, free: 11.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.977089843014255]