Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.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.00163/0.00163, allocations: 73.02 kB / 21.24 MB, free: 0.5547 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.001591/0.001591, allocations: 159.2 kB / 24.5 MB, free: 3.719 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.462/1.462, allocations: 177.2 MB / 204.9 MB, free: 8.98 MB / 190.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.2132/0.2132, allocations: 34.26 MB / 295.5 MB, free: 14.57 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.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 75.88 kB / 443.1 MB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3148, allocations: 66 MB / 0.4972 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001517/0.3164, allocations: 499.3 kB / 0.4977 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.318, allocations: 1.107 MB / 0.4988 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.318, allocations: 3.938 kB / 0.4988 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/0.318, allocations: 0 / 0.4988 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.332e-06/0.318, allocations: 0 / 0.4988 GB, free: 28.82 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Visualizers/Colors/colorMapToSvg.mo:2:1-205:18:writable] Warning: Pure function 'Modelica.Mechanics.MultiBody.Visualizers.Colors.colorMapToSvg' contains a call to impure function 'Modelica.Utilities.Files.remove'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:663:3-677:20:writable] Warning: Pure function 'ModelicaTest.Math.colorMapToSvg' contains a call to impure function 'Modelica.Mechanics.MultiBody.Visualizers.Colors.colorMapToSvg'. Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.3199, allocations: 0.7426 MB / 0.4995 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.693e-05/0.32, allocations: 4 kB / 0.4995 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.32, allocations: 3.938 kB / 0.4995 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.326e-05/0.32, allocations: 3.344 kB / 0.4995 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.731e-05/0.32, allocations: 0 / 0.4995 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-06/0.32, allocations: 0 / 0.4995 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.3224, allocations: 2.462 MB / 0.5019 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.574e-06/0.3224, allocations: 3.938 kB / 0.5019 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.3225, allocations: 0 / 0.5019 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.3228, allocations: 346.2 kB / 0.5022 GB, free: 28.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3228, allocations: 3.031 kB / 0.5022 GB, free: 28.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3228, allocations: 3.938 kB / 0.5022 GB, free: 28.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.3228, allocations: 4 kB / 0.5023 GB, free: 28.12 MB / 446.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.0003118/0.3231, allocations: 299.7 kB / 0.5025 GB, free: 27.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.3232, allocations: 12.56 kB / 0.5025 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.3232, allocations: 0 / 0.5025 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.949e-05/0.3232, allocations: 108.1 kB / 0.5027 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3232, allocations: 3.938 kB / 0.5027 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.3233, allocations: 0 / 0.5027 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.876e-05/0.3233, allocations: 54.28 kB / 0.5027 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3234, allocations: 0 / 0.5027 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3234, allocations: 2.938 kB / 0.5027 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3234, allocations: 4 kB / 0.5027 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.177e-05/0.3234, allocations: 29.12 kB / 0.5027 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.247e-05/0.3235, allocations: 100.2 kB / 0.5028 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.603e-05/0.3235, allocations: 47 kB / 0.5029 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.3235, allocations: 34.5 kB / 0.5029 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.3235, allocations: 3 kB / 0.5029 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3236, allocations: 59.69 kB / 0.503 GB, free: 27.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3236, allocations: 0 / 0.503 GB, free: 27.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.3237, allocations: 115.2 kB / 0.5031 GB, free: 27.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.3237, allocations: 80.7 kB / 0.5032 GB, free: 27.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.12e-05/0.3238, allocations: 108.4 kB / 0.5033 GB, free: 26.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.321e-06/0.3238, allocations: 25.7 kB / 0.5033 GB, free: 26.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.398e-06/0.3238, allocations: 80.14 kB / 0.5034 GB, free: 26.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.3238, allocations: 0 / 0.5034 GB, free: 26.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.3238, allocations: 16.34 kB / 0.5034 GB, free: 26.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.3239, allocations: 310.8 kB / 0.5037 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.3239, allocations: 28.3 kB / 0.5037 GB, free: 26.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.3239, allocations: 25.7 kB / 0.5037 GB, free: 26.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.963e-05/0.3239, allocations: 65.22 kB / 0.5038 GB, free: 26.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3239, allocations: 4.062 kB / 0.5038 GB, free: 26.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.278e-05/0.324, allocations: 92.86 kB / 0.5039 GB, free: 26.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.324, allocations: 34.62 kB / 0.5039 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.324, allocations: 0 / 0.5039 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.324, allocations: 0 / 0.5039 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/0.324, allocations: 7.922 kB / 0.5039 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.324, allocations: 4 kB / 0.5039 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.324, allocations: 2.688 kB / 0.5039 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.324, allocations: 3.938 kB / 0.5039 GB, free: 26.21 MB / 446.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 5.287e-05/0.3241, allocations: 134.1 kB / 0.5041 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-06/0.3241, allocations: 7.969 kB / 0.5041 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-06/0.3241, allocations: 6.375 kB / 0.5041 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.3241, allocations: 2.75 kB / 0.5041 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3241, allocations: 0 / 0.5041 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.3241, allocations: 0 / 0.5041 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.846e-05/0.3241, allocations: 100 kB / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3241, allocations: 0 / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3241, allocations: 0 / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3241, allocations: 3.938 kB / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.3242, allocations: 0 / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3242, allocations: 2.719 kB / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3242, allocations: 4 kB / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.997e-05/0.3242, allocations: 114.8 kB / 0.5043 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.3242, allocations: 11.3 kB / 0.5043 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.3242, allocations: 2.531 kB / 0.5043 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.3243, allocations: 0 / 0.5043 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.3243, allocations: 2.531 kB / 0.5043 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.3243, allocations: 3.938 kB / 0.5043 GB, free: 25.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.087e-05/0.3243, allocations: 75.28 kB / 0.5044 GB, free: 25.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3243, allocations: 0 / 0.5044 GB, free: 25.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000293/0.3246, allocations: 51.39 kB / 0.5044 GB, free: 25.7 MB / 446.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.001385/0.326, allocations: 0.5521 MB / 0.505 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.3261, allocations: 116.1 kB / 0.5051 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3261, allocations: 0 / 0.5051 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.3261, allocations: 84.17 kB / 0.5052 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.3262, allocations: 10.22 kB / 0.5052 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001561/0.3264, allocations: 117.7 kB / 0.5053 GB, free: 25.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.634e-05/0.3264, allocations: 54.39 kB / 0.5053 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.799e-06/0.3264, allocations: 0 / 0.5053 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.126e-05/0.3264, allocations: 11.41 kB / 0.5053 GB, free: 24.98 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3264, allocations: 0 / 0.5053 GB, free: 24.98 MB / 446.1 MB Notification: Performance of Templates: time 0.004763/0.3312, allocations: 2.159 MB / 0.5075 GB, free: 24.68 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.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.910094528924674]