Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 179.9 kB / 16.08 MB, free: 5.531 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.6 MB / 222.4 MB, free: 13.68 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008032/0.0008032, allocations: 94.23 kB / 270.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1967/0.1967, allocations: 43.68 MB / 362.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003218, allocations: 8 kB / 432.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1207, allocations: 58.86 MB / 491.2 MB, free: 8.152 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0008671/0.1216, allocations: 228.7 kB / 491.4 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003689/0.1253, allocations: 2.28 MB / 493.7 MB, free: 5.363 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.593e-05/0.1253, allocations: 0 / 493.7 MB, free: 5.363 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.1254, allocations: 0 / 493.7 MB, free: 5.363 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.32e-06/0.1254, allocations: 0 / 493.7 MB, free: 5.363 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.1283, allocations: 0.6278 MB / 494.3 MB, free: 4.734 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.819e-05/0.1283, allocations: 7.984 kB / 494.3 MB, free: 4.727 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.1284, allocations: 4 kB / 494.3 MB, free: 4.723 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.637e-05/0.1284, allocations: 0 / 494.3 MB, free: 4.723 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.501e-05/0.1285, allocations: 0 / 494.3 MB, free: 4.723 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.1285, allocations: 3.938 kB / 494.3 MB, free: 4.719 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004828/0.1333, allocations: 2.585 MB / 496.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-06/0.1333, allocations: 0 / 496.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.1334, allocations: 25.7 kB / 496.9 MB, free: 2.098 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008558/0.1343, allocations: 439.2 kB / 497.3 MB, free: 1.668 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1343, allocations: 0 / 497.3 MB, free: 1.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.1343, allocations: 0 / 497.3 MB, free: 1.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1343, allocations: 0 / 497.3 MB, free: 1.668 MB / 330.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.0006323/0.135, allocations: 385 kB / 497.7 MB, free: 1.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.135, allocations: 8.031 kB / 497.7 MB, free: 1.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.1351, allocations: 3.938 kB / 497.7 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1352, allocations: 163.1 kB / 497.9 MB, free: 1.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1353, allocations: 0 / 497.9 MB, free: 1.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.1353, allocations: 3.938 kB / 497.9 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1354, allocations: 25.7 kB / 497.9 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1354, allocations: 4 kB / 497.9 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1355, allocations: 0 / 497.9 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1355, allocations: 0 / 497.9 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.436e-05/0.1355, allocations: 11.92 kB / 497.9 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.1357, allocations: 145.7 kB / 498.1 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.305e-05/0.1358, allocations: 18.61 kB / 498.1 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.1358, allocations: 8.797 kB / 498.1 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.1359, allocations: 3.984 kB / 498.1 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.905e-05/0.1359, allocations: 60.33 kB / 498.2 MB, free: 0.668 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.136, allocations: 4 kB / 498.2 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002075/0.1362, allocations: 63.39 kB / 498.2 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.1363, allocations: 81.11 kB / 498.3 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.1363, allocations: 93.8 kB / 498.4 MB, free: 400 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1364, allocations: 25.7 kB / 498.4 MB, free: 368 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.1364, allocations: 80.14 kB / 498.5 MB, free: 284 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.1364, allocations: 0 / 498.5 MB, free: 284 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.1364, allocations: 0 / 498.5 MB, free: 284 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1366, allocations: 311 kB / 498.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.1366, allocations: 15.92 kB / 498.8 MB, free: 15.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.1366, allocations: 0 / 498.8 MB, free: 15.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.303e-05/0.1367, allocations: 64.27 kB / 498.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1367, allocations: 0 / 498.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.572e-05/0.1368, allocations: 55.41 kB / 498.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.1369, allocations: 33.7 kB / 499 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1369, allocations: 3.984 kB / 499 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1369, allocations: 0 / 499 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.582e-06/0.1369, allocations: 8.031 kB / 499 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.137, allocations: 3.938 kB / 499 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.137, allocations: 3.938 kB / 499 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.137, allocations: 4 kB / 499 MB, free: 15.74 MB / 346.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.1371, allocations: 135.5 kB / 499.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.1371, allocations: 0 / 499.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.649e-06/0.1372, allocations: 3.125 kB / 499.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1372, allocations: 4 kB / 499.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1372, allocations: 0 / 499.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1372, allocations: 7.938 kB / 499.2 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.1373, allocations: 149.7 kB / 499.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1373, allocations: 0 / 499.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.466e-06/0.1374, allocations: 4 kB / 499.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1374, allocations: 0 / 499.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1374, allocations: 4 kB / 499.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1374, allocations: 0 / 499.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1374, allocations: 0 / 499.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.1375, allocations: 98.77 kB / 499.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.1376, allocations: 77.11 kB / 499.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1376, allocations: 0 / 499.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.347e-05/0.1376, allocations: 0 / 499.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.1377, allocations: 3.938 kB / 499.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1377, allocations: 7.984 kB / 499.5 MB, free: 15.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.104e-05/0.1377, allocations: 79.22 kB / 499.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1377, allocations: 0 / 499.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005065/0.1382, allocations: 51.98 kB / 499.6 MB, free: 15.02 MB / 346.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 (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.003056/0.1413, allocations: 0.5754 MB / 0.4885 GB, free: 14.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.1414, allocations: 55.41 kB / 0.4885 GB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1415, allocations: 0 / 0.4885 GB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.54e-05/0.1415, allocations: 59.39 kB / 0.4886 GB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.1417, allocations: 4 kB / 0.4886 GB, free: 14.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.142, allocations: 74.67 kB / 0.4887 GB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1423, allocations: 0.6772 MB / 0.4893 GB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.442e-05/0.1423, allocations: 3.984 kB / 0.4893 GB, free: 13.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.1423, allocations: 7.438 kB / 0.4893 GB, free: 13.55 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1424, allocations: 0 / 0.4893 GB, free: 13.55 MB / 346.7 MB Notification: Performance of Templates: time 0.005853/0.1482, allocations: 2.128 MB / 0.4914 GB, free: 11.43 MB / 346.7 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/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_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches