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: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.322/1.322, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.000749/0.000749, allocations: 89.36 kB / 271.2 MB, free: 8.246 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.36/0.36, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004173, allocations: 12 kB / 432.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1267, allocations: 58.85 MB / 490.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0007021/0.1275, allocations: 232.3 kB / 491.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1294, allocations: 1.081 MB / 492.2 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.1295, allocations: 0 / 492.2 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.1295, allocations: 0 / 492.2 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.352e-06/0.1295, allocations: 0 / 492.2 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.1326, allocations: 0.6315 MB / 492.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.361e-05/0.1326, allocations: 4 kB / 492.9 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.1327, allocations: 4 kB / 492.9 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.641e-05/0.1327, allocations: 0 / 492.9 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.151e-05/0.1327, allocations: 7.875 kB / 492.9 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.1328, allocations: 3.984 kB / 492.9 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/0.136, allocations: 2.238 MB / 495.1 MB, free: 6.605 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.136, allocations: 3.984 kB / 495.1 MB, free: 6.602 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.1361, allocations: 29.7 kB / 495.1 MB, free: 6.566 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007721/0.1369, allocations: 319.5 kB / 495.5 MB, free: 6.254 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.1369, allocations: 4 kB / 495.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1369, allocations: 0 / 495.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1369, allocations: 0 / 495.5 MB, free: 6.25 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.0005206/0.1374, allocations: 389.4 kB / 495.8 MB, free: 5.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1375, allocations: 12.03 kB / 495.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.1375, allocations: 30.75 kB / 495.9 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.1376, allocations: 0.9375 kB / 495.9 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.286e-05/0.1377, allocations: 160.4 kB / 496 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1377, allocations: 8.062 kB / 496 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.1377, allocations: 7.984 kB / 496.1 MB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.1378, allocations: 29.7 kB / 496.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1378, allocations: 0 / 496.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.1378, allocations: 0 / 496.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1378, allocations: 3.984 kB / 496.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.88e-05/0.1379, allocations: 3.938 kB / 496.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.138, allocations: 149.7 kB / 496.2 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.321e-05/0.1381, allocations: 26.44 kB / 496.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.1381, allocations: 12.95 kB / 496.3 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.1381, allocations: 0 / 496.3 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.1382, allocations: 56.27 kB / 496.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1382, allocations: 0 / 496.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001935/0.1384, allocations: 63.41 kB / 496.4 MB, free: 5.121 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.1384, allocations: 81.09 kB / 496.5 MB, free: 5.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.753e-05/0.1385, allocations: 89.86 kB / 496.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1385, allocations: 25.83 kB / 496.6 MB, free: 4.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.1386, allocations: 84.14 kB / 496.7 MB, free: 4.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.1386, allocations: 4 kB / 496.7 MB, free: 4.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1386, allocations: 0 / 496.7 MB, free: 4.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1387, allocations: 314.8 kB / 497 MB, free: 4.488 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.1387, allocations: 4 kB / 497 MB, free: 4.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-06/0.1387, allocations: 0 / 497 MB, free: 4.484 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.36e-05/0.1388, allocations: 60.27 kB / 497 MB, free: 4.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1388, allocations: 4.062 kB / 497 MB, free: 4.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001019/0.1389, allocations: 67.33 kB / 497.1 MB, free: 4.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.139, allocations: 29.7 kB / 497.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.139, allocations: 0 / 497.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.139, allocations: 3.938 kB / 497.1 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.139, allocations: 0 / 497.1 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.139, allocations: 4 kB / 497.1 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/0.1391, allocations: 0 / 497.1 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1391, allocations: 3.938 kB / 497.1 MB, free: 4.281 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 0.0001295/0.1392, allocations: 155.5 kB / 497.3 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.1392, allocations: 0 / 497.3 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.1393, allocations: 3.125 kB / 497.3 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1393, allocations: 0 / 497.3 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1393, allocations: 0 / 497.3 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1393, allocations: 0 / 497.3 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.1394, allocations: 149.6 kB / 497.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1394, allocations: 0 / 497.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-06/0.1394, allocations: 3.984 kB / 497.5 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1394, allocations: 7.938 kB / 497.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1394, allocations: 0 / 497.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1394, allocations: 4 kB / 497.5 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1394, allocations: 0 / 497.5 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.1395, allocations: 94.77 kB / 497.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.1396, allocations: 77.11 kB / 497.6 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1396, allocations: 0 / 497.6 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.303e-05/0.1396, allocations: 4 kB / 497.6 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.1396, allocations: 3.938 kB / 497.6 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1397, allocations: 4.031 kB / 497.6 MB, free: 3.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.606e-05/0.1397, allocations: 75.28 kB / 497.7 MB, free: 3.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1397, allocations: 0 / 497.7 MB, free: 3.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004145/0.1401, allocations: 71.98 kB / 497.8 MB, free: 3.531 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.001942/0.1421, allocations: 1.012 MB / 498.8 MB, free: 2.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.1422, allocations: 59.41 kB / 498.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1422, allocations: 0 / 498.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.987e-05/0.1423, allocations: 63.28 kB / 498.9 MB, free: 2.367 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.1424, allocations: 7.984 kB / 498.9 MB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.1428, allocations: 166 kB / 499.1 MB, free: 2.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.1431, allocations: 0.673 MB / 499.8 MB, free: 1.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.1431, allocations: 7.438 kB / 499.8 MB, free: 1.441 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1431, allocations: 4.125 kB / 499.8 MB, free: 1.438 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.451/4.594, allocations: 2.989 MB / 0.491 GB, free: 41.88 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestColorMapToSvg_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestColorMapToSvg.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches