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.0009226/0.0009226, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009852/0.0009854, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.63/1.63, allocations: 205.4 MB / 223.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3632/0.3632, allocations: 43.58 MB / 315 MB, free: 8.957 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.0005213/0.0005212, allocations: 19.98 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1305, allocations: 58.86 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0006997/0.1312, allocations: 228.4 kB / 443.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.1333, allocations: 1.182 MB / 444.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.173e-05/0.1333, allocations: 4 kB / 444.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.1334, allocations: 4 kB / 444.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.971e-06/0.1334, allocations: 0 / 444.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.1359, allocations: 0.6239 MB / 445.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.19e-05/0.1359, allocations: 4 kB / 445.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.136, allocations: 3.984 kB / 445.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.701e-05/0.136, allocations: 0 / 445.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.715e-05/0.136, allocations: 0 / 445.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.332e-06/0.136, allocations: 0 / 445.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.1391, allocations: 2.593 MB / 448.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.1392, allocations: 4 kB / 448.1 MB, free: 8.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.1392, allocations: 25.7 kB / 448.1 MB, free: 8.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005466/0.1398, allocations: 431.2 kB / 448.5 MB, free: 7.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1398, allocations: 0 / 448.5 MB, free: 7.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1398, allocations: 0 / 448.5 MB, free: 7.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1398, allocations: 0 / 448.5 MB, free: 7.82 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.0004364/0.1402, allocations: 385 kB / 448.9 MB, free: 7.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1403, allocations: 12.03 kB / 448.9 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.1403, allocations: 3.938 kB / 448.9 MB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1404, allocations: 159.1 kB / 449.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1404, allocations: 0 / 449.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.1405, allocations: 0 / 449.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.645e-05/0.1406, allocations: 37.64 kB / 449.1 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1406, allocations: 4 kB / 449.1 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1406, allocations: 0 / 449.1 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1406, allocations: 0 / 449.1 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.1406, allocations: 7.922 kB / 449.1 MB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.1408, allocations: 153.6 kB / 449.3 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.1408, allocations: 14.58 kB / 449.3 MB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.1409, allocations: 12.95 kB / 449.3 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.1409, allocations: 3.938 kB / 449.3 MB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.1409, allocations: 60.2 kB / 449.4 MB, free: 6.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1409, allocations: 0 / 449.4 MB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001771/0.1411, allocations: 67.39 kB / 449.4 MB, free: 6.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1412, allocations: 77.11 kB / 449.5 MB, free: 6.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.9e-05/0.1412, allocations: 93.8 kB / 449.6 MB, free: 6.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1412, allocations: 25.7 kB / 449.6 MB, free: 6.504 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.501e-05/0.1413, allocations: 84.27 kB / 449.7 MB, free: 6.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1413, allocations: 7.984 kB / 449.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.1413, allocations: 9.719 kB / 449.7 MB, free: 6.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1414, allocations: 318.8 kB / 450 MB, free: 6.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.1415, allocations: 0 / 450 MB, free: 6.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.1415, allocations: 3.938 kB / 450 MB, free: 6.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.1415, allocations: 60.27 kB / 450.1 MB, free: 5.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1415, allocations: 0 / 450.1 MB, free: 5.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.833e-05/0.1416, allocations: 63.47 kB / 450.2 MB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.1416, allocations: 33.69 kB / 450.2 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1417, allocations: 0 / 450.2 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1417, allocations: 0 / 450.2 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.1417, allocations: 7.938 kB / 450.2 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1417, allocations: 0 / 450.2 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.1417, allocations: 3.938 kB / 450.2 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1417, allocations: 0 / 450.2 MB, free: 5.871 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 0.0001466/0.1419, allocations: 139.5 kB / 450.3 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-06/0.1419, allocations: 4.031 kB / 450.3 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.413e-05/0.1419, allocations: 3.125 kB / 450.3 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1419, allocations: 3.984 kB / 450.3 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1419, allocations: 3.938 kB / 450.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1419, allocations: 7.922 kB / 450.4 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.1421, allocations: 145.7 kB / 450.5 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1421, allocations: 0 / 450.5 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.1421, allocations: 0 / 450.5 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1421, allocations: 0 / 450.5 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1421, allocations: 0 / 450.5 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1421, allocations: 4 kB / 450.5 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1421, allocations: 0 / 450.5 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.434e-05/0.1422, allocations: 94.77 kB / 450.6 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.1422, allocations: 77.11 kB / 450.7 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.1423, allocations: 4 kB / 450.7 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.1423, allocations: 0 / 450.7 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.1423, allocations: 7.922 kB / 450.7 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.1423, allocations: 32 / 450.7 MB, free: 5.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.804e-05/0.1423, allocations: 87.22 kB / 450.8 MB, free: 5.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1423, allocations: 0 / 450.8 MB, free: 5.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.1427, allocations: 51.98 kB / 450.8 MB, free: 5.141 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.001788/0.1444, allocations: 0.5374 MB / 451.4 MB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.536e-05/0.1446, allocations: 59.39 kB / 451.4 MB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1446, allocations: 0 / 451.4 MB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.1446, allocations: 59.47 kB / 451.5 MB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.1447, allocations: 8 kB / 451.5 MB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.145, allocations: 70.77 kB / 451.5 MB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1453, allocations: 0.677 MB / 452.2 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.382e-06/0.1453, allocations: 0 / 452.2 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.478e-05/0.1453, allocations: 7.438 kB / 452.2 MB, free: 3.656 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1453, allocations: 0 / 452.2 MB, free: 3.656 MB / 382.1 MB Notification: Performance of Templates: time 0.005859/0.1512, allocations: 2.125 MB / 454.4 MB, free: 1.527 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/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