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.001521/0.001521, allocations: 119.2 kB / 17.08 MB, free: 5.969 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.002127/0.002128, allocations: 193.2 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.328/2.328, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.3663/0.3663, allocations: 43.53 MB / 314.8 MB, free: 444 kB / 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.002609/0.002609, allocations: 73.47 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1624, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.002591/0.165, allocations: 498 kB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003612/0.1687, allocations: 1.156 MB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.1687, allocations: 0 / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.1688, allocations: 0 / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.438e-06/0.1689, allocations: 0 / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.1724, allocations: 0.6768 MB / 0.4908 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.1724, allocations: 0 / 0.4908 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.165e-05/0.1725, allocations: 8 kB / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.1726, allocations: 0 / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.858e-05/0.1726, allocations: 0 / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.913e-06/0.1726, allocations: 0 / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005252/0.1779, allocations: 2.456 MB / 0.4932 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.1779, allocations: 0 / 0.4932 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.178, allocations: 3.984 kB / 0.4932 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007664/0.1787, allocations: 355.5 kB / 0.4935 GB, free: 6.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1788, allocations: 0 / 0.4935 GB, free: 6.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1788, allocations: 4 kB / 0.4935 GB, free: 6.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1788, allocations: 4 kB / 0.4935 GB, free: 6.648 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.0006782/0.1795, allocations: 373 kB / 0.4939 GB, free: 6.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.1796, allocations: 11.89 kB / 0.4939 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.1796, allocations: 3.906 kB / 0.4939 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.1798, allocations: 167.1 kB / 0.4941 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.1799, allocations: 7.938 kB / 0.4941 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.1799, allocations: 0 / 0.4941 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.18, allocations: 33.58 kB / 0.4941 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1801, allocations: 0 / 0.4941 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1801, allocations: 8 kB / 0.4941 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1801, allocations: 0 / 0.4941 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.011e-05/0.1801, allocations: 0 / 0.4941 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.1804, allocations: 157.6 kB / 0.4943 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.1805, allocations: 22.55 kB / 0.4943 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.1805, allocations: 4.859 kB / 0.4943 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.1805, allocations: 0 / 0.4943 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.639e-05/0.1806, allocations: 68.27 kB / 0.4944 GB, free: 5.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.434e-06/0.1806, allocations: 0 / 0.4944 GB, free: 5.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002604/0.1809, allocations: 67.38 kB / 0.4944 GB, free: 5.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.181, allocations: 81.11 kB / 0.4945 GB, free: 5.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/0.1811, allocations: 89.86 kB / 0.4946 GB, free: 5.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1811, allocations: 25.7 kB / 0.4946 GB, free: 5.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.1812, allocations: 80.14 kB / 0.4947 GB, free: 5.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.1812, allocations: 0 / 0.4947 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.1813, allocations: 17.84 kB / 0.4947 GB, free: 5.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1815, allocations: 310.8 kB / 0.495 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.1815, allocations: 0 / 0.495 GB, free: 4.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-06/0.1815, allocations: 0 / 0.495 GB, free: 4.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.608e-05/0.1816, allocations: 72.19 kB / 0.4951 GB, free: 4.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1816, allocations: 0 / 0.4951 GB, free: 4.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001314/0.1818, allocations: 63.34 kB / 0.4951 GB, free: 4.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.1818, allocations: 29.7 kB / 0.4952 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1819, allocations: 4.094 kB / 0.4952 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.1819, allocations: 4 kB / 0.4952 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-06/0.1819, allocations: 3.984 kB / 0.4952 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1819, allocations: 3.938 kB / 0.4952 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.182, allocations: 0 / 0.4952 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.182, allocations: 0 / 0.4952 GB, free: 4.699 MB / 382.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.0001337/0.1821, allocations: 147.4 kB / 0.4953 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.1822, allocations: 0 / 0.4953 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.1822, allocations: 3.125 kB / 0.4953 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1822, allocations: 4 kB / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1822, allocations: 0 / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1822, allocations: 3.984 kB / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.1824, allocations: 153.6 kB / 0.4955 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1824, allocations: 3.938 kB / 0.4955 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/0.1824, allocations: 0 / 0.4955 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1825, allocations: 0 / 0.4955 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1825, allocations: 0 / 0.4955 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1825, allocations: 3.938 kB / 0.4955 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1825, allocations: 0 / 0.4955 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1827, allocations: 98.77 kB / 0.4956 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.1828, allocations: 77.11 kB / 0.4957 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.1828, allocations: 4 kB / 0.4957 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.706e-05/0.1828, allocations: 0 / 0.4957 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.1828, allocations: 0 / 0.4957 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.1829, allocations: 0 / 0.4957 GB, free: 4.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.075e-05/0.1829, allocations: 75.28 kB / 0.4957 GB, free: 4.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1829, allocations: 32 / 0.4957 GB, free: 4.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006065/0.1835, allocations: 55.98 kB / 0.4958 GB, free: 3.973 MB / 382.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.002431/0.186, allocations: 0.5343 MB / 0.4963 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.1862, allocations: 59.34 kB / 0.4964 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.1862, allocations: 4 kB / 0.4964 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.583e-05/0.1863, allocations: 55.39 kB / 0.4964 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.1865, allocations: 7.938 kB / 0.4964 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.1868, allocations: 118.8 kB / 0.4965 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1872, allocations: 0.669 MB / 0.4972 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.1872, allocations: 7.438 kB / 0.4972 GB, free: 2.453 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1872, allocations: 4 kB / 0.4972 GB, free: 2.449 MB / 382.1 MB Notification: Performance of Templates: time 0.008076/0.1953, allocations: 2.587 MB / 0.4997 GB, free: 15.86 MB / 398.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches