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.001007/0.001007, allocations: 91.33 kB / 20.42 MB, free: 4.141 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.001354/0.001354, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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.9689/0.9689, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1595/0.1595, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.814e-06/1.814e-06, allocations: 0 / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.516e-05, allocations: 2.312 kB / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001399/0.001424, allocations: 0.5258 MB / 348.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.003036, allocations: 1.147 MB / 349.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.003063, allocations: 0 / 349.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.003091, allocations: 0 / 349.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.087e-06/0.0031, allocations: 0 / 349.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.005021, allocations: 0.7421 MB / 350.1 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.732e-05/0.005069, allocations: 4 kB / 350.1 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.246e-05/0.005101, allocations: 4 kB / 350.1 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.005127, allocations: 0 / 350.1 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.839e-05/0.005145, allocations: 0 / 350.1 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.005153, allocations: 0 / 350.1 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.00684, allocations: 2.466 MB / 352.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.006853, allocations: 0 / 352.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.006876, allocations: 4 kB / 352.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.00721, allocations: 379.2 kB / 352.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.007213, allocations: 0 / 352.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007214, allocations: 0 / 352.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.007219, allocations: 0 / 352.9 MB, free: 4.219 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.0003174/0.007536, allocations: 405.5 kB / 353.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.007583, allocations: 12.03 kB / 353.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.007621, allocations: 4 kB / 353.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.513e-05/0.007666, allocations: 104.1 kB / 353.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.007678, allocations: 0 / 353.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.007689, allocations: 7.938 kB / 353.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.462e-05/0.007784, allocations: 55.34 kB / 353.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.007801, allocations: 7.922 kB / 353.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.007813, allocations: 4 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.007821, allocations: 0 / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.007839, allocations: 33.69 kB / 353.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.785e-05/0.007927, allocations: 108.6 kB / 353.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.847e-05/0.007976, allocations: 52.77 kB / 353.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.007993, allocations: 37.48 kB / 353.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-06/0.007998, allocations: 0 / 353.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.008027, allocations: 63.08 kB / 353.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.008028, allocations: 0 / 353.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001708/0.008199, allocations: 122.7 kB / 353.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.008228, allocations: 81.11 kB / 354 MB, free: 2.934 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.925e-05/0.008258, allocations: 146.2 kB / 354.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.711e-06/0.008263, allocations: 25.7 kB / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.448e-05/0.008278, allocations: 127 kB / 354.3 MB, free: 2.617 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.008299, allocations: 4 kB / 354.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.008321, allocations: 23.38 kB / 354.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.008375, allocations: 492.1 kB / 354.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.008392, allocations: 25.7 kB / 354.8 MB, free: 2.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/0.008402, allocations: 29.7 kB / 354.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.939e-05/0.008441, allocations: 63.03 kB / 354.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.008444, allocations: 4 kB / 354.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.491e-05/0.008489, allocations: 89.09 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.008513, allocations: 33.7 kB / 355 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.008519, allocations: 8.031 kB / 355 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.008534, allocations: 0 / 355 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.186e-06/0.008537, allocations: 0 / 355 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.008544, allocations: 0 / 355 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.135e-05/0.008555, allocations: 4.344 kB / 355 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.008563, allocations: 11.98 kB / 355 MB, free: 1.773 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.733e-05/0.00861, allocations: 178.3 kB / 355.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-06/0.008615, allocations: 4 kB / 355.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.412e-05/0.008629, allocations: 6.938 kB / 355.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.00863, allocations: 0 / 355.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.008634, allocations: 7.938 kB / 355.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.008636, allocations: 0 / 355.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.746e-05/0.008674, allocations: 116.6 kB / 355.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-07/0.008674, allocations: 0 / 355.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.008674, allocations: 3.938 kB / 355.3 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.008676, allocations: 0 / 355.3 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.008684, allocations: 0 / 355.3 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008685, allocations: 3.938 kB / 355.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008686, allocations: 0 / 355.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.756e-05/0.008754, allocations: 127.8 kB / 355.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.008759, allocations: 8.031 kB / 355.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.008773, allocations: 0 / 355.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-06/0.008778, allocations: 3.938 kB / 355.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.008792, allocations: 4 kB / 355.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.008794, allocations: 4 kB / 355.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.28e-05/0.008807, allocations: 123.2 kB / 355.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008807, allocations: 0 / 355.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.009025, allocations: 51.8 kB / 355.7 MB, free: 1.051 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.0009931/0.01002, allocations: 0.5633 MB / 356.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.196e-05/0.01011, allocations: 130.4 kB / 356.4 MB, free: 408 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01011, allocations: 0 / 356.4 MB, free: 408 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.01013, allocations: 92.78 kB / 356.4 MB, free: 292 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.386e-05/0.01022, allocations: 0 / 356.4 MB, free: 292 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001588/0.01038, allocations: 113.6 kB / 356.6 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.334e-05/0.01041, allocations: 59.34 kB / 356.6 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.402e-06/0.01041, allocations: 4 kB / 356.6 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.01043, allocations: 8.5 kB / 356.6 MB, free: 48 kB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01043, allocations: 128 / 356.6 MB, free: 48 kB / 282.7 MB Notification: Performance of Templates: time 0.003848/0.01428, allocations: 2.202 MB / 358.8 MB, free: 13.84 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.3228261708281934]