Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00159/0.00159, allocations: 117.1 kB / 19.13 MB, free: 3.945 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.001728/0.001728, allocations: 210.6 kB / 22.08 MB, free: 0.9922 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.463/1.463, allocations: 227.4 MB / 252.3 MB, free: 260 kB / 190.1 MB " [Timeout remaining time 178] 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.2279/0.2279, allocations: 46.17 MB / 351.8 MB, free: 14.41 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.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 81.58 kB / 490.9 MB, free: 27.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1247, allocations: 62.45 MB / 0.5403 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001787/0.1266, allocations: 493 kB / 0.5408 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.1286, allocations: 1.151 MB / 0.5419 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.107e-05/0.1287, allocations: 0 / 0.5419 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.1287, allocations: 0 / 0.5419 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.31e-06/0.1287, allocations: 0 / 0.5419 GB, free: 2.621 MB / 398.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 trunk/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.002328/0.131, allocations: 0.6791 MB / 0.5426 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.13e-05/0.1311, allocations: 4 kB / 0.5426 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.1312, allocations: 8 kB / 0.5426 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.524e-05/0.1312, allocations: 0 / 0.5426 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.043e-05/0.1312, allocations: 3.984 kB / 0.5426 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.332e-06/0.1312, allocations: 3.938 kB / 0.5426 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.1344, allocations: 2.445 MB / 0.545 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.195e-06/0.1344, allocations: 0 / 0.545 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.1344, allocations: 0 / 0.545 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005256/0.135, allocations: 367.3 kB / 0.5453 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.135, allocations: 0 / 0.5453 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.135, allocations: 0 / 0.5453 GB, free: 15.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.135, allocations: 0 / 0.5453 GB, free: 15.12 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.0005332/0.1355, allocations: 380.7 kB / 0.5457 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1356, allocations: 12.03 kB / 0.5457 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.1356, allocations: 4 kB / 0.5457 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1358, allocations: 159.1 kB / 0.5459 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1358, allocations: 0 / 0.5459 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1358, allocations: 0 / 0.5459 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1359, allocations: 33.64 kB / 0.5459 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1359, allocations: 0 / 0.5459 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.1359, allocations: 0 / 0.5459 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1359, allocations: 0 / 0.5459 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.719e-05/0.136, allocations: 15.92 kB / 0.5459 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.1362, allocations: 145.7 kB / 0.5461 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.687e-05/0.1362, allocations: 14.58 kB / 0.5461 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.1362, allocations: 12.95 kB / 0.5461 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.1363, allocations: 3.938 kB / 0.5461 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.561e-05/0.1363, allocations: 60.2 kB / 0.5462 GB, free: 14.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1363, allocations: 4 kB / 0.5462 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000192/0.1365, allocations: 71.33 kB / 0.5462 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.1366, allocations: 77.11 kB / 0.5463 GB, free: 13.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.1367, allocations: 93.81 kB / 0.5464 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1367, allocations: 25.7 kB / 0.5464 GB, free: 13.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.1367, allocations: 84.12 kB / 0.5465 GB, free: 13.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.1368, allocations: 4 kB / 0.5465 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.1368, allocations: 9.719 kB / 0.5465 GB, free: 13.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1369, allocations: 323 kB / 0.5468 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.137, allocations: 4 kB / 0.5468 GB, free: 13.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-06/0.137, allocations: 0 / 0.5468 GB, free: 13.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.262e-05/0.137, allocations: 60.27 kB / 0.5469 GB, free: 13.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.137, allocations: 0 / 0.5469 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.734e-05/0.1371, allocations: 63.28 kB / 0.5469 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.1372, allocations: 37.69 kB / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1372, allocations: 0 / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1372, allocations: 4.094 kB / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.1372, allocations: 0 / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1372, allocations: 3.938 kB / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.1372, allocations: 3.938 kB / 0.547 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1372, allocations: 4 kB / 0.547 GB, free: 13.17 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 9.17e-05/0.1373, allocations: 135.5 kB / 0.5471 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.1374, allocations: 3.938 kB / 0.5471 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.122e-05/0.1374, allocations: 3.125 kB / 0.5471 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.1374, allocations: 7.984 kB / 0.5471 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1374, allocations: 4 kB / 0.5471 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1374, allocations: 0 / 0.5471 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.1375, allocations: 141.7 kB / 0.5473 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1375, allocations: 0 / 0.5473 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-06/0.1375, allocations: 7.922 kB / 0.5473 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1375, allocations: 0 / 0.5473 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1376, allocations: 4 kB / 0.5473 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1376, allocations: 0 / 0.5473 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1376, allocations: 7.984 kB / 0.5473 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1377, allocations: 98.77 kB / 0.5474 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.1377, allocations: 84.98 kB / 0.5475 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1378, allocations: 3.984 kB / 0.5475 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-06/0.1378, allocations: 0 / 0.5475 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.1378, allocations: 0 / 0.5475 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1378, allocations: 4 kB / 0.5475 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.526e-05/0.1378, allocations: 79.28 kB / 0.5475 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1378, allocations: 0 / 0.5475 GB, free: 12.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.1382, allocations: 51.8 kB / 0.5476 GB, free: 12.43 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.00158/0.1398, allocations: 0.5293 MB / 0.5481 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.1399, allocations: 59.39 kB / 0.5482 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1399, allocations: 4.062 kB / 0.5482 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.301e-05/0.14, allocations: 63.34 kB / 0.5482 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.1401, allocations: 0 / 0.5482 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002003/0.1403, allocations: 106.6 kB / 0.5483 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1406, allocations: 0.6729 MB / 0.549 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.1406, allocations: 11.44 kB / 0.549 GB, free: 10.96 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1406, allocations: 0 / 0.549 GB, free: 10.96 MB / 414.1 MB Notification: Performance of Templates: time 0.004931/0.1455, allocations: 2.587 MB / 0.5515 GB, free: 8.367 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.987980614067055]