Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.223/0.223, allocations: 46.93 MB / 361.6 MB, free: 4.277 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 71.88 kB / 0.4974 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2895, allocations: 66.04 MB / 0.5619 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001649/0.2911, allocations: 0.4892 MB / 0.5623 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.2933, allocations: 1.583 MB / 0.5639 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.2933, allocations: 0 / 0.5639 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.2933, allocations: 0 / 0.5639 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.14e-06/0.2934, allocations: 3.938 kB / 0.5639 GB, free: 2.316 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000913/0.2943, allocations: 251.4 kB / 0.5641 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.21e-05/0.2943, allocations: 7.984 kB / 0.5641 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.057e-05/0.2943, allocations: 0 / 0.5641 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.275e-05/0.2944, allocations: 4 kB / 0.5641 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.441e-05/0.2944, allocations: 0 / 0.5641 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-06/0.2944, allocations: 3.938 kB / 0.5641 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.2956, allocations: 0.8 MB / 0.5649 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-06/0.2956, allocations: 0 / 0.5649 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.2956, allocations: 4 kB / 0.5649 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007692/0.2963, allocations: 0.6536 MB / 0.5656 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2964, allocations: 0 / 0.5656 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2964, allocations: 0 / 0.5656 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.2964, allocations: 4 kB / 0.5656 GB, free: 0.5977 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.0004119/0.2968, allocations: 295.8 kB / 0.5659 GB, free: 280 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2968, allocations: 8.031 kB / 0.5659 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.2968, allocations: 4.875 kB / 0.5659 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.123e-05/0.2969, allocations: 106.5 kB / 0.566 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.2969, allocations: 4.375 kB / 0.566 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.2969, allocations: 384 / 0.566 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.966e-05/0.297, allocations: 34.02 kB / 0.566 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.297, allocations: 8 kB / 0.566 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.297, allocations: 0 / 0.566 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.297, allocations: 0 / 0.566 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.404e-05/0.297, allocations: 3.938 kB / 0.566 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.2972, allocations: 120.8 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.036e-05/0.2972, allocations: 18.52 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.2972, allocations: 4.859 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.2973, allocations: 3.984 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.668e-05/0.2973, allocations: 72.27 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2973, allocations: 0 / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.2975, allocations: 63.39 kB / 0.5663 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.2975, allocations: 81.05 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/0.2976, allocations: 93.81 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.2976, allocations: 25.7 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.2976, allocations: 80.14 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.2976, allocations: 4 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.2977, allocations: 17.84 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2978, allocations: 310.8 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.2978, allocations: 0 / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.2978, allocations: 0 / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.957e-05/0.2979, allocations: 64.25 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2979, allocations: 0 / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.829e-05/0.2979, allocations: 63.41 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.298, allocations: 37.73 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.298, allocations: 3.938 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.298, allocations: 7.938 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.298, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.298, allocations: 3.984 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.298, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.298, allocations: 0 / 0.567 GB, free: 14.86 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.585e-05/0.2981, allocations: 135.5 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-06/0.2981, allocations: 3.938 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.207e-06/0.2981, allocations: 7 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.11e-07/0.2981, allocations: 0 / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2981, allocations: 4 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2981, allocations: 0 / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.2982, allocations: 124.8 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2982, allocations: 0 / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.2982, allocations: 0 / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.2982, allocations: 3.938 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.2982, allocations: 0 / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.2982, allocations: 4 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2982, allocations: 0 / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.434e-05/0.2983, allocations: 94.77 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-06/0.2983, allocations: 4 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2984, allocations: 7.875 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-06/0.2984, allocations: 0 / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-06/0.2984, allocations: 0 / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.2984, allocations: 0 / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.33e-05/0.2984, allocations: 76.3 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2984, allocations: 8.031 kB / 0.5675 GB, free: 14.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003812/0.2988, allocations: 119.9 kB / 0.5676 GB, free: 14.19 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.0006382/0.2994, allocations: 176.2 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.859e-05/0.2995, allocations: 59.39 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2995, allocations: 3.938 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.2996, allocations: 55.41 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.2997, allocations: 0 / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001864/0.2999, allocations: 114.6 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.3001, allocations: 0.6768 MB / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.088e-05/0.3002, allocations: 7.562 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3002, allocations: 4 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of Templates: time 0.004757/0.3049, allocations: 2.703 MB / 0.5713 GB, free: 10.31 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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: 8.298976360121742]