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.001806/0.001806, allocations: 114.3 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002444/0.002445, allocations: 210.8 kB / 19.42 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.767/2.767, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4203/0.4203, allocations: 46.12 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003141/0.003142, allocations: 71.88 kB / 482 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6958/0.699, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.002838/0.7019, allocations: 0.4947 MB / 0.5321 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004363/0.7063, allocations: 1.138 MB / 0.5332 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.7064, allocations: 1.125 kB / 0.5332 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.7064, allocations: 0 / 0.5332 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.084e-05/0.7065, allocations: 0 / 0.5332 GB, free: 12.4 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.003975/0.7105, allocations: 0.6767 MB / 0.5339 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.497e-05/0.7106, allocations: 0 / 0.5339 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.458e-05/0.7107, allocations: 5.766 kB / 0.5339 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.7107, allocations: 3.938 kB / 0.5339 GB, free: 12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.443e-05/0.7108, allocations: 5.859 kB / 0.5339 GB, free: 12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-06/0.7108, allocations: 4 kB / 0.5339 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007083/0.7179, allocations: 2.444 MB / 0.5363 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.718, allocations: 4 kB / 0.5363 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.718, allocations: 1.156 kB / 0.5363 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.7189, allocations: 365.1 kB / 0.5367 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.7189, allocations: 0 / 0.5367 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.719, allocations: 0 / 0.5367 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.719, allocations: 0 / 0.5367 GB, free: 10.73 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.0007251/0.7197, allocations: 382.2 kB / 0.537 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.65e-05/0.7198, allocations: 8.094 kB / 0.537 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.7199, allocations: 1.438 kB / 0.537 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.72, allocations: 159.1 kB / 0.5372 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.7201, allocations: 8.969 kB / 0.5372 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.7201, allocations: 1.438 kB / 0.5372 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.7203, allocations: 38.97 kB / 0.5372 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7203, allocations: 0 / 0.5372 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.7203, allocations: 5.547 kB / 0.5372 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.7203, allocations: 0 / 0.5372 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.7204, allocations: 1.312 kB / 0.5372 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.7206, allocations: 143.2 kB / 0.5374 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.635e-05/0.7207, allocations: 27.92 kB / 0.5374 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.7207, allocations: 10.17 kB / 0.5374 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.7208, allocations: 0 / 0.5374 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.499e-05/0.7209, allocations: 61.52 kB / 0.5375 GB, free: 9.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.084e-06/0.7209, allocations: 0 / 0.5375 GB, free: 9.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002787/0.7212, allocations: 63.61 kB / 0.5375 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.7212, allocations: 77.11 kB / 0.5376 GB, free: 9.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.7214, allocations: 103.1 kB / 0.5377 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.7214, allocations: 25.7 kB / 0.5377 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.7215, allocations: 80.14 kB / 0.5378 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.7215, allocations: 1.594 kB / 0.5378 GB, free: 9.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.7216, allocations: 15.33 kB / 0.5378 GB, free: 9.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.7218, allocations: 311.9 kB / 0.5381 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.7219, allocations: 0 / 0.5381 GB, free: 9.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.676e-05/0.7219, allocations: 9.438 kB / 0.5381 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.722, allocations: 67.17 kB / 0.5382 GB, free: 8.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.722, allocations: 1.406 kB / 0.5382 GB, free: 8.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001291/0.7222, allocations: 65.27 kB / 0.5383 GB, free: 8.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.279e-05/0.7222, allocations: 31.33 kB / 0.5383 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7223, allocations: 0 / 0.5383 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.7223, allocations: 5.062 kB / 0.5383 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.7223, allocations: 0 / 0.5383 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7223, allocations: 1.625 kB / 0.5383 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.7224, allocations: 0 / 0.5383 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.7224, allocations: 4.031 kB / 0.5383 GB, free: 8.848 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.0001226/0.7225, allocations: 138.2 kB / 0.5384 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.7225, allocations: 5.5 kB / 0.5384 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.7226, allocations: 15.05 kB / 0.5384 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.7226, allocations: 0 / 0.5384 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.7226, allocations: 1.656 kB / 0.5384 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.198e-05/0.7227, allocations: 77.11 kB / 0.5385 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.7228, allocations: 1.156 kB / 0.5385 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.344e-05/0.7228, allocations: 0 / 0.5385 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.7228, allocations: 5.406 kB / 0.5385 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002684/0.7231, allocations: 194.5 kB / 0.5387 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003101/0.7234, allocations: 239.8 kB / 0.5389 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.872e-05/0.7235, allocations: 5.422 kB / 0.5389 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.7236, allocations: 75.28 kB / 0.539 GB, free: 8.051 MB / 398.1 MB Notification: Performance of Backend: time 3.487e-06/0.7236, allocations: 5.375 kB / 0.539 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.7272, allocations: 0.5682 MB / 0.5396 GB, free: 7.703 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005351/0.7278, allocations: 0.5783 MB / 0.5401 GB, free: 7.07 MB / 398.1 MB Notification: Performance of Templates: time 0.01146/0.7393, allocations: 2.152 MB / 0.5422 GB, free: 6.074 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