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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 107.2 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 190.3 kB / 22.98 MB, free: 5.062 MB / 14.72 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 1.692/1.692, allocations: 207.6 MB / 233.7 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] 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.246/0.246, allocations: 44.23 MB / 330.2 MB, free: 9.547 MB / 270.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 71.91 kB / 467.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1606, allocations: 61.03 MB / 0.5166 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.002267/0.1629, allocations: 0.491 MB / 0.517 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.1656, allocations: 1.192 MB / 0.5182 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.453e-05/0.1657, allocations: 0 / 0.5182 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.1657, allocations: 0 / 0.5182 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.1657, allocations: 0 / 0.5182 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.1687, allocations: 0.7467 MB / 0.5189 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.95e-05/0.1688, allocations: 7.984 kB / 0.519 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.678e-05/0.1689, allocations: 0 / 0.519 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.12e-05/0.1689, allocations: 4 kB / 0.519 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.387e-05/0.1689, allocations: 0 / 0.519 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.1689, allocations: 0 / 0.519 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.1726, allocations: 2.513 MB / 0.5214 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.1726, allocations: 3.984 kB / 0.5214 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.1726, allocations: 0 / 0.5214 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005658/0.1732, allocations: 355.4 kB / 0.5218 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.1732, allocations: 0 / 0.5218 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1732, allocations: 0 / 0.5218 GB, free: 1.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.1732, allocations: 4 kB / 0.5218 GB, free: 1.547 MB / 398.1 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.0006391/0.1739, allocations: 299.6 kB / 0.522 GB, free: 1.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.1739, allocations: 8.031 kB / 0.522 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.174, allocations: 3.953 kB / 0.5221 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1741, allocations: 109.2 kB / 0.5222 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.1741, allocations: 7.875 kB / 0.5222 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1742, allocations: 0 / 0.5222 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1743, allocations: 33.69 kB / 0.5222 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1743, allocations: 0 / 0.5222 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1743, allocations: 0 / 0.5222 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1743, allocations: 0 / 0.5222 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/0.1744, allocations: 7.938 kB / 0.5222 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.1746, allocations: 124.7 kB / 0.5223 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.411e-05/0.1746, allocations: 18.52 kB / 0.5223 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.1747, allocations: 12.92 kB / 0.5224 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.1747, allocations: 4 kB / 0.5224 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.685e-05/0.1747, allocations: 60.27 kB / 0.5224 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.1748, allocations: 0 / 0.5224 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002572/0.175, allocations: 63.34 kB / 0.5225 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.1751, allocations: 81.23 kB / 0.5226 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/0.1752, allocations: 93.84 kB / 0.5226 GB, free: 472 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1752, allocations: 25.7 kB / 0.5227 GB, free: 440 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.1753, allocations: 80.14 kB / 0.5227 GB, free: 356 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1753, allocations: 0 / 0.5227 GB, free: 356 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1753, allocations: 17.72 kB / 0.5228 GB, free: 332 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1755, allocations: 310.8 kB / 0.5231 GB, free: 12 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.1756, allocations: 0 / 0.5231 GB, free: 12 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.461e-05/0.1756, allocations: 8 kB / 0.5231 GB, free: 4 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1757, allocations: 56.27 kB / 0.5231 GB, free: 15.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1757, allocations: 4 kB / 0.5231 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.767e-05/0.1758, allocations: 75.2 kB / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.1758, allocations: 33.7 kB / 0.5232 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1758, allocations: 0 / 0.5232 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.1759, allocations: 0 / 0.5232 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.1759, allocations: 0 / 0.5232 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1759, allocations: 0 / 0.5232 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.1759, allocations: 4.094 kB / 0.5232 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1759, allocations: 0 / 0.5232 GB, free: 15.8 MB / 414.1 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 0.0001426/0.1761, allocations: 143.5 kB / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.1761, allocations: 0 / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.106e-05/0.1761, allocations: 3 kB / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1761, allocations: 3.938 kB / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1761, allocations: 4 kB / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1761, allocations: 0 / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1762, allocations: 120.7 kB / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1762, allocations: 7.984 kB / 0.5235 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.1762, allocations: 0 / 0.5235 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1762, allocations: 0 / 0.5235 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1762, allocations: 8 kB / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1762, allocations: 3.984 kB / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1762, allocations: 0 / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.1763, allocations: 98.7 kB / 0.5236 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-06/0.1764, allocations: 0 / 0.5236 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1764, allocations: 4.031 kB / 0.5236 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-06/0.1764, allocations: 0 / 0.5236 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.1764, allocations: 0 / 0.5236 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.1764, allocations: 4 kB / 0.5236 GB, free: 15.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.601e-05/0.1764, allocations: 75.28 kB / 0.5237 GB, free: 15.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1764, allocations: 0 / 0.5237 GB, free: 15.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004047/0.1769, allocations: 51.8 kB / 0.5237 GB, free: 15.2 MB / 414.1 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.001661/0.1785, allocations: 0.5224 MB / 0.5242 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.1787, allocations: 67.34 kB / 0.5243 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1787, allocations: 0 / 0.5243 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.1787, allocations: 55.41 kB / 0.5244 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.1789, allocations: 11.36 kB / 0.5244 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.1791, allocations: 96.8 kB / 0.5245 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1795, allocations: 0.669 MB / 0.5251 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.683e-06/0.1795, allocations: 4 kB / 0.5251 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.1795, allocations: 7.438 kB / 0.5251 GB, free: 13.73 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1795, allocations: 4.125 kB / 0.5251 GB, free: 13.72 MB / 414.1 MB Notification: Performance of Templates: time 0.006691/0.1862, allocations: 2.141 MB / 0.5272 GB, free: 11.58 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.931125171482563]