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.001321/0.001321, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001308/0.001308, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.334/1.334, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.199/0.199, allocations: 43.53 MB / 314.6 MB, free: 0.5273 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.001582/0.001582, allocations: 70.53 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1047, allocations: 57.79 MB / 441.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001708/0.1065, allocations: 0.4935 MB / 441.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.108, allocations: 1.145 MB / 442.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.108, allocations: 4 kB / 442.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.1081, allocations: 0 / 442.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.99e-06/0.1081, allocations: 0 / 442.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.1099, allocations: 0.6707 MB / 443.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.819e-05/0.1099, allocations: 7.922 kB / 443.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.17e-05/0.11, allocations: 4 kB / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.43e-05/0.11, allocations: 0 / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.583e-05/0.11, allocations: 0 / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.63e-06/0.11, allocations: 0 / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.1122, allocations: 2.453 MB / 446 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.316e-06/0.1122, allocations: 3.938 kB / 446 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.1122, allocations: 0 / 446 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.1126, allocations: 363.5 kB / 446.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1126, allocations: 0 / 446.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1126, allocations: 0 / 446.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1126, allocations: 0 / 446.3 MB, free: 1.781 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.0004399/0.113, allocations: 377 kB / 446.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1131, allocations: 11.89 kB / 446.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.1131, allocations: 7.984 kB / 446.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/0.1132, allocations: 163 kB / 446.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1132, allocations: 3.938 kB / 446.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.1133, allocations: 0 / 446.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.1134, allocations: 37.64 kB / 446.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1134, allocations: 0 / 446.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1134, allocations: 0 / 446.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1134, allocations: 0 / 446.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.1134, allocations: 0 / 446.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001062/0.1135, allocations: 153.7 kB / 447.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.84e-05/0.1136, allocations: 26.45 kB / 447.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.1136, allocations: 8.859 kB / 447.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.1136, allocations: 0 / 447.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.1137, allocations: 60.36 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.1137, allocations: 3.984 kB / 447.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001666/0.1138, allocations: 67.39 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.1139, allocations: 77.11 kB / 447.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.324e-05/0.1139, allocations: 89.86 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.004e-06/0.1139, allocations: 25.7 kB / 447.4 MB, free: 480 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.349e-05/0.1139, allocations: 84.27 kB / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.114, allocations: 3.938 kB / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.114, allocations: 13.72 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.114, allocations: 310.8 kB / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.1141, allocations: 0 / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.1141, allocations: 11.98 kB / 447.8 MB, free: 36 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.764e-05/0.1141, allocations: 60.27 kB / 447.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1141, allocations: 4.062 kB / 447.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.506e-05/0.1142, allocations: 63.34 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.1143, allocations: 33.64 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1143, allocations: 4 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1143, allocations: 3.984 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1143, allocations: 0 / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1143, allocations: 3.938 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.1143, allocations: 3.938 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1143, allocations: 0 / 448 MB, free: 15.83 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 8.597e-05/0.1144, allocations: 151.5 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.1144, allocations: 0 / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.055e-06/0.1145, allocations: 3.125 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1145, allocations: 0 / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.1145, allocations: 0 / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1145, allocations: 3.938 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.817e-05/0.1146, allocations: 153.6 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1146, allocations: 0 / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.1146, allocations: 0 / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1146, allocations: 0 / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.1146, allocations: 0 / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1146, allocations: 4 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1146, allocations: 4 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.844e-05/0.1147, allocations: 90.77 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.1148, allocations: 77.11 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1148, allocations: 4 kB / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.1148, allocations: 0 / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.1148, allocations: 3.938 kB / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.1148, allocations: 4.031 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.676e-05/0.1149, allocations: 79.27 kB / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1149, allocations: 0 / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.1152, allocations: 48 kB / 448.6 MB, free: 15.11 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.001777/0.117, allocations: 0.5181 MB / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.1171, allocations: 67.34 kB / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1171, allocations: 64 / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.334e-05/0.1172, allocations: 59.39 kB / 449.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.1173, allocations: 8.719 kB / 449.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.1175, allocations: 106.7 kB / 449.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1178, allocations: 0.6728 MB / 450 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.1178, allocations: 19.36 kB / 450.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1178, allocations: 0 / 450.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of Templates: time 0.004577/0.1224, allocations: 2.583 MB / 452.6 MB, free: 11.05 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 -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