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.0009553/0.0009553, allocations: 95.2 kB / 20.43 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.0009869/0.0009869, 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.9404/0.9404, allocations: 158.6 MB / 185.7 MB, free: 2.895 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.128/0.128, 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.463e-06/1.463e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.206e-05, allocations: 2.312 kB / 347.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001024/0.001046, allocations: 0.5258 MB / 348.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.002403, allocations: 1.143 MB / 349.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.002429, allocations: 0 / 349.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.002455, allocations: 0 / 349.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.654e-06/0.002463, allocations: 0 / 349.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.004181, allocations: 0.7393 MB / 350 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.777e-05/0.004238, allocations: 4 kB / 350.1 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.295e-05/0.004271, allocations: 3.984 kB / 350.1 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.935e-05/0.004301, allocations: 4 kB / 350.1 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.756e-05/0.004318, allocations: 0 / 350.1 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.123e-06/0.004325, allocations: 0 / 350.1 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.005919, allocations: 2.47 MB / 352.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-06/0.005928, allocations: 0 / 352.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.00595, allocations: 0 / 352.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.006281, allocations: 379.2 kB / 352.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.006284, allocations: 0 / 352.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006285, allocations: 0 / 352.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.00629, allocations: 0 / 352.9 MB, free: 4.207 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.0003412/0.006631, allocations: 409.5 kB / 353.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.006671, allocations: 8.031 kB / 353.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.006711, allocations: 4 kB / 353.3 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.72e-05/0.006758, allocations: 108.1 kB / 353.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.00677, allocations: 0 / 353.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.006779, allocations: 0 / 353.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.006861, allocations: 59.34 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.006869, allocations: 3.938 kB / 353.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.006878, allocations: 0 / 353.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.006886, allocations: 0 / 353.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.542e-05/0.006901, allocations: 33.69 kB / 353.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.644e-05/0.006978, allocations: 108.6 kB / 353.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.883e-05/0.007026, allocations: 56.8 kB / 353.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.007043, allocations: 37.39 kB / 353.7 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-06/0.007047, allocations: 0 / 353.7 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.007079, allocations: 63.16 kB / 353.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.00708, allocations: 0 / 353.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001605/0.00724, allocations: 130.7 kB / 353.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.007267, allocations: 77.11 kB / 354 MB, free: 2.922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.991e-05/0.007287, allocations: 142.2 kB / 354.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-06/0.007291, allocations: 25.7 kB / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.017e-05/0.007301, allocations: 126.9 kB / 354.3 MB, free: 2.609 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.007316, allocations: 4 kB / 354.3 MB, free: 2.605 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.007334, allocations: 19.48 kB / 354.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.973e-05/0.007373, allocations: 496.1 kB / 354.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.007384, allocations: 33.7 kB / 354.8 MB, free: 2.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.007391, allocations: 25.7 kB / 354.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.022e-05/0.007421, allocations: 67.09 kB / 354.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007423, allocations: 0 / 354.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.691e-05/0.00746, allocations: 93.03 kB / 355 MB, free: 1.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.007477, allocations: 29.7 kB / 355 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.007482, allocations: 3.938 kB / 355 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.007494, allocations: 4.094 kB / 355 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.998e-06/0.007498, allocations: 4 kB / 355 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.007503, allocations: 0 / 355 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-06/0.007513, allocations: 4.344 kB / 355 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.007519, allocations: 0 / 355 MB, free: 1.77 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.221e-05/0.007561, allocations: 190.3 kB / 355.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-06/0.007565, allocations: 0 / 355.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-06/0.007573, allocations: 6.938 kB / 355.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.007574, allocations: 0 / 355.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.007578, allocations: 4 kB / 355.2 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.00758, allocations: 0 / 355.2 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.27e-05/0.007612, allocations: 116.5 kB / 355.3 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.007613, allocations: 0 / 355.3 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-07/0.007613, allocations: 0 / 355.3 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.007614, allocations: 0 / 355.3 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.00762, allocations: 7.984 kB / 355.3 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007621, allocations: 3.938 kB / 355.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007622, allocations: 0 / 355.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.795e-05/0.00767, allocations: 127.8 kB / 355.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-06/0.007673, allocations: 3.984 kB / 355.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.007686, allocations: 4 kB / 355.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-06/0.00769, allocations: 7.969 kB / 355.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.007702, allocations: 0 / 355.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-06/0.007703, allocations: 0 / 355.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.299e-05/0.007716, allocations: 123.2 kB / 355.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007716, allocations: 0 / 355.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000198/0.007914, allocations: 51.8 kB / 355.7 MB, free: 1.043 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.0009129/0.008827, allocations: 0.5751 MB / 356.2 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.509e-05/0.008912, allocations: 118.5 kB / 356.4 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008913, allocations: 8 kB / 356.4 MB, free: 396 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.426e-05/0.008928, allocations: 100.7 kB / 356.5 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.39e-05/0.009012, allocations: 0 / 356.5 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000144/0.009156, allocations: 113.6 kB / 356.6 MB, free: 120 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.643e-05/0.009172, allocations: 51.36 kB / 356.6 MB, free: 48 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.388e-06/0.009176, allocations: 4 kB / 356.6 MB, free: 44 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.119e-05/0.009188, allocations: 12.5 kB / 356.6 MB, free: 32 kB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009188, allocations: 0 / 356.6 MB, free: 32 kB / 282.7 MB Notification: Performance of Templates: time 0.004198/0.01339, allocations: 2.425 MB / 359.1 MB, free: 13.61 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.232434859033674]