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.001357/0.001357, allocations: 105.5 kB / 18.45 MB, free: 4.602 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.001561/0.001561, allocations: 184.3 kB / 19.39 MB, free: 3.68 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.416/1.416, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2046/0.2046, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4214, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001648/0.4231, allocations: 0.5006 MB / 0.52 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.4251, allocations: 1.141 MB / 0.5212 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.4251, allocations: 0 / 0.5212 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.4251, allocations: 3.938 kB / 0.5212 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.4251, allocations: 0 / 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.002235/0.4274, allocations: 0.6695 MB / 0.5218 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.856e-05/0.4275, allocations: 3.688 kB / 0.5218 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.4275, allocations: 0 / 0.5218 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.4275, allocations: 5.016 kB / 0.5218 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.035e-05/0.4275, allocations: 5.188 kB / 0.5218 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.4276, allocations: 7.922 kB / 0.5218 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/0.432, allocations: 2.448 MB / 0.5242 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.432, allocations: 5.172 kB / 0.5242 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.432, allocations: 1.312 kB / 0.5242 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.4325, allocations: 348.9 kB / 0.5246 GB, free: 1.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.4326, allocations: 0 / 0.5246 GB, free: 1.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4326, allocations: 3.938 kB / 0.5246 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.4326, allocations: 1.125 kB / 0.5246 GB, free: 1.602 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.0003779/0.433, allocations: 377.4 kB / 0.5249 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.433, allocations: 13.55 kB / 0.5249 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.4331, allocations: 0 / 0.5249 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.332e-05/0.4332, allocations: 171.1 kB / 0.5251 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.4332, allocations: 5.25 kB / 0.5251 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.4332, allocations: 1.156 kB / 0.5251 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.4333, allocations: 40.11 kB / 0.5251 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4333, allocations: 0 / 0.5251 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4334, allocations: 0 / 0.5251 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.4334, allocations: 1.188 kB / 0.5252 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.522e-05/0.4334, allocations: 1.219 kB / 0.5252 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.4336, allocations: 146.7 kB / 0.5253 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.523e-05/0.4337, allocations: 23.73 kB / 0.5253 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.4337, allocations: 6.172 kB / 0.5253 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.4337, allocations: 1.094 kB / 0.5253 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.056e-05/0.4338, allocations: 61.48 kB / 0.5254 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.4338, allocations: 3.938 kB / 0.5254 GB, free: 0.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002946/0.4341, allocations: 63.33 kB / 0.5254 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.4342, allocations: 85.17 kB / 0.5255 GB, free: 468 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.4342, allocations: 89.86 kB / 0.5256 GB, free: 368 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.4342, allocations: 27.2 kB / 0.5256 GB, free: 336 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.4343, allocations: 80.14 kB / 0.5257 GB, free: 252 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.4343, allocations: 4 kB / 0.5257 GB, free: 248 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.4344, allocations: 11.94 kB / 0.5257 GB, free: 232 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4346, allocations: 312.9 kB / 0.526 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.4346, allocations: 3.984 kB / 0.526 GB, free: 15.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.4346, allocations: 6 kB / 0.526 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.721e-05/0.4347, allocations: 62.02 kB / 0.5261 GB, free: 15.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4347, allocations: 1.312 kB / 0.5261 GB, free: 15.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.375e-05/0.4348, allocations: 65.91 kB / 0.5262 GB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.912e-05/0.4349, allocations: 34.31 kB / 0.5262 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4349, allocations: 1.438 kB / 0.5262 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4349, allocations: 0 / 0.5262 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.4349, allocations: 0 / 0.5262 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.4349, allocations: 4.969 kB / 0.5262 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.435, allocations: 8.078 kB / 0.5262 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.435, allocations: 1.594 kB / 0.5262 GB, free: 15.71 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 0.0001165/0.4351, allocations: 133.7 kB / 0.5263 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.4351, allocations: 5.281 kB / 0.5263 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.166e-05/0.4351, allocations: 7.078 kB / 0.5263 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4351, allocations: 0 / 0.5263 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4351, allocations: 1.75 kB / 0.5263 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.4352, allocations: 81.09 kB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.4352, allocations: 1.594 kB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.4352, allocations: 4 kB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.4353, allocations: 0 / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001321/0.4354, allocations: 203.2 kB / 0.5266 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001299/0.4355, allocations: 231.7 kB / 0.5268 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.027e-05/0.4356, allocations: 2.656 kB / 0.5268 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.52e-05/0.4356, allocations: 83.28 kB / 0.5269 GB, free: 14.93 MB / 398.1 MB Notification: Performance of Backend: time 1.9e-07/0.4356, allocations: 0 / 0.5269 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.4373, allocations: 0.5672 MB / 0.5275 GB, free: 14.6 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004153/0.4378, allocations: 0.5913 MB / 0.5281 GB, free: 13.96 MB / 398.1 MB Notification: Performance of Templates: time 0.005812/0.4436, allocations: 2.159 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