Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009143/0.0009144, allocations: 175.3 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007809/0.0007809, allocations: 86.41 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3342/0.3342, allocations: 43.57 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 20 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1085, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0006114/0.1092, allocations: 236.2 kB / 491 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1111, allocations: 1.081 MB / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.1111, allocations: 0 / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.1111, allocations: 0 / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.686e-06/0.1111, allocations: 0 / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.1129, allocations: 0.62 MB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.892e-05/0.1129, allocations: 0 / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.1129, allocations: 0 / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.624e-05/0.113, allocations: 7.938 kB / 492.8 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.533e-05/0.113, allocations: 4 kB / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.16e-06/0.113, allocations: 0 / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.1158, allocations: 2.238 MB / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.1158, allocations: 0 / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.1159, allocations: 29.69 kB / 495 MB, free: 6.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.1162, allocations: 327.5 kB / 495.3 MB, free: 6.102 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1162, allocations: 0 / 495.3 MB, free: 6.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1162, allocations: 4 kB / 495.3 MB, free: 6.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.1163, allocations: 0 / 495.3 MB, free: 6.098 MB / 378.7 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.0003849/0.1166, allocations: 385.5 kB / 495.7 MB, free: 5.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1167, allocations: 12.02 kB / 495.7 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.1167, allocations: 0.9375 kB / 495.7 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.218e-05/0.1168, allocations: 164.4 kB / 495.9 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1169, allocations: 384 / 495.9 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.1169, allocations: 3.938 kB / 495.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.84e-05/0.117, allocations: 33.7 kB / 495.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.117, allocations: 0 / 495.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.117, allocations: 0 / 495.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.117, allocations: 0 / 495.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.602e-05/0.117, allocations: 4 kB / 495.9 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.1171, allocations: 153.5 kB / 496.1 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.797e-05/0.1172, allocations: 26.48 kB / 496.1 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.308e-05/0.1172, allocations: 4.859 kB / 496.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.1172, allocations: 3.984 kB / 496.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.1173, allocations: 64.33 kB / 496.2 MB, free: 5.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.1173, allocations: 4 kB / 496.2 MB, free: 5.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000184/0.1175, allocations: 63.39 kB / 496.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.1175, allocations: 81.05 kB / 496.3 MB, free: 4.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.833e-05/0.1176, allocations: 89.86 kB / 496.4 MB, free: 4.812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.1176, allocations: 25.7 kB / 496.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.327e-05/0.1176, allocations: 80.14 kB / 496.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.1176, allocations: 0 / 496.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-06/0.1177, allocations: 0 / 496.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1178, allocations: 319 kB / 496.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-06/0.1178, allocations: 4 kB / 496.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-06/0.1178, allocations: 0 / 496.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.345e-05/0.1178, allocations: 64.25 kB / 496.9 MB, free: 4.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1178, allocations: 0 / 496.9 MB, free: 4.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.884e-05/0.1179, allocations: 59.34 kB / 497 MB, free: 4.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.1179, allocations: 41.64 kB / 497 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.118, allocations: 0 / 497 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.118, allocations: 3.938 kB / 497 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.118, allocations: 4.094 kB / 497 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/0.118, allocations: 3.984 kB / 497 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.118, allocations: 0 / 497 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.118, allocations: 4 kB / 497 MB, free: 4.164 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.396e-05/0.1181, allocations: 131.5 kB / 497.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.1181, allocations: 7.938 kB / 497.1 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.095e-05/0.1181, allocations: 7.125 kB / 497.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1181, allocations: 0 / 497.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1181, allocations: 0 / 497.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1182, allocations: 4 kB / 497.2 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.388e-05/0.1182, allocations: 153.6 kB / 497.3 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.1183, allocations: 0 / 497.3 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1183, allocations: 0 / 497.3 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1183, allocations: 4 kB / 497.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.1183, allocations: 3.938 kB / 497.3 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.1183, allocations: 0 / 497.3 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1183, allocations: 0 / 497.3 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.947e-05/0.1184, allocations: 102.7 kB / 497.4 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.1184, allocations: 77.11 kB / 497.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.1184, allocations: 0 / 497.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.1184, allocations: 0 / 497.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.1185, allocations: 4 kB / 497.5 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1185, allocations: 4 kB / 497.5 MB, free: 3.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.363e-05/0.1185, allocations: 75.28 kB / 497.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1185, allocations: 0 / 497.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003475/0.1189, allocations: 71.97 kB / 497.6 MB, free: 3.422 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.1203, allocations: 0.4907 MB / 498.1 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.278e-05/0.1204, allocations: 63.39 kB / 498.2 MB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1204, allocations: 0 / 498.2 MB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.1204, allocations: 55.41 kB / 498.3 MB, free: 2.816 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.1206, allocations: 11.88 kB / 498.3 MB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001757/0.1207, allocations: 100.4 kB / 498.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.121, allocations: 0.6732 MB / 499 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-06/0.121, allocations: 19.38 kB / 499.1 MB, free: 1.957 MB / 378.7 MB Notification: Performance of SimCode: time 1.91e-07/0.121, allocations: 0 / 499.1 MB, free: 1.957 MB / 378.7 MB Notification: Performance of Templates: time 0.1755/0.2965, allocations: 2.847 MB / 0.4901 GB, free: 41.73 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches