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: 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001167, allocations: 112.6 kB / 17.09 MB, free: 5.988 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.001045/0.001045, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.475/1.475, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.213/0.213, allocations: 43.53 MB / 314.8 MB, free: 448 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.00168/0.00168, allocations: 69.92 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1224, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001987/0.1244, allocations: 498.9 kB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.1265, allocations: 1.149 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.1266, allocations: 0 / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.1266, allocations: 0 / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.1266, allocations: 0 / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.1291, allocations: 0.6691 MB / 0.4908 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.699e-05/0.1292, allocations: 11.98 kB / 0.4908 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.1292, allocations: 4 kB / 0.4908 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.429e-05/0.1292, allocations: 0 / 0.4908 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.671e-05/0.1293, allocations: 4 kB / 0.4908 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-06/0.1293, allocations: 0 / 0.4908 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/0.1328, allocations: 2.448 MB / 0.4932 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1329, allocations: 4 kB / 0.4932 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.1329, allocations: 4 kB / 0.4932 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.1335, allocations: 359.5 kB / 0.4935 GB, free: 6.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1336, allocations: 0 / 0.4935 GB, free: 6.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1336, allocations: 0 / 0.4935 GB, free: 6.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1336, allocations: 0 / 0.4935 GB, free: 6.66 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.0005987/0.1342, allocations: 380.4 kB / 0.4939 GB, free: 6.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.92e-05/0.1343, allocations: 15.89 kB / 0.4939 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.1343, allocations: 3.906 kB / 0.4939 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1345, allocations: 167.1 kB / 0.4941 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1345, allocations: 3.938 kB / 0.4941 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.1345, allocations: 7.922 kB / 0.4941 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1346, allocations: 33.69 kB / 0.4941 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1346, allocations: 0 / 0.4941 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1347, allocations: 0 / 0.4941 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1347, allocations: 0 / 0.4941 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.108e-05/0.1347, allocations: 0 / 0.4941 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.1349, allocations: 153.6 kB / 0.4943 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.114e-05/0.1349, allocations: 22.52 kB / 0.4943 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.135, allocations: 12.88 kB / 0.4943 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.135, allocations: 4 kB / 0.4943 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/0.135, allocations: 56.27 kB / 0.4944 GB, free: 5.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.135, allocations: 0 / 0.4944 GB, free: 5.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001992/0.1353, allocations: 63.41 kB / 0.4944 GB, free: 5.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.1353, allocations: 81.22 kB / 0.4945 GB, free: 5.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.572e-05/0.1354, allocations: 93.86 kB / 0.4946 GB, free: 5.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1354, allocations: 25.7 kB / 0.4946 GB, free: 5.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.1354, allocations: 80.14 kB / 0.4947 GB, free: 5.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.1354, allocations: 0 / 0.4947 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.1355, allocations: 13.72 kB / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1356, allocations: 314.8 kB / 0.495 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.1356, allocations: 3.938 kB / 0.495 GB, free: 4.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.1356, allocations: 4 kB / 0.495 GB, free: 4.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.1357, allocations: 64.33 kB / 0.4951 GB, free: 4.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1357, allocations: 4 kB / 0.4951 GB, free: 4.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.937e-05/0.1358, allocations: 63.33 kB / 0.4951 GB, free: 4.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.07e-05/0.1358, allocations: 37.7 kB / 0.4952 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1358, allocations: 3.984 kB / 0.4952 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1359, allocations: 0 / 0.4952 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.1359, allocations: 3.938 kB / 0.4952 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1359, allocations: 0 / 0.4952 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.56e-05/0.1359, allocations: 4.031 kB / 0.4952 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.1359, allocations: 0 / 0.4952 GB, free: 4.703 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.441e-05/0.136, allocations: 147.4 kB / 0.4953 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.136, allocations: 3.938 kB / 0.4953 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.145e-05/0.1361, allocations: 3.125 kB / 0.4953 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1361, allocations: 0 / 0.4953 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1361, allocations: 4 kB / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.1361, allocations: 81.05 kB / 0.4954 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1361, allocations: 0 / 0.4954 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.1361, allocations: 4 kB / 0.4954 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.1362, allocations: 0 / 0.4954 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001247/0.1363, allocations: 202 kB / 0.4956 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001456/0.1364, allocations: 236.5 kB / 0.4958 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.881e-05/0.1365, allocations: 4 kB / 0.4958 GB, free: 3.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.336e-05/0.1365, allocations: 75.28 kB / 0.4959 GB, free: 3.875 MB / 382.1 MB Notification: Performance of Backend: time 4.31e-07/0.1365, allocations: 4.062 kB / 0.4959 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.1382, allocations: 0.5567 MB / 0.4965 GB, free: 3.32 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003965/0.1386, allocations: 0.5833 MB / 0.497 GB, free: 2.676 MB / 382.1 MB Notification: Performance of Templates: time 0.005435/0.144, allocations: 2.16 MB / 0.4991 GB, free: 0.5117 MB / 382.1 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/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