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.001739/0.001739, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 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.002156/0.002156, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.493/1.493, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2281/0.2281, allocations: 46.9 MB / 361.1 MB, free: 4.656 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.002358/0.002358, allocations: 79.88 kB / 0.4967 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3171, allocations: 65.99 MB / 0.5612 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001639/0.3187, allocations: 493 kB / 0.5616 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.321, allocations: 1.633 MB / 0.5632 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.321, allocations: 4 kB / 0.5632 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.123e-05/0.321, allocations: 0 / 0.5632 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.649e-06/0.321, allocations: 0 / 0.5632 GB, free: 2.918 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.0008847/0.3219, allocations: 259.3 kB / 0.5635 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.884e-05/0.3219, allocations: 12 kB / 0.5635 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.277e-05/0.322, allocations: 4 kB / 0.5635 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.322, allocations: 0 / 0.5635 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.769e-05/0.322, allocations: 0 / 0.5635 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-06/0.322, allocations: 0 / 0.5635 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008149/0.3228, allocations: 0.5379 MB / 0.564 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.885e-06/0.3228, allocations: 0 / 0.564 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.3229, allocations: 7.938 kB / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.3233, allocations: 314.1 kB / 0.5643 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3233, allocations: 0 / 0.5643 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3233, allocations: 0 / 0.5643 GB, free: 1.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3233, allocations: 0 / 0.5643 GB, free: 1.797 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.0004311/0.3237, allocations: 380.8 kB / 0.5647 GB, free: 1.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3238, allocations: 8.031 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.3238, allocations: 0.9375 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3239, allocations: 160.4 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3239, allocations: 4.312 kB / 0.5649 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.3239, allocations: 12.31 kB / 0.5649 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.012e-05/0.324, allocations: 34 kB / 0.5649 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.324, allocations: 0 / 0.5649 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.324, allocations: 0 / 0.5649 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.324, allocations: 4 kB / 0.5649 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.816e-05/0.3241, allocations: 3.984 kB / 0.5649 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.3242, allocations: 149.7 kB / 0.5651 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.516e-05/0.3243, allocations: 22.55 kB / 0.5651 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.3243, allocations: 8.859 kB / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-06/0.3243, allocations: 0 / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.3243, allocations: 60.2 kB / 0.5652 GB, free: 0.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3243, allocations: 3.938 kB / 0.5652 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001755/0.3245, allocations: 67.45 kB / 0.5652 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.3246, allocations: 81.11 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.147e-05/0.3246, allocations: 93.81 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3246, allocations: 29.83 kB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.3247, allocations: 80.14 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3247, allocations: 3.984 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.3247, allocations: 13.72 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3249, allocations: 318.8 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.3249, allocations: 0 / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-06/0.3249, allocations: 0 / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.755e-05/0.325, allocations: 68.33 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.325, allocations: 0 / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.254e-05/0.325, allocations: 59.41 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.3251, allocations: 37.62 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3251, allocations: 0 / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3251, allocations: 0 / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.3251, allocations: 4 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3251, allocations: 0 / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.3251, allocations: 0 / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.3251, allocations: 3.938 kB / 0.566 GB, free: 15.85 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 0.0001017/0.3252, allocations: 143.6 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.3252, allocations: 3.938 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.158e-06/0.3252, allocations: 3.125 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.3252, allocations: 0 / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3253, allocations: 3.984 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.3253, allocations: 0 / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.3254, allocations: 145.7 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3254, allocations: 0 / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3254, allocations: 0 / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3254, allocations: 3.938 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.3254, allocations: 7.938 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.3254, allocations: 0 / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3254, allocations: 0 / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.3255, allocations: 90.83 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.3255, allocations: 77.11 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3255, allocations: 11.88 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.029e-05/0.3256, allocations: 3.984 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.3256, allocations: 7.969 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3256, allocations: 4 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.342e-05/0.3256, allocations: 75.28 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3256, allocations: 0 / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.3259, allocations: 63.81 kB / 0.5666 GB, free: 15.11 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.0004491/0.3264, allocations: 196.3 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.368e-05/0.3264, allocations: 55.41 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3265, allocations: 0 / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.3265, allocations: 55.41 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.3266, allocations: 8.125 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001784/0.3268, allocations: 88.98 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.3271, allocations: 0.6729 MB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.14e-06/0.3271, allocations: 0 / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.102e-05/0.3271, allocations: 7.438 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3271, allocations: 7.875 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of Templates: time 0.004696/0.3318, allocations: 1.28 MB / 0.5689 GB, free: 12.67 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.915953655261546]