Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg.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.00156/0.00156, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001725/0.001725, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.448/1.448, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.2379/0.2379, allocations: 46.89 MB / 358.1 MB, free: 10.52 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.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg") [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.002239/0.002239, allocations: 79.88 kB / 0.4923 GB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1348, allocations: 65.99 MB / 0.5568 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001621/0.1364, allocations: 497 kB / 0.5573 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.1385, allocations: 1.165 MB / 0.5584 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.1385, allocations: 0 / 0.5584 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.1385, allocations: 0 / 0.5584 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.1385, allocations: 0 / 0.5584 GB, free: 4.293 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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-beta.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.002157/0.1407, allocations: 0.6714 MB / 0.559 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.98e-05/0.1407, allocations: 4 kB / 0.5591 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.1408, allocations: 0 / 0.5591 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.041e-05/0.1408, allocations: 8 kB / 0.5591 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.034e-05/0.1408, allocations: 0 / 0.5591 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.1408, allocations: 0 / 0.5591 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.1444, allocations: 2.457 MB / 0.5615 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.1445, allocations: 3.984 kB / 0.5615 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.1445, allocations: 4 kB / 0.5615 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.145, allocations: 355.4 kB / 0.5618 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.145, allocations: 0 / 0.5618 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.145, allocations: 0 / 0.5618 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.145, allocations: 0 / 0.5618 GB, free: 0.7969 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.0005786/0.1456, allocations: 384.6 kB / 0.5622 GB, free: 376 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1456, allocations: 12.03 kB / 0.5622 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.1456, allocations: 4 kB / 0.5622 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.1458, allocations: 163 kB / 0.5623 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1458, allocations: 0 / 0.5623 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1458, allocations: 3.984 kB / 0.5623 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.1459, allocations: 37.62 kB / 0.5624 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1459, allocations: 3.938 kB / 0.5624 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1459, allocations: 0 / 0.5624 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1459, allocations: 0 / 0.5624 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.1459, allocations: 4 kB / 0.5624 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.1461, allocations: 149.7 kB / 0.5625 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.997e-05/0.1462, allocations: 18.52 kB / 0.5626 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.1462, allocations: 12.95 kB / 0.5626 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.1462, allocations: 3.938 kB / 0.5626 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.091e-05/0.1463, allocations: 60.25 kB / 0.5626 GB, free: 15.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1463, allocations: 0 / 0.5626 GB, free: 15.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001799/0.1464, allocations: 63.41 kB / 0.5627 GB, free: 15.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.1465, allocations: 81.23 kB / 0.5628 GB, free: 15.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/0.1466, allocations: 93.81 kB / 0.5629 GB, free: 15.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1466, allocations: 29.64 kB / 0.5629 GB, free: 15.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.1466, allocations: 84.12 kB / 0.563 GB, free: 15.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.1466, allocations: 4 kB / 0.563 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.1467, allocations: 13.7 kB / 0.563 GB, free: 15.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1468, allocations: 314.8 kB / 0.5633 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.1468, allocations: 4 kB / 0.5633 GB, free: 15.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.1468, allocations: 4 kB / 0.5633 GB, free: 15.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.632e-05/0.1469, allocations: 60.27 kB / 0.5633 GB, free: 14.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1469, allocations: 0 / 0.5633 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.543e-05/0.147, allocations: 63.33 kB / 0.5634 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.147, allocations: 35.42 kB / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.147, allocations: 0 / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.147, allocations: 0 / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.447e-06/0.147, allocations: 3.938 kB / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.147, allocations: 96 / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.147, allocations: 4 kB / 0.5634 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1471, allocations: 8 kB / 0.5635 GB, free: 14.84 MB / 430.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.9e-05/0.1472, allocations: 131.5 kB / 0.5636 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.1472, allocations: 7.922 kB / 0.5636 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.232e-05/0.1472, allocations: 7.125 kB / 0.5636 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1472, allocations: 4 kB / 0.5636 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1472, allocations: 0 / 0.5636 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1472, allocations: 3.938 kB / 0.5636 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1473, allocations: 149.6 kB / 0.5637 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.1473, allocations: 0 / 0.5637 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-06/0.1473, allocations: 3.938 kB / 0.5637 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1473, allocations: 4 kB / 0.5637 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1473, allocations: 3.984 kB / 0.5638 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1473, allocations: 3.984 kB / 0.5638 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1473, allocations: 0 / 0.5638 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.1474, allocations: 86.84 kB / 0.5638 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.1475, allocations: 89.06 kB / 0.5639 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1475, allocations: 3.938 kB / 0.5639 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-06/0.1475, allocations: 0 / 0.5639 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.1475, allocations: 0 / 0.5639 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1475, allocations: 8 kB / 0.5639 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.811e-05/0.1476, allocations: 75.28 kB / 0.564 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1476, allocations: 0 / 0.564 GB, free: 14.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.1479, allocations: 51.8 kB / 0.5641 GB, free: 14.11 MB / 430.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.001575/0.1495, allocations: 0.5302 MB / 0.5646 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1496, allocations: 55.41 kB / 0.5646 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.1496, allocations: 0 / 0.5646 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.1497, allocations: 63.47 kB / 0.5647 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.1498, allocations: 7.938 kB / 0.5647 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.15, allocations: 102.7 kB / 0.5648 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1503, allocations: 0.6767 MB / 0.5655 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.465e-05/0.1503, allocations: 7.438 kB / 0.5655 GB, free: 12.63 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1503, allocations: 0 / 0.5655 GB, free: 12.63 MB / 430.1 MB Notification: Performance of Templates: time 0.004876/0.1552, allocations: 2.595 MB / 0.568 GB, free: 10.03 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestColorMapToSvg_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.169456639094278]