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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 115.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 71.89 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3455, allocations: 62.44 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001377/0.3469, allocations: 499.3 kB / 0.5321 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.3487, allocations: 1.143 MB / 0.5332 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.3488, allocations: 0 / 0.5332 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.3488, allocations: 0 / 0.5332 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.223e-06/0.3488, allocations: 1.75 kB / 0.5332 GB, free: 12.38 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.001798/0.3506, allocations: 0.679 MB / 0.5339 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.068e-05/0.3506, allocations: 1.375 kB / 0.5339 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.171e-05/0.3507, allocations: 1.375 kB / 0.5339 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.314e-05/0.3507, allocations: 0 / 0.5339 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.581e-05/0.3507, allocations: 5.359 kB / 0.5339 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-06/0.3507, allocations: 0 / 0.5339 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003128/0.3539, allocations: 2.45 MB / 0.5363 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-06/0.3539, allocations: 0 / 0.5363 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.3539, allocations: 0 / 0.5363 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.3543, allocations: 361.5 kB / 0.5366 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3543, allocations: 4 kB / 0.5367 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3543, allocations: 0 / 0.5367 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.3544, allocations: 0.7812 kB / 0.5367 GB, free: 10.71 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.0004037/0.3548, allocations: 377.7 kB / 0.537 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3548, allocations: 9.188 kB / 0.537 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.3549, allocations: 1.094 kB / 0.537 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.355, allocations: 163.1 kB / 0.5372 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.355, allocations: 3.938 kB / 0.5372 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.355, allocations: 5.094 kB / 0.5372 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.125e-05/0.3551, allocations: 32.86 kB / 0.5372 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.3551, allocations: 0 / 0.5372 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.3551, allocations: 0 / 0.5372 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3551, allocations: 0.9688 kB / 0.5372 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.605e-05/0.3551, allocations: 8.984 kB / 0.5372 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.3553, allocations: 142.8 kB / 0.5374 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.564e-05/0.3553, allocations: 20.33 kB / 0.5374 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.301e-05/0.3553, allocations: 14.05 kB / 0.5374 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.3553, allocations: 5.016 kB / 0.5374 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.3554, allocations: 65.23 kB / 0.5375 GB, free: 9.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3554, allocations: 0 / 0.5375 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.3555, allocations: 67.17 kB / 0.5375 GB, free: 9.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.3556, allocations: 77.11 kB / 0.5376 GB, free: 9.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.561e-05/0.3556, allocations: 90.8 kB / 0.5377 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.3556, allocations: 33.83 kB / 0.5377 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.3557, allocations: 85.22 kB / 0.5378 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.3557, allocations: 0 / 0.5378 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.3557, allocations: 11.75 kB / 0.5378 GB, free: 9.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3559, allocations: 315.9 kB / 0.5381 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-06/0.3559, allocations: 0.9688 kB / 0.5381 GB, free: 9.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-06/0.3559, allocations: 0.875 kB / 0.5381 GB, free: 9.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.603e-05/0.356, allocations: 64.11 kB / 0.5382 GB, free: 8.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.356, allocations: 0 / 0.5382 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.527e-05/0.356, allocations: 70.22 kB / 0.5382 GB, free: 8.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.3561, allocations: 34.53 kB / 0.5383 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.3561, allocations: 1.188 kB / 0.5383 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.3561, allocations: 0 / 0.5383 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.3561, allocations: 0 / 0.5383 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.3561, allocations: 0.9688 kB / 0.5383 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.3561, allocations: 5 kB / 0.5383 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.3561, allocations: 0 / 0.5383 GB, free: 8.836 MB / 398.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.388e-05/0.3562, allocations: 141.7 kB / 0.5384 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.3562, allocations: 5.031 kB / 0.5384 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.225e-06/0.3563, allocations: 4.438 kB / 0.5384 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.3563, allocations: 0 / 0.5384 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3563, allocations: 3.984 kB / 0.5384 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.3563, allocations: 78.27 kB / 0.5385 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.3563, allocations: 1.25 kB / 0.5385 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-06/0.3563, allocations: 0 / 0.5385 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.3563, allocations: 5.312 kB / 0.5385 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001091/0.3565, allocations: 203.1 kB / 0.5387 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001174/0.3566, allocations: 231 kB / 0.5389 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.716e-05/0.3566, allocations: 10.33 kB / 0.5389 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.84e-05/0.3566, allocations: 75.28 kB / 0.539 GB, free: 8.039 MB / 398.1 MB Notification: Performance of Backend: time 2.564e-06/0.3567, allocations: 0 / 0.539 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.3582, allocations: 0.5712 MB / 0.5396 GB, free: 7.695 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003019/0.3585, allocations: 0.5867 MB / 0.5401 GB, free: 7.055 MB / 398.1 MB Notification: Performance of Templates: time 0.004815/0.3633, allocations: 2.149 MB / 0.5422 GB, free: 6.062 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches