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.001121/0.001121, allocations: 112.1 kB / 17.04 MB, free: 5.812 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.001061/0.001061, allocations: 195 kB / 17.97 MB, free: 5.027 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.479/1.479, 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.2147/0.2147, allocations: 43.52 MB / 314.7 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.001457/0.001457, allocations: 67.72 kB / 384.2 MB, free: 56.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1169, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001741/0.1187, allocations: 494.7 kB / 442.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1203, allocations: 1.148 MB / 443.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.1204, allocations: 0 / 443.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.1204, allocations: 7.938 kB / 443.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.1204, allocations: 4 kB / 443.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.1221, allocations: 0.6786 MB / 444.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.23e-05/0.1222, allocations: 0 / 444.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.1222, allocations: 0 / 444.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.73e-05/0.1223, allocations: 0 / 444.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.878e-05/0.1223, allocations: 4 kB / 444.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.683e-06/0.1223, allocations: 0 / 444.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.1244, allocations: 2.452 MB / 446.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.216e-06/0.1245, allocations: 0 / 446.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.1245, allocations: 7.938 kB / 446.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.1249, allocations: 351.5 kB / 447.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1249, allocations: 8 kB / 447.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1249, allocations: 3.938 kB / 447.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1249, allocations: 0 / 447.1 MB, free: 1.027 MB / 318.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.0003453/0.1252, allocations: 376.9 kB / 447.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1253, allocations: 11.89 kB / 447.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.1253, allocations: 0 / 447.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.807e-05/0.1254, allocations: 163.1 kB / 447.6 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1254, allocations: 3.938 kB / 447.6 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.1254, allocations: 7.984 kB / 447.7 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.509e-05/0.1255, allocations: 33.64 kB / 447.7 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1255, allocations: 0 / 447.7 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1256, allocations: 0 / 447.7 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1256, allocations: 0 / 447.7 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.1256, allocations: 4 kB / 447.7 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.434e-05/0.1257, allocations: 141.7 kB / 447.8 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.485e-05/0.1257, allocations: 30.53 kB / 447.9 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.1257, allocations: 8.859 kB / 447.9 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-06/0.1258, allocations: 4 kB / 447.9 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.1258, allocations: 56.27 kB / 447.9 MB, free: 28 kB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1258, allocations: 3.938 kB / 447.9 MB, free: 24 kB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002063/0.126, allocations: 59.47 kB / 448 MB, free: 15.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.1261, allocations: 81.09 kB / 448.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.892e-05/0.1261, allocations: 93.86 kB / 448.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1262, allocations: 25.7 kB / 448.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.1262, allocations: 88.27 kB / 448.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.1262, allocations: 0 / 448.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.1262, allocations: 9.719 kB / 448.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1263, allocations: 314.8 kB / 448.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.1264, allocations: 0 / 448.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/0.1264, allocations: 0 / 448.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/0.1264, allocations: 64.2 kB / 448.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1264, allocations: 0 / 448.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.645e-05/0.1265, allocations: 79.39 kB / 448.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.1265, allocations: 30.8 kB / 448.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1266, allocations: 3.938 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1266, allocations: 0 / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.1266, allocations: 0 / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1266, allocations: 0 / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.1266, allocations: 7.938 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1266, allocations: 0 / 448.8 MB, free: 15.09 MB / 334.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 0.0001004/0.1267, allocations: 143.4 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.1267, allocations: 8.031 kB / 448.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.264e-06/0.1268, allocations: 3.125 kB / 448.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1268, allocations: 7.922 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1268, allocations: 0 / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1268, allocations: 0 / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.432e-05/0.1269, allocations: 153.6 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1269, allocations: 4 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-06/0.1269, allocations: 0 / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.1269, allocations: 3.938 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1269, allocations: 0 / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1269, allocations: 4 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1269, allocations: 0 / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.296e-05/0.127, allocations: 98.75 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.1271, allocations: 77.11 kB / 449.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.1271, allocations: 0 / 449.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-06/0.1271, allocations: 0 / 449.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-06/0.1271, allocations: 4 kB / 449.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.1271, allocations: 0 / 449.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.268e-05/0.1271, allocations: 79.34 kB / 449.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1271, allocations: 0 / 449.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.1274, allocations: 51.98 kB / 449.4 MB, free: 14.36 MB / 334.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.001277/0.1287, allocations: 0.5257 MB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.843e-05/0.1288, allocations: 63.34 kB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1288, allocations: 0 / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.297e-05/0.1289, allocations: 55.41 kB / 450 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.129, allocations: 12.06 kB / 450 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001851/0.1292, allocations: 77.06 kB / 450.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.1295, allocations: 0.6767 MB / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.962e-06/0.1295, allocations: 0 / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.034e-05/0.1295, allocations: 7.438 kB / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1295, allocations: 0 / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of Templates: time 0.005075/0.1346, allocations: 2.149 MB / 453 MB, free: 10.77 MB / 334.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 -s gbode -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