Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.001474/0.001474, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001651/0.001651, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.33/1.33, allocations: 230.5 MB / 258.1 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.93 MB / 361.5 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 75.88 kB / 0.4974 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2806, allocations: 66.07 MB / 0.5619 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001504/0.2821, allocations: 0.4931 MB / 0.5624 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.285, allocations: 2.176 MB / 0.5645 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.2851, allocations: 0 / 0.5645 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.2851, allocations: 0 / 0.5645 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.2851, allocations: 0 / 0.5645 GB, free: 1.547 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.287, allocations: 0.7656 MB / 0.5653 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.2871, allocations: 7.984 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.2871, allocations: 0 / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.512e-05/0.2871, allocations: 4 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.38e-05/0.2871, allocations: 0 / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.499e-06/0.2872, allocations: 0 / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.2895, allocations: 1.708 MB / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-06/0.2895, allocations: 0 / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.2895, allocations: 3.984 kB / 0.567 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.2914, allocations: 1.57 MB / 0.5685 GB, free: 13.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.2914, allocations: 3.938 kB / 0.5685 GB, free: 13.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2914, allocations: 0 / 0.5685 GB, free: 13.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2914, allocations: 0 / 0.5685 GB, free: 13.49 MB / 414.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.0006725/0.2921, allocations: 339.4 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.2921, allocations: 8.031 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.2921, allocations: 4.938 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.418e-05/0.2922, allocations: 114.5 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.2922, allocations: 4.359 kB / 0.569 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.2922, allocations: 384 / 0.569 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.966e-05/0.2923, allocations: 38.02 kB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2923, allocations: 0 / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.2923, allocations: 0 / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2923, allocations: 0 / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.454e-05/0.2924, allocations: 0 / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.2925, allocations: 124.8 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.255e-05/0.2925, allocations: 18.52 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.2925, allocations: 8.797 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/0.2926, allocations: 4.094 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/0.2926, allocations: 64.2 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2926, allocations: 0 / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002041/0.2928, allocations: 67.34 kB / 0.5693 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.2929, allocations: 81.23 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.487e-05/0.2929, allocations: 89.86 kB / 0.5694 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2929, allocations: 29.64 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.293, allocations: 80.14 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.293, allocations: 0 / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.293, allocations: 17.72 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2932, allocations: 310.8 kB / 0.5698 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.2932, allocations: 0 / 0.5698 GB, free: 11.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.2932, allocations: 8 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/0.2932, allocations: 60.25 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2932, allocations: 4 kB / 0.5699 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.492e-05/0.2933, allocations: 59.41 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.2933, allocations: 39.67 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2933, allocations: 0 / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2934, allocations: 0 / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-06/0.2934, allocations: 7.938 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2934, allocations: 0 / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.2934, allocations: 8.078 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.2934, allocations: 0 / 0.57 GB, free: 11.7 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 8.688e-05/0.2935, allocations: 135.5 kB / 0.5702 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.2935, allocations: 3.938 kB / 0.5702 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-06/0.2935, allocations: 6.938 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.2935, allocations: 0 / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2935, allocations: 4 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.2935, allocations: 0 / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.426e-05/0.2936, allocations: 120.8 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2936, allocations: 4 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.2936, allocations: 0 / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2936, allocations: 3.938 kB / 0.5703 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.2936, allocations: 4 kB / 0.5703 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2936, allocations: 0 / 0.5703 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2936, allocations: 3.938 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.899e-05/0.2937, allocations: 90.81 kB / 0.5704 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-06/0.2937, allocations: 4 kB / 0.5704 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.2937, allocations: 11.91 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-06/0.2937, allocations: 0 / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.2937, allocations: 0 / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.2937, allocations: 4 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.44e-05/0.2938, allocations: 75.28 kB / 0.5705 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2938, allocations: 0 / 0.5705 GB, free: 11.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009164/0.2947, allocations: 275.6 kB / 0.5707 GB, free: 10.89 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.001234/0.2959, allocations: 406.8 kB / 0.5711 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.563e-05/0.296, allocations: 67.41 kB / 0.5712 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.296, allocations: 0 / 0.5712 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.414e-05/0.2961, allocations: 51.41 kB / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.2962, allocations: 4 kB / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.2964, allocations: 114.6 kB / 0.5714 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.2967, allocations: 0.669 MB / 0.572 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/0.2967, allocations: 7.438 kB / 0.572 GB, free: 9.492 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2967, allocations: 0 / 0.572 GB, free: 9.492 MB / 414.1 MB Notification: Performance of Templates: time 0.01038/0.3071, allocations: 6.642 MB / 0.5785 GB, free: 2.844 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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: 9.776418531080708]