Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 112.8 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 187.1 kB / 19.39 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2109/0.2109, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3215, allocations: 60.83 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.00147/0.323, allocations: 497.8 kB / 0.52 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3247, allocations: 1.149 MB / 0.5212 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.3247, allocations: 0 / 0.5212 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.3248, allocations: 0 / 0.5212 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.3248, allocations: 1.188 kB / 0.5212 GB, free: 2.551 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.001945/0.3267, allocations: 0.6808 MB / 0.5218 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.054e-05/0.3268, allocations: 1.188 kB / 0.5218 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.3268, allocations: 1.641 kB / 0.5218 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.653e-05/0.3268, allocations: 5.125 kB / 0.5218 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.608e-05/0.3269, allocations: 0 / 0.5218 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-06/0.3269, allocations: 4.875 kB / 0.5218 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.3302, allocations: 2.454 MB / 0.5242 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-06/0.3302, allocations: 0 / 0.5242 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.3302, allocations: 1.375 kB / 0.5242 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.3306, allocations: 356.5 kB / 0.5246 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3306, allocations: 1.375 kB / 0.5246 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3306, allocations: 3.938 kB / 0.5246 GB, free: 1.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3306, allocations: 0 / 0.5246 GB, free: 1.605 MB / 382.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.0003026/0.3309, allocations: 386.4 kB / 0.5249 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.331, allocations: 8.25 kB / 0.525 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.331, allocations: 0 / 0.525 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.225e-05/0.3311, allocations: 160.5 kB / 0.5251 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3311, allocations: 3.938 kB / 0.5251 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.3311, allocations: 1.375 kB / 0.5251 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.229e-05/0.3312, allocations: 35.06 kB / 0.5251 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.3312, allocations: 1.375 kB / 0.5251 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.3312, allocations: 0 / 0.5251 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3312, allocations: 4 kB / 0.5252 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.3312, allocations: 5.312 kB / 0.5252 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.284e-05/0.3313, allocations: 147.1 kB / 0.5253 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.864e-05/0.3314, allocations: 21.27 kB / 0.5253 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.216e-05/0.3314, allocations: 4.859 kB / 0.5253 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.3314, allocations: 1.375 kB / 0.5253 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.3314, allocations: 61.62 kB / 0.5254 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.3314, allocations: 4 kB / 0.5254 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001542/0.3316, allocations: 66.22 kB / 0.5254 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.3316, allocations: 82.42 kB / 0.5255 GB, free: 480 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.415e-05/0.3317, allocations: 89.86 kB / 0.5256 GB, free: 380 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.3317, allocations: 25.7 kB / 0.5256 GB, free: 348 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.135e-05/0.3317, allocations: 81.52 kB / 0.5257 GB, free: 264 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.3317, allocations: 0 / 0.5257 GB, free: 264 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.3317, allocations: 16.45 kB / 0.5257 GB, free: 244 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.3318, allocations: 315 kB / 0.526 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.3318, allocations: 1.375 kB / 0.526 GB, free: 15.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.3318, allocations: 1.375 kB / 0.526 GB, free: 15.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.233e-05/0.3319, allocations: 63.02 kB / 0.5261 GB, free: 15.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3319, allocations: 0 / 0.5261 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.471e-05/0.332, allocations: 70.14 kB / 0.5262 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.332, allocations: 33.55 kB / 0.5262 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.332, allocations: 0 / 0.5262 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.332, allocations: 5.469 kB / 0.5262 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.332, allocations: 0 / 0.5262 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3321, allocations: 3.938 kB / 0.5262 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.3321, allocations: 1.375 kB / 0.5262 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3321, allocations: 0 / 0.5262 GB, free: 15.73 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.193e-05/0.3322, allocations: 138.3 kB / 0.5263 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.3322, allocations: 13.25 kB / 0.5263 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.438e-06/0.3322, allocations: 7.078 kB / 0.5264 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3322, allocations: 0 / 0.5264 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3322, allocations: 9.375 kB / 0.5264 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.3323, allocations: 81.09 kB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.3323, allocations: 1.375 kB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-06/0.3323, allocations: 0 / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.3323, allocations: 1.375 kB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001188/0.3324, allocations: 207.6 kB / 0.5266 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001337/0.3326, allocations: 237.9 kB / 0.5269 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.516e-05/0.3326, allocations: 2.656 kB / 0.5269 GB, free: 15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.074e-05/0.3326, allocations: 75.28 kB / 0.5269 GB, free: 14.93 MB / 398.1 MB Notification: Performance of Backend: time 2.7e-07/0.3326, allocations: 0 / 0.5269 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.3342, allocations: 0.5733 MB / 0.5275 GB, free: 14.59 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003179/0.3345, allocations: 0.5782 MB / 0.5281 GB, free: 13.96 MB / 398.1 MB Notification: Performance of Templates: time 0.005042/0.3396, allocations: 2.156 MB / 0.5302 GB, free: 12.96 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches