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.001244/0.001243, allocations: 104.9 kB / 16.4 MB, free: 6.492 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.001271/0.001271, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.327/1.327, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.202/0.202, allocations: 43.52 MB / 314.1 MB, free: 480 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.001933/0.001933, allocations: 68.47 kB / 441.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1181, allocations: 57.8 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001636/0.1198, allocations: 494.8 kB / 499.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1216, allocations: 1.15 MB / 0.489 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.1216, allocations: 0 / 0.489 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.067e-05/0.1216, allocations: 0 / 0.489 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.119e-06/0.1217, allocations: 0 / 0.489 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.1236, allocations: 0.6769 MB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.895e-05/0.1237, allocations: 4 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.1237, allocations: 8 kB / 0.4897 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.315e-05/0.1237, allocations: 0 / 0.4897 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.538e-05/0.1238, allocations: 0 / 0.4897 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.771e-06/0.1238, allocations: 0 / 0.4897 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.1268, allocations: 2.453 MB / 0.492 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.1268, allocations: 0 / 0.492 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.1269, allocations: 11.94 kB / 0.4921 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.1274, allocations: 351.5 kB / 0.4924 GB, free: 7.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1274, allocations: 4 kB / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1274, allocations: 0 / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1274, allocations: 3.938 kB / 0.4924 GB, free: 7.188 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.0004754/0.1279, allocations: 380.9 kB / 0.4928 GB, free: 6.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.128, allocations: 11.89 kB / 0.4928 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.128, allocations: 30.56 kB / 0.4928 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.128, allocations: 4 kB / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.3e-05/0.1281, allocations: 171 kB / 0.493 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1282, allocations: 7.938 kB / 0.493 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.1282, allocations: 0 / 0.493 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.138e-05/0.1283, allocations: 29.7 kB / 0.493 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.1283, allocations: 0 / 0.493 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.1283, allocations: 0 / 0.493 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1283, allocations: 0 / 0.493 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.1283, allocations: 0 / 0.493 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.1285, allocations: 153.6 kB / 0.4932 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.003e-05/0.1285, allocations: 26.5 kB / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.1286, allocations: 4.859 kB / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.1286, allocations: 96 / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.1286, allocations: 60.27 kB / 0.4932 GB, free: 6.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1286, allocations: 0 / 0.4932 GB, free: 6.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001733/0.1288, allocations: 63.41 kB / 0.4933 GB, free: 6.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.1289, allocations: 81.09 kB / 0.4934 GB, free: 5.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.946e-05/0.1289, allocations: 93.98 kB / 0.4935 GB, free: 5.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.1289, allocations: 29.64 kB / 0.4935 GB, free: 5.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.129, allocations: 80.14 kB / 0.4936 GB, free: 5.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.129, allocations: 0 / 0.4936 GB, free: 5.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.129, allocations: 17.72 kB / 0.4936 GB, free: 5.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1291, allocations: 310.8 kB / 0.4939 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.036e-06/0.1292, allocations: 0 / 0.4939 GB, free: 5.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/0.1292, allocations: 4 kB / 0.4939 GB, free: 5.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.145e-05/0.1292, allocations: 60.33 kB / 0.494 GB, free: 5.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.1292, allocations: 7.922 kB / 0.494 GB, free: 5.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.583e-05/0.1293, allocations: 63.41 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.1294, allocations: 33.7 kB / 0.4941 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1294, allocations: 3.938 kB / 0.4941 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1294, allocations: 3.984 kB / 0.4941 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-06/0.1294, allocations: 3.938 kB / 0.4941 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.1294, allocations: 0 / 0.4941 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.1294, allocations: 0 / 0.4941 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1294, allocations: 8.031 kB / 0.4941 GB, free: 5.195 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 9.496e-05/0.1295, allocations: 147.4 kB / 0.4942 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-06/0.1296, allocations: 0 / 0.4942 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.184e-05/0.1296, allocations: 3.125 kB / 0.4942 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1296, allocations: 3.938 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1296, allocations: 0 / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1296, allocations: 4 kB / 0.4942 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.1297, allocations: 149.6 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1297, allocations: 0 / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-06/0.1297, allocations: 0 / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1297, allocations: 4 kB / 0.4944 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1297, allocations: 3.984 kB / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1297, allocations: 4 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1298, allocations: 0 / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.833e-05/0.1298, allocations: 90.77 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.1299, allocations: 77.11 kB / 0.4945 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.1299, allocations: 11.94 kB / 0.4945 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.1299, allocations: 4.031 kB / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.1299, allocations: 0 / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.13, allocations: 0 / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.279e-05/0.13, allocations: 75.28 kB / 0.4946 GB, free: 4.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.13, allocations: 0 / 0.4946 GB, free: 4.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.1303, allocations: 51.98 kB / 0.4947 GB, free: 4.469 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.001576/0.1319, allocations: 1.058 MB / 0.4957 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.662e-05/0.132, allocations: 63.34 kB / 0.4958 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.132, allocations: 0 / 0.4958 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.1321, allocations: 55.41 kB / 0.4958 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.1322, allocations: 4 kB / 0.4958 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.1326, allocations: 146.5 kB / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.1328, allocations: 0.673 MB / 0.4966 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.24e-06/0.1328, allocations: 0 / 0.4966 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.1329, allocations: 7.438 kB / 0.4966 GB, free: 2.363 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.1329, allocations: 0 / 0.4966 GB, free: 2.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.1534, allocations: 3.055 MB / 0.4996 GB, free: 15.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/7.924, allocations: 7.938 kB / 0.4996 GB, free: 15.29 MB / 398.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","/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