Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 106.3 kB / 16.64 MB, free: 6.812 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.001991/0.001991, allocations: 190.5 kB / 17.56 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 223.4 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2078/0.2078, allocations: 43.52 MB / 314.3 MB, free: 0.6875 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001588, allocations: 72.91 kB / 382.9 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09881/0.1004, allocations: 57.79 MB / 440.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001704/0.1022, allocations: 0.5543 MB / 441.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1036, allocations: 1.145 MB / 442.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.517e-05/0.1037, allocations: 0 / 442.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.1037, allocations: 0 / 442.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.21e-06/0.1037, allocations: 0 / 442.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.1055, allocations: 0.6425 MB / 443 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.274e-05/0.1056, allocations: 7.984 kB / 443 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.1056, allocations: 4 kB / 443 MB, free: 5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.588e-05/0.1057, allocations: 3.984 kB / 443 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.542e-05/0.1057, allocations: 0 / 443 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-06/0.1057, allocations: 0 / 443 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.108, allocations: 2.605 MB / 445.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-06/0.108, allocations: 0 / 445.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.108, allocations: 4 kB / 445.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.1083, allocations: 295.6 kB / 445.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1083, allocations: 0 / 445.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1083, allocations: 0 / 445.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1083, allocations: 0 / 445.9 MB, free: 2.094 MB / 318.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.0004298/0.1088, allocations: 388.9 kB / 446.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1088, allocations: 11.89 kB / 446.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.1089, allocations: 3.938 kB / 446.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.007e-05/0.1089, allocations: 163 kB / 446.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.109, allocations: 0 / 446.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.109, allocations: 4 kB / 446.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.09e-05/0.1091, allocations: 33.62 kB / 446.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.1091, allocations: 0 / 446.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1091, allocations: 3.984 kB / 446.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1091, allocations: 3.938 kB / 446.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.041e-05/0.1091, allocations: 11.94 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.502e-05/0.1092, allocations: 141.7 kB / 446.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.571e-05/0.1093, allocations: 30.55 kB / 446.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.217e-05/0.1093, allocations: 4.859 kB / 446.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.1093, allocations: 0 / 446.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.1094, allocations: 60.25 kB / 446.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1094, allocations: 0 / 446.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.000178/0.1095, allocations: 63.47 kB / 446.8 MB, free: 1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.1096, allocations: 81.11 kB / 446.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.627e-05/0.1096, allocations: 93.8 kB / 447 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.1096, allocations: 33.64 kB / 447 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.362e-05/0.1097, allocations: 80.14 kB / 447.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.1097, allocations: 0 / 447.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.1097, allocations: 13.7 kB / 447.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.1098, allocations: 319 kB / 447.4 MB, free: 348 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.1098, allocations: 0 / 447.4 MB, free: 348 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-06/0.1098, allocations: 0 / 447.4 MB, free: 348 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.577e-05/0.1099, allocations: 68.27 kB / 447.5 MB, free: 264 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1099, allocations: 0 / 447.5 MB, free: 264 kB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.735e-05/0.1099, allocations: 63.39 kB / 447.5 MB, free: 188 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.11, allocations: 29.7 kB / 447.6 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.11, allocations: 0 / 447.6 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.11, allocations: 0 / 447.6 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.11, allocations: 8.031 kB / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.11, allocations: 0 / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.11, allocations: 7.938 kB / 447.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.11, allocations: 0 / 447.6 MB, free: 136 kB / 318.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.136e-05/0.1101, allocations: 139.5 kB / 447.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.1102, allocations: 7.984 kB / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.023e-05/0.1102, allocations: 3.125 kB / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1102, allocations: 0 / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1102, allocations: 0 / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1102, allocations: 7.938 kB / 447.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.1103, allocations: 141.7 kB / 447.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1103, allocations: 0 / 447.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1103, allocations: 7.938 kB / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1103, allocations: 0 / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1103, allocations: 3.984 kB / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1103, allocations: 3.938 kB / 447.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1103, allocations: 0 / 447.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.688e-05/0.1104, allocations: 94.78 kB / 448 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.1105, allocations: 81.09 kB / 448.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.1105, allocations: 3.938 kB / 448.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-06/0.1105, allocations: 0 / 448.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.1106, allocations: 7.938 kB / 448.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1106, allocations: 0 / 448.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.1106, allocations: 75.28 kB / 448.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1106, allocations: 0 / 448.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003446/0.1109, allocations: 51.98 kB / 448.2 MB, free: 15.41 MB / 334.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.001749/0.1127, allocations: 0.5351 MB / 448.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.445e-05/0.1128, allocations: 55.41 kB / 448.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1128, allocations: 0 / 448.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/0.1129, allocations: 55.41 kB / 448.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.113, allocations: 3.938 kB / 448.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.1132, allocations: 106.8 kB / 449 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.1134, allocations: 0.6806 MB / 449.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.1134, allocations: 11.44 kB / 449.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1134, allocations: 0 / 449.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of Templates: time 0.004797/0.1182, allocations: 2.583 MB / 452.2 MB, free: 11.35 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches