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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 88.2 kB / 20.94 MB, free: 3.609 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8797/0.8797, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1363/0.1363, allocations: 32.38 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 347.6 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.181e-05, allocations: 6.25 kB / 347.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001309/0.001331, allocations: 0.5219 MB / 348.2 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007791/0.009122, allocations: 1.143 MB / 349.3 MB, free: 8.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.009162, allocations: 0 / 349.3 MB, free: 8.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.009179, allocations: 0 / 349.3 MB, free: 8.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.009185, allocations: 0 / 349.3 MB, free: 8.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.01075, allocations: 0.7393 MB / 350 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.0108, allocations: 4 kB / 350.1 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.259e-05/0.01083, allocations: 0 / 350.1 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.563e-05/0.01085, allocations: 3.984 kB / 350.1 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.763e-05/0.01087, allocations: 4 kB / 350.1 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.792e-06/0.01088, allocations: 0 / 350.1 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005171/0.01605, allocations: 2.466 MB / 352.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.263e-06/0.01606, allocations: 0 / 352.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.01608, allocations: 0 / 352.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.01643, allocations: 375.2 kB / 352.9 MB, free: 4.555 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01643, allocations: 0 / 352.9 MB, free: 4.555 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01643, allocations: 0 / 352.9 MB, free: 4.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.01643, allocations: 0 / 352.9 MB, free: 4.555 MB / 282.7 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.0002851/0.01672, allocations: 409.5 kB / 353.3 MB, free: 4.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.01675, allocations: 8.031 kB / 353.3 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.01679, allocations: 3.984 kB / 353.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.591e-05/0.01684, allocations: 112 kB / 353.4 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.01685, allocations: 11.92 kB / 353.4 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.01685, allocations: 0 / 353.4 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.422e-05/0.01693, allocations: 59.34 kB / 353.5 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.01694, allocations: 0 / 353.5 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.01694, allocations: 0 / 353.5 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.01695, allocations: 0 / 353.5 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.328e-05/0.01696, allocations: 25.7 kB / 353.5 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.29e-05/0.01704, allocations: 116.6 kB / 353.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.408e-05/0.01707, allocations: 56.73 kB / 353.7 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.01709, allocations: 33.39 kB / 353.7 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-06/0.01709, allocations: 4 kB / 353.7 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.01712, allocations: 59.09 kB / 353.8 MB, free: 3.508 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.01712, allocations: 4.062 kB / 353.8 MB, free: 3.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.003188/0.0203, allocations: 122.7 kB / 353.9 MB, free: 3.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.02033, allocations: 81.05 kB / 354 MB, free: 3.262 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.361e-05/0.02036, allocations: 142.2 kB / 354.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.02036, allocations: 25.7 kB / 354.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.145e-05/0.02037, allocations: 126.9 kB / 354.3 MB, free: 2.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.02039, allocations: 0 / 354.3 MB, free: 2.949 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.02042, allocations: 19.38 kB / 354.3 MB, free: 2.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.261e-05/0.02046, allocations: 0.4885 MB / 354.8 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.02047, allocations: 33.7 kB / 354.8 MB, free: 2.383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-06/0.02048, allocations: 25.7 kB / 354.8 MB, free: 2.352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.624e-05/0.02052, allocations: 63.09 kB / 354.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.02052, allocations: 0 / 354.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.407e-05/0.02058, allocations: 89.09 kB / 355 MB, free: 2.168 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.0206, allocations: 29.7 kB / 355 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.0206, allocations: 7.875 kB / 355 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.02062, allocations: 0 / 355 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.02062, allocations: 96 / 355 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.02062, allocations: 4 kB / 355 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.376e-05/0.02064, allocations: 8.344 kB / 355 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.02064, allocations: 4 kB / 355 MB, free: 2.109 MB / 282.7 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 4.276e-05/0.02068, allocations: 190.3 kB / 355.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-06/0.02069, allocations: 0 / 355.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.938e-06/0.0207, allocations: 6.938 kB / 355.2 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.0207, allocations: 3.938 kB / 355.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.02071, allocations: 0 / 355.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.02071, allocations: 0 / 355.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.788e-05/0.02075, allocations: 112.6 kB / 355.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.02075, allocations: 4 kB / 355.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.02075, allocations: 0 / 355.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.02075, allocations: 0 / 355.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.02076, allocations: 0 / 355.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.02076, allocations: 3.938 kB / 355.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.02076, allocations: 7.984 kB / 355.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.088e-05/0.02082, allocations: 127.8 kB / 355.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-06/0.02082, allocations: 3.984 kB / 355.5 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.02084, allocations: 0 / 355.5 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-06/0.02084, allocations: 7.938 kB / 355.5 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.03e-05/0.02085, allocations: 4.031 kB / 355.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.02086, allocations: 0 / 355.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.231e-05/0.02087, allocations: 123.2 kB / 355.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02087, allocations: 0 / 355.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.02115, allocations: 51.8 kB / 355.7 MB, free: 1.383 MB / 282.7 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.001251/0.02241, allocations: 0.5736 MB / 356.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.02251, allocations: 114.5 kB / 356.3 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.02251, allocations: 0 / 356.3 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.924e-05/0.02254, allocations: 96.86 kB / 356.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.02266, allocations: 7.984 kB / 356.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001654/0.02283, allocations: 117.5 kB / 356.6 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.224e-05/0.02285, allocations: 51.36 kB / 356.6 MB, free: 400 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.644e-06/0.02286, allocations: 4 kB / 356.6 MB, free: 396 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.134e-05/0.02287, allocations: 12.5 kB / 356.6 MB, free: 384 kB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02287, allocations: 0 / 356.6 MB, free: 384 kB / 282.7 MB Notification: Performance of Templates: time 0.005218/0.02809, allocations: 2.206 MB / 358.8 MB, free: 14.17 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.228497890988365]