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.00137/0.00137, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001477/0.001477, allocations: 169 kB / 24.14 MB, free: 368 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.8942/0.8942, allocations: 158.6 MB / 186 MB, free: 2.773 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.1296/0.1296, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.372e-06/1.372e-06, allocations: 0 / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.96e-05, allocations: 2.312 kB / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001158/0.001178, allocations: 0.5485 MB / 299.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.002679, allocations: 1.139 MB / 300.8 MB, free: 496 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.002698, allocations: 0 / 300.8 MB, free: 496 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.002712, allocations: 0 / 300.8 MB, free: 496 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.733e-06/0.002719, allocations: 0 / 300.8 MB, free: 496 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1466/0.1493, allocations: 0.7339 MB / 301.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.293e-05/0.1493, allocations: 2.172 kB / 301.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.1494, allocations: 2.156 kB / 301.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.1494, allocations: 0.6562 kB / 301.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.084e-05/0.1494, allocations: 5.562 kB / 301.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.695e-06/0.1494, allocations: 0 / 301.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.1524, allocations: 2.204 MB / 303.7 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-06/0.1524, allocations: 6.578 kB / 303.7 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.383e-05/0.1524, allocations: 0 / 303.7 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005222/0.153, allocations: 375.8 kB / 304.1 MB, free: 18.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.153, allocations: 0 / 304.1 MB, free: 18.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.153, allocations: 0 / 304.1 MB, free: 18.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.153, allocations: 0 / 304.1 MB, free: 18.98 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.0003677/0.1533, allocations: 276 kB / 304.4 MB, free: 18.72 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1534, allocations: 17.69 kB / 304.4 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.1534, allocations: 1.75 kB / 304.4 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.223e-05/0.1534, allocations: 105.6 kB / 304.5 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.1534, allocations: 2.219 kB / 304.5 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-06/0.1534, allocations: 1.094 kB / 304.5 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.462e-05/0.1535, allocations: 55.89 kB / 304.6 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1535, allocations: 3.938 kB / 304.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.1535, allocations: 0 / 304.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1535, allocations: 1.125 kB / 304.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.293e-05/0.1535, allocations: 29.19 kB / 304.6 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.651e-05/0.1536, allocations: 62.05 kB / 304.6 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.558e-05/0.1536, allocations: 50.8 kB / 304.7 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.174e-05/0.1536, allocations: 32.3 kB / 304.7 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-06/0.1536, allocations: 1.5 kB / 304.7 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1537, allocations: 59.28 kB / 304.8 MB, free: 18.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.1537, allocations: 1.188 kB / 304.8 MB, free: 18.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.657e-05/0.1538, allocations: 117.1 kB / 304.9 MB, free: 18.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.1538, allocations: 82.92 kB / 305 MB, free: 18.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.931e-05/0.1538, allocations: 89.86 kB / 305.1 MB, free: 17.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.1538, allocations: 30.95 kB / 305.1 MB, free: 17.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.695e-06/0.1538, allocations: 80.14 kB / 305.2 MB, free: 17.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.1538, allocations: 2.422 kB / 305.2 MB, free: 17.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.1539, allocations: 15.62 kB / 305.2 MB, free: 17.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.1539, allocations: 312.9 kB / 305.5 MB, free: 17.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.1539, allocations: 27.78 kB / 305.5 MB, free: 17.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-06/0.1539, allocations: 26.92 kB / 305.6 MB, free: 17.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.36e-05/0.1539, allocations: 63.58 kB / 305.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.154, allocations: 0 / 305.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.505e-05/0.154, allocations: 87.3 kB / 305.7 MB, free: 17.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.154, allocations: 38.98 kB / 305.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.154, allocations: 0.8906 kB / 305.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.154, allocations: 1.219 kB / 305.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.154, allocations: 0 / 305.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.154, allocations: 3.938 kB / 305.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.234e-05/0.1541, allocations: 1.875 kB / 305.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1541, allocations: 1.672 kB / 305.8 MB, free: 17.23 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.438e-05/0.1541, allocations: 136.8 kB / 305.9 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.1541, allocations: 2.922 kB / 305.9 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.013e-05/0.1541, allocations: 3 kB / 305.9 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1541, allocations: 6.219 kB / 305.9 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1541, allocations: 0 / 305.9 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1541, allocations: 8.281 kB / 305.9 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.071e-05/0.1542, allocations: 61.89 kB / 306 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1542, allocations: 2.375 kB / 306 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.1542, allocations: 0 / 306 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.1542, allocations: 3.938 kB / 306 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.1542, allocations: 1.984 kB / 306 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.1542, allocations: 0 / 306 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1542, allocations: 1.375 kB / 306 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.569e-05/0.1542, allocations: 120.9 kB / 306.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-06/0.1542, allocations: 3.672 kB / 306.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.1543, allocations: 1.469 kB / 306.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-06/0.1543, allocations: 5.453 kB / 306.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.1543, allocations: 3 kB / 306.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1543, allocations: 1.844 kB / 306.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.9e-06/0.1543, allocations: 4.859 kB / 306.1 MB, free: 16.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1543, allocations: 0 / 306.1 MB, free: 16.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.1546, allocations: 56.3 kB / 306.2 MB, free: 16.83 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.001351/0.1559, allocations: 0.584 MB / 306.8 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.339e-05/0.156, allocations: 116.2 kB / 306.9 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.156, allocations: 0 / 306.9 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.682e-05/0.156, allocations: 86.56 kB / 306.9 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.224e-05/0.1561, allocations: 5 kB / 307 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001201/0.1562, allocations: 113.9 kB / 307.1 MB, free: 16.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.705e-05/0.1562, allocations: 53.64 kB / 307.1 MB, free: 16.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.019e-06/0.1562, allocations: 0 / 307.1 MB, free: 16.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.1563, allocations: 56.84 kB / 307.2 MB, free: 16.14 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1563, allocations: 0 / 307.2 MB, free: 16.14 MB / 282.7 MB Notification: Performance of Templates: time 0.005/0.1613, allocations: 2.433 MB / 309.6 MB, free: 15.88 MB / 282.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 -s gbode -gbm=radauIIA3 -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: 2.8769032661803067]