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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000793/0.0007931, allocations: 82.61 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3343/0.3343, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.6e-05/2.611e-05, allocations: 0 / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09968/0.09972, allocations: 58.85 MB / 484.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.328/0.4277, allocations: 89.29 MB / 0.56 GB, free: 15.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001352/0.4279, allocations: 58.31 kB / 0.56 GB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07473/0.5027, allocations: 30.29 MB / 0.5896 GB, free: 6.207 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5027, allocations: 0 / 0.5896 GB, free: 6.207 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.5027, allocations: 4 kB / 0.5896 GB, free: 6.203 MB / 410.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.0005006/0.5032, allocations: 404.6 kB / 0.59 GB, free: 5.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5033, allocations: 8.031 kB / 0.59 GB, free: 5.754 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.5033, allocations: 3.438 kB / 0.59 GB, free: 5.754 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.585e-05/0.5034, allocations: 167.1 kB / 0.5902 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.5034, allocations: 4 kB / 0.5902 GB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.5034, allocations: 3.625 kB / 0.5902 GB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.006e-05/0.5035, allocations: 25.7 kB / 0.5902 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.5035, allocations: 0 / 0.5902 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.5035, allocations: 4 kB / 0.5902 GB, free: 5.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.5035, allocations: 1.375 kB / 0.5902 GB, free: 5.512 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/0.5036, allocations: 3.938 kB / 0.5902 GB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.5037, allocations: 153.6 kB / 0.5904 GB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.226e-05/0.5037, allocations: 18.61 kB / 0.5904 GB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.5037, allocations: 12.59 kB / 0.5904 GB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-06/0.5038, allocations: 3.938 kB / 0.5904 GB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.5038, allocations: 60.33 kB / 0.5905 GB, free: 5.191 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.5038, allocations: 0 / 0.5905 GB, free: 5.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.504, allocations: 60.59 kB / 0.5905 GB, free: 5.121 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.504, allocations: 81.14 kB / 0.5906 GB, free: 5.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.116e-05/0.504, allocations: 88.94 kB / 0.5907 GB, free: 4.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.5041, allocations: 29.7 kB / 0.5907 GB, free: 4.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.5041, allocations: 80.14 kB / 0.5908 GB, free: 4.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.5041, allocations: 6.734 kB / 0.5908 GB, free: 4.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/0.5041, allocations: 0 / 0.5908 GB, free: 4.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.5042, allocations: 310.8 kB / 0.5911 GB, free: 4.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-06/0.5042, allocations: 0 / 0.5911 GB, free: 4.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-06/0.5043, allocations: 8 kB / 0.5911 GB, free: 4.488 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/0.5043, allocations: 25.7 kB / 0.5911 GB, free: 4.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.5043, allocations: 0 / 0.5911 GB, free: 4.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.906e-05/0.5044, allocations: 67.48 kB / 0.5912 GB, free: 4.383 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.5044, allocations: 37.62 kB / 0.5912 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5044, allocations: 0 / 0.5912 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5044, allocations: 3.984 kB / 0.5912 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.81e-07/0.5044, allocations: 0 / 0.5912 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.5044, allocations: 4 kB / 0.5912 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.176e-05/0.5045, allocations: 96 / 0.5912 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.5045, allocations: 8 kB / 0.5912 GB, free: 4.324 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.5046, allocations: 132.5 kB / 0.5914 GB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-06/0.5046, allocations: 3.953 kB / 0.5914 GB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-06/0.5046, allocations: 3.125 kB / 0.5914 GB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.5046, allocations: 0 / 0.5914 GB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5046, allocations: 0 / 0.5914 GB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.5046, allocations: 0 / 0.5914 GB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.777e-05/0.5047, allocations: 149.7 kB / 0.5915 GB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5047, allocations: 0 / 0.5915 GB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.5047, allocations: 4 kB / 0.5915 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.5047, allocations: 3.953 kB / 0.5915 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.5047, allocations: 0 / 0.5915 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5047, allocations: 0 / 0.5915 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5047, allocations: 0 / 0.5915 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.246e-05/0.5048, allocations: 97.27 kB / 0.5916 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.5049, allocations: 77.11 kB / 0.5917 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.5049, allocations: 3.953 kB / 0.5917 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.5049, allocations: 8.031 kB / 0.5917 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.5049, allocations: 0 / 0.5917 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.5049, allocations: 7.922 kB / 0.5917 GB, free: 3.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.943e-05/0.505, allocations: 79.22 kB / 0.5918 GB, free: 3.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.505, allocations: 0 / 0.5918 GB, free: 3.672 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.5053, allocations: 71.34 kB / 0.5919 GB, free: 3.605 MB / 410.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001705/0.507, allocations: 0.5273 MB / 0.5924 GB, free: 3.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.385e-05/0.5071, allocations: 67.34 kB / 0.5924 GB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5071, allocations: 0 / 0.5924 GB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.5072, allocations: 59.39 kB / 0.5925 GB, free: 2.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.778e-05/0.5073, allocations: 0 / 0.5925 GB, free: 2.988 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001279/0.5074, allocations: 48.38 kB / 0.5925 GB, free: 2.922 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.5077, allocations: 0.677 MB / 0.5932 GB, free: 2.219 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.32e-06/0.5077, allocations: 0 / 0.5932 GB, free: 2.219 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.116e-05/0.5077, allocations: 7.438 kB / 0.5932 GB, free: 2.211 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5077, allocations: 4.125 kB / 0.5932 GB, free: 2.207 MB / 410.7 MB Notification: Performance of Templates: time 0.004951/0.5127, allocations: 2.084 MB / 0.5952 GB, free: 124 kB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.makefile (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)