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.001175/0.001175, allocations: 80.98 kB / 20.65 MB, free: 3.832 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.001148/0.001148, allocations: 173 kB / 24.06 MB, free: 444 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.8384/0.8384, allocations: 158.6 MB / 186 MB, free: 2.781 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.1894/0.1894, allocations: 32.38 MB / 270.7 MB, free: 14.52 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 2.004e-06/2.004e-06, allocations: 0 / 348.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.735e-05, allocations: 6.25 kB / 348.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001034/0.001061, allocations: 0.519 MB / 348.6 MB, free: 8.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.002131, allocations: 1.115 MB / 349.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.131e-05/0.002152, allocations: 4 kB / 349.7 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.00217, allocations: 7.938 kB / 349.7 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.002176, allocations: 0 / 349.7 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.003579, allocations: 0.7395 MB / 350.5 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.925e-05/0.003618, allocations: 0 / 350.5 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.875e-05/0.003647, allocations: 4 kB / 350.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.003671, allocations: 3.984 kB / 350.5 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.481e-05/0.003686, allocations: 3.938 kB / 350.5 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.211e-06/0.003692, allocations: 0 / 350.5 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.005335, allocations: 2.54 MB / 353 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-06/0.005343, allocations: 0 / 353 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.376e-05/0.005357, allocations: 4 kB / 353 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.005667, allocations: 383.2 kB / 353.4 MB, free: 3.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.00567, allocations: 0 / 353.4 MB, free: 3.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005671, allocations: 0 / 353.4 MB, free: 3.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.005675, allocations: 0 / 353.4 MB, free: 3.887 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.0002234/0.005898, allocations: 405.4 kB / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.005932, allocations: 8.031 kB / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.005956, allocations: 4 kB / 353.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.229e-05/0.005989, allocations: 108 kB / 353.9 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.005998, allocations: 7.938 kB / 353.9 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-06/0.006002, allocations: 0 / 353.9 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.224e-05/0.006055, allocations: 59.34 kB / 354 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.00606, allocations: 0 / 354 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-06/0.006066, allocations: 4 kB / 354 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.00607, allocations: 0 / 354 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.239e-05/0.006082, allocations: 29.7 kB / 354 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.499e-05/0.006137, allocations: 89.27 kB / 354.1 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.545e-05/0.006163, allocations: 60.72 kB / 354.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.367e-06/0.006172, allocations: 33.39 kB / 354.2 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-06/0.006175, allocations: 4 kB / 354.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.006197, allocations: 67.16 kB / 354.3 MB, free: 2.867 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.006198, allocations: 0 / 354.3 MB, free: 2.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001074/0.006306, allocations: 122.7 kB / 354.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.006327, allocations: 77.11 kB / 354.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.401e-05/0.006351, allocations: 146.2 kB / 354.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-06/0.006355, allocations: 25.7 kB / 354.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.636e-06/0.006364, allocations: 126.9 kB / 354.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.006377, allocations: 4 kB / 354.8 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/0.006393, allocations: 15.5 kB / 354.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.468e-05/0.006428, allocations: 0.4922 MB / 355.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-06/0.006438, allocations: 33.69 kB / 355.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.006444, allocations: 25.7 kB / 355.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.486e-05/0.006469, allocations: 63.09 kB / 355.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.00647, allocations: 3.938 kB / 355.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.902e-05/0.006509, allocations: 89.11 kB / 355.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.00653, allocations: 33.69 kB / 355.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.006534, allocations: 0 / 355.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.006544, allocations: 3.938 kB / 355.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.006545, allocations: 4.094 kB / 355.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-06/0.006546, allocations: 4 kB / 355.5 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-06/0.006556, allocations: 4.281 kB / 355.5 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.00656, allocations: 0 / 355.5 MB, free: 1.469 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 3.876e-05/0.006598, allocations: 182.3 kB / 355.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-06/0.006603, allocations: 0 / 355.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.033e-05/0.006614, allocations: 3 kB / 355.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.006615, allocations: 3.938 kB / 355.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.006616, allocations: 3.984 kB / 355.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.006618, allocations: 0 / 355.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.265e-05/0.006651, allocations: 101.2 kB / 355.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.006652, allocations: 0 / 355.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-07/0.006652, allocations: 0 / 355.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-07/0.006653, allocations: 0 / 355.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-06/0.006657, allocations: 0 / 355.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.006657, allocations: 4 kB / 355.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006658, allocations: 3.984 kB / 355.8 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.06e-05/0.006719, allocations: 135.8 kB / 356 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-06/0.006723, allocations: 0 / 356 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.006732, allocations: 3.938 kB / 356 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-06/0.006737, allocations: 8.031 kB / 356 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-06/0.006745, allocations: 0 / 356 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.006747, allocations: 3.938 kB / 356 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.154e-05/0.006759, allocations: 123.2 kB / 356.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006759, allocations: 0 / 356.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.006983, allocations: 51.8 kB / 356.1 MB, free: 0.7695 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.0008813/0.007864, allocations: 0.574 MB / 356.7 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.293e-05/0.007937, allocations: 118.5 kB / 356.8 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007939, allocations: 4.062 kB / 356.8 MB, free: 120 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.409e-05/0.007953, allocations: 88.8 kB / 356.9 MB, free: 8 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.118e-05/0.008034, allocations: 4 kB / 356.9 MB, free: 4 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001557/0.00819, allocations: 117.6 kB / 357 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.56e-05/0.008215, allocations: 59.23 kB / 357.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.761e-06/0.008221, allocations: 4 kB / 357.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.008253, allocations: 70.2 kB / 357.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.008254, allocations: 0 / 357.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of Templates: time 0.003769/0.01202, allocations: 2.44 MB / 359.6 MB, free: 13.26 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.0605104928836226]