Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002194/0.002195, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001088/0.001088, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2765/0.2765, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.442e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4844/0.6033, allocations: 89.29 MB / 0.56 GB, free: 14.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.6036, allocations: 61.34 kB / 0.56 GB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1446/0.7482, allocations: 30.28 MB / 0.5896 GB, free: 4.195 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.7482, allocations: 0 / 0.5896 GB, free: 4.195 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.7482, allocations: 0 / 0.5896 GB, free: 4.195 MB / 394.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.0006636/0.7489, allocations: 414 kB / 0.59 GB, free: 3.746 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.749, allocations: 12.03 kB / 0.59 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.749, allocations: 0 / 0.59 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.7491, allocations: 163 kB / 0.5902 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.7492, allocations: 3.938 kB / 0.5902 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.7492, allocations: 0 / 0.5902 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.207e-05/0.7493, allocations: 29.7 kB / 0.5902 GB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7493, allocations: 0 / 0.5902 GB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.7493, allocations: 7.984 kB / 0.5902 GB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7493, allocations: 0 / 0.5902 GB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.7494, allocations: 7.938 kB / 0.5902 GB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.7495, allocations: 149.1 kB / 0.5904 GB, free: 3.289 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/0.7496, allocations: 14.58 kB / 0.5904 GB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.7496, allocations: 8.953 kB / 0.5904 GB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.7496, allocations: 0 / 0.5904 GB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.7497, allocations: 60.27 kB / 0.5904 GB, free: 3.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.7497, allocations: 0 / 0.5904 GB, free: 3.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001822/0.7499, allocations: 70.58 kB / 0.5905 GB, free: 3.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.75, allocations: 77.11 kB / 0.5906 GB, free: 3.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.957e-05/0.75, allocations: 85 kB / 0.5907 GB, free: 2.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.7501, allocations: 25.7 kB / 0.5907 GB, free: 2.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.7501, allocations: 154.5 kB / 0.5908 GB, free: 2.734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.7502, allocations: 4 kB / 0.5908 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.7502, allocations: 0 / 0.5908 GB, free: 2.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7503, allocations: 317.9 kB / 0.5911 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.7504, allocations: 0 / 0.5911 GB, free: 2.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-06/0.7504, allocations: 0 / 0.5911 GB, free: 2.414 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.7504, allocations: 33.69 kB / 0.5912 GB, free: 2.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7504, allocations: 0 / 0.5912 GB, free: 2.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.496e-05/0.7505, allocations: 59.36 kB / 0.5912 GB, free: 2.305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.7506, allocations: 33.7 kB / 0.5913 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7506, allocations: 0 / 0.5913 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7506, allocations: 4.094 kB / 0.5913 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.597e-06/0.7507, allocations: 3.938 kB / 0.5913 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.7507, allocations: 0 / 0.5913 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.7507, allocations: 0 / 0.5913 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.7507, allocations: 4 kB / 0.5913 GB, free: 2.254 MB / 394.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 9.909e-05/0.7508, allocations: 133.6 kB / 0.5914 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.7509, allocations: 3.953 kB / 0.5914 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.709e-05/0.7509, allocations: 11.12 kB / 0.5914 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7509, allocations: 0 / 0.5914 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.7509, allocations: 4 kB / 0.5914 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7509, allocations: 0 / 0.5914 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.7511, allocations: 145.7 kB / 0.5916 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7511, allocations: 0 / 0.5916 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-06/0.7511, allocations: 0 / 0.5916 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.7511, allocations: 11.89 kB / 0.5916 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.7511, allocations: 0 / 0.5916 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7511, allocations: 0 / 0.5916 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7511, allocations: 0 / 0.5916 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.7513, allocations: 93.89 kB / 0.5917 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.7513, allocations: 80.36 kB / 0.5917 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.7514, allocations: 7.891 kB / 0.5917 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.253e-05/0.7514, allocations: 0 / 0.5917 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.7514, allocations: 0 / 0.5917 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.7514, allocations: 4 kB / 0.5918 GB, free: 1.676 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.574e-05/0.7515, allocations: 75.28 kB / 0.5918 GB, free: 1.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7515, allocations: 3.938 kB / 0.5918 GB, free: 1.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006076/0.7521, allocations: 67.47 kB / 0.5919 GB, free: 1.535 MB / 394.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.002841/0.755, allocations: 0.5375 MB / 0.5924 GB, free: 1.027 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.7552, allocations: 59.34 kB / 0.5925 GB, free: 0.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.7552, allocations: 4 kB / 0.5925 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.7552, allocations: 51.41 kB / 0.5925 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.7554, allocations: 7.797 kB / 0.5925 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.7556, allocations: 78.38 kB / 0.5926 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.7559, allocations: 0.677 MB / 0.5933 GB, free: 84 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.7559, allocations: 7.438 kB / 0.5933 GB, free: 76 kB / 394.7 MB Notification: Performance of SimCode: time 8.22e-07/0.7559, allocations: 0 / 0.5933 GB, free: 76 kB / 394.7 MB Notification: Performance of Templates: time 0.007231/0.7632, allocations: 2.646 MB / 0.5959 GB, free: 13.43 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1)