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: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 106.3 kB / 15.98 MB, free: 6.348 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.001334/0.001334, allocations: 189.5 kB / 16.91 MB, free: 6.191 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.723/1.723, allocations: 205.1 MB / 222.8 MB, free: 4.922 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3842/0.3842, allocations: 43.5 MB / 313.6 MB, free: 8.516 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.001572/0.001572, allocations: 63.89 kB / 382.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1283, allocations: 57.78 MB / 440.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001974/0.1303, allocations: 0.562 MB / 440.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.1323, allocations: 1.139 MB / 441.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.646e-05/0.1323, allocations: 4 kB / 441.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.1323, allocations: 0 / 441.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.448e-06/0.1324, allocations: 0 / 441.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.1344, allocations: 0.6395 MB / 442.4 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.489e-05/0.1345, allocations: 3.984 kB / 442.4 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.1346, allocations: 7.984 kB / 442.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.997e-05/0.1346, allocations: 4 kB / 442.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.577e-05/0.1346, allocations: 0 / 442.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.382e-06/0.1346, allocations: 4 kB / 442.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003253/0.1379, allocations: 2.605 MB / 445.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.1379, allocations: 0 / 445.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.1379, allocations: 3.938 kB / 445.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006336/0.1386, allocations: 435.3 kB / 445.5 MB, free: 9.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1386, allocations: 4 kB / 445.5 MB, free: 9.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1386, allocations: 0 / 445.5 MB, free: 9.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1386, allocations: 0 / 445.5 MB, free: 9.52 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.0005188/0.1391, allocations: 384.3 kB / 445.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1392, allocations: 11.89 kB / 445.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.245e-05/0.1392, allocations: 34.56 kB / 445.9 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.1393, allocations: 7.922 kB / 445.9 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.667e-05/0.1394, allocations: 159.1 kB / 446.1 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1394, allocations: 4 kB / 446.1 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1394, allocations: 3.984 kB / 446.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.665e-05/0.1395, allocations: 33.64 kB / 446.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.1395, allocations: 0 / 446.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1395, allocations: 0 / 446.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1395, allocations: 0 / 446.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/0.1396, allocations: 3.938 kB / 446.1 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.1397, allocations: 153.7 kB / 446.3 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.231e-05/0.1398, allocations: 18.58 kB / 446.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.288e-05/0.1398, allocations: 4.859 kB / 446.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.1398, allocations: 8.031 kB / 446.3 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.1398, allocations: 60.27 kB / 446.4 MB, free: 8.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1399, allocations: 3.938 kB / 446.4 MB, free: 8.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001814/0.14, allocations: 67.39 kB / 446.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.1401, allocations: 81.05 kB / 446.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.363e-05/0.1401, allocations: 93.98 kB / 446.6 MB, free: 8.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.1402, allocations: 25.7 kB / 446.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/0.1402, allocations: 80.14 kB / 446.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.1402, allocations: 0 / 446.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.1402, allocations: 13.72 kB / 446.7 MB, free: 8.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1404, allocations: 314.8 kB / 447 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.1404, allocations: 0 / 447 MB, free: 7.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/0.1404, allocations: 11.92 kB / 447 MB, free: 7.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.124e-05/0.1405, allocations: 60.33 kB / 447.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1405, allocations: 4 kB / 447.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.848e-05/0.1405, allocations: 55.41 kB / 447.2 MB, free: 7.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.1406, allocations: 37.3 kB / 447.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1406, allocations: 3.938 kB / 447.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1406, allocations: 3.984 kB / 447.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.1406, allocations: 0 / 447.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1406, allocations: 3.938 kB / 447.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.1406, allocations: 0 / 447.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1407, allocations: 32 / 447.2 MB, free: 7.531 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 8.487e-05/0.1408, allocations: 143.5 kB / 447.3 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.1408, allocations: 0 / 447.3 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.157e-05/0.1408, allocations: 3.125 kB / 447.3 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1408, allocations: 3.938 kB / 447.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1408, allocations: 3.938 kB / 447.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1408, allocations: 4 kB / 447.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.1409, allocations: 145.7 kB / 447.5 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1409, allocations: 0 / 447.5 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1409, allocations: 0 / 447.5 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1409, allocations: 4 kB / 447.5 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.141, allocations: 0 / 447.5 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.141, allocations: 4 kB / 447.5 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.141, allocations: 3.938 kB / 447.5 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.627e-05/0.1411, allocations: 86.83 kB / 447.6 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.1411, allocations: 81.11 kB / 447.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1411, allocations: 0 / 447.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-06/0.1411, allocations: 4.031 kB / 447.7 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.1412, allocations: 3.938 kB / 447.7 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.1412, allocations: 3.984 kB / 447.7 MB, free: 6.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.141e-05/0.1412, allocations: 79.28 kB / 447.8 MB, free: 6.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1412, allocations: 4 kB / 447.8 MB, free: 6.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004007/0.1416, allocations: 47.94 kB / 447.8 MB, free: 6.809 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.002197/0.1438, allocations: 1.074 MB / 448.9 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.395e-05/0.1439, allocations: 59.41 kB / 448.9 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1439, allocations: 0 / 448.9 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.861e-05/0.144, allocations: 63.33 kB / 449 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.1441, allocations: 7.938 kB / 449 MB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.1445, allocations: 138.6 kB / 449.2 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1448, allocations: 0.6729 MB / 449.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.783e-06/0.1448, allocations: 0 / 449.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.1448, allocations: 7.438 kB / 449.8 MB, free: 4.688 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1448, allocations: 0 / 449.8 MB, free: 4.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06155/0.2064, allocations: 2.937 MB / 452.8 MB, free: 1.754 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/0.2067, allocations: 221.8 kB / 453 MB, free: 1.504 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.109, allocations: 0 / 453 MB, free: 1.504 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg.fmu > 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