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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 106.9 kB / 18.91 MB, free: 3.395 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 196.4 kB / 22.06 MB, free: 256 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 207.6 MB / 232.6 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2189/0.2189, allocations: 44.24 MB / 328.9 MB, free: 10.12 MB / 270.1 MB [Timeout remaining time 90] 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=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.002184/0.002184, allocations: 78.48 kB / 465.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1146, allocations: 61 MB / 0.5146 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001647/0.1162, allocations: 0.4948 MB / 0.5151 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1183, allocations: 1.167 MB / 0.5162 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.1183, allocations: 0 / 0.5162 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.119e-05/0.1183, allocations: 0 / 0.5162 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.57e-06/0.1183, allocations: 0 / 0.5162 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.1204, allocations: 0.676 MB / 0.5169 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.142e-05/0.1204, allocations: 4 kB / 0.5169 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.033e-05/0.1204, allocations: 4 kB / 0.5169 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.772e-05/0.1205, allocations: 4 kB / 0.5169 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.353e-05/0.1205, allocations: 0 / 0.5169 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.05e-06/0.1205, allocations: 0 / 0.5169 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.1239, allocations: 2.464 MB / 0.5193 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-06/0.1239, allocations: 0 / 0.5193 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.124, allocations: 7.984 kB / 0.5193 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.1244, allocations: 355.4 kB / 0.5196 GB, free: 2.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1244, allocations: 0 / 0.5196 GB, free: 2.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1244, allocations: 0 / 0.5196 GB, free: 2.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1244, allocations: 0 / 0.5196 GB, free: 2.801 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.0004455/0.1249, allocations: 380.7 kB / 0.52 GB, free: 2.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1249, allocations: 11.89 kB / 0.52 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.1249, allocations: 3.953 kB / 0.52 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.125, allocations: 163.1 kB / 0.5202 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1251, allocations: 3.938 kB / 0.5202 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.1251, allocations: 7.938 kB / 0.5202 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.739e-05/0.1252, allocations: 29.64 kB / 0.5202 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1252, allocations: 0 / 0.5202 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.1252, allocations: 3.984 kB / 0.5202 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.1252, allocations: 4 kB / 0.5202 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.485e-05/0.1252, allocations: 3.938 kB / 0.5202 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.1253, allocations: 153.6 kB / 0.5203 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.439e-05/0.1254, allocations: 26.55 kB / 0.5204 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.1254, allocations: 8.797 kB / 0.5204 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.1254, allocations: 0 / 0.5204 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.1255, allocations: 56.27 kB / 0.5204 GB, free: 1.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1255, allocations: 0 / 0.5204 GB, free: 1.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001672/0.1256, allocations: 67.45 kB / 0.5205 GB, free: 1.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.1257, allocations: 81.23 kB / 0.5206 GB, free: 1.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.704e-05/0.1257, allocations: 89.86 kB / 0.5207 GB, free: 1.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1258, allocations: 29.7 kB / 0.5207 GB, free: 1.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.1258, allocations: 80.14 kB / 0.5208 GB, free: 1.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.1258, allocations: 0 / 0.5208 GB, free: 1.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.1258, allocations: 13.7 kB / 0.5208 GB, free: 1.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.126, allocations: 318.8 kB / 0.5211 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.126, allocations: 3.938 kB / 0.5211 GB, free: 1.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-06/0.126, allocations: 4 kB / 0.5211 GB, free: 1.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.546e-05/0.1261, allocations: 60.27 kB / 0.5212 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1261, allocations: 0 / 0.5212 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.184e-05/0.1261, allocations: 67.33 kB / 0.5212 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.1262, allocations: 33.7 kB / 0.5212 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1262, allocations: 3.984 kB / 0.5213 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1262, allocations: 0 / 0.5213 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1262, allocations: 0 / 0.5213 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1262, allocations: 0 / 0.5213 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.356e-05/0.1262, allocations: 8.094 kB / 0.5213 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1262, allocations: 0 / 0.5213 GB, free: 0.8438 MB / 398.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 9.778e-05/0.1263, allocations: 139.4 kB / 0.5214 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.1263, allocations: 4 kB / 0.5214 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.084e-05/0.1263, allocations: 7.109 kB / 0.5214 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.1263, allocations: 0 / 0.5214 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.1263, allocations: 7.984 kB / 0.5214 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1263, allocations: 3.938 kB / 0.5214 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.1265, allocations: 145.6 kB / 0.5216 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1265, allocations: 8 kB / 0.5216 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1265, allocations: 0 / 0.5216 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1265, allocations: 0 / 0.5216 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.1265, allocations: 0 / 0.5216 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1265, allocations: 3.984 kB / 0.5216 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1265, allocations: 0 / 0.5216 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.1266, allocations: 90.78 kB / 0.5217 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.1266, allocations: 77.11 kB / 0.5217 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1266, allocations: 11.95 kB / 0.5217 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-06/0.1267, allocations: 0 / 0.5217 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.1267, allocations: 8 kB / 0.5217 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.1267, allocations: 0 / 0.5217 GB, free: 244 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.1267, allocations: 79.22 kB / 0.5218 GB, free: 164 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1267, allocations: 0 / 0.5218 GB, free: 164 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000323/0.127, allocations: 51.8 kB / 0.5219 GB, free: 112 kB / 398.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.001529/0.1286, allocations: 0.5205 MB / 0.5224 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.1287, allocations: 67.33 kB / 0.5224 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1287, allocations: 0 / 0.5224 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.937e-05/0.1287, allocations: 59.41 kB / 0.5225 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.1288, allocations: 3.938 kB / 0.5225 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.129, allocations: 110.6 kB / 0.5226 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.1294, allocations: 0.6729 MB / 0.5233 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.1294, allocations: 7.438 kB / 0.5233 GB, free: 14.6 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1294, allocations: 0 / 0.5233 GB, free: 14.6 MB / 414.1 MB Notification: Performance of Templates: time 0.004716/0.1341, allocations: 2.591 MB / 0.5258 GB, free: 12.01 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","/var/lib/jenkins1/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