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.001907/0.001907, allocations: 182.4 kB / 15.76 MB, free: 6.367 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.772/1.772, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001001/0.001001, allocations: 98.83 kB / 270.2 MB, free: 13.36 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.2403/0.2403, allocations: 43.55 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003641, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 58.86 MB / 490.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4499/0.594, allocations: 89.38 MB / 0.566 GB, free: 10.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.5944, allocations: 64.78 kB / 0.5661 GB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08613/0.6805, allocations: 30.36 MB / 0.5957 GB, free: 124 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6805, allocations: 0 / 0.5957 GB, free: 124 kB / 394.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.6806, allocations: 0 / 0.5957 GB, free: 124 kB / 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.0006397/0.6812, allocations: 412.2 kB / 0.5961 GB, free: 15.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.6813, allocations: 12.03 kB / 0.5961 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.6813, allocations: 0 / 0.5961 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.6814, allocations: 167 kB / 0.5963 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.6815, allocations: 0 / 0.5963 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.6815, allocations: 7.875 kB / 0.5963 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.6816, allocations: 29.7 kB / 0.5963 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.6816, allocations: 0 / 0.5963 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.6816, allocations: 4 kB / 0.5963 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.6817, allocations: 0 / 0.5963 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.6817, allocations: 0 / 0.5963 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.6819, allocations: 157 kB / 0.5965 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.483e-05/0.6819, allocations: 14.58 kB / 0.5965 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.682, allocations: 3.938 kB / 0.5965 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.695e-05/0.682, allocations: 64.34 kB / 0.5966 GB, free: 15.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.682, allocations: 4 kB / 0.5966 GB, free: 15.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002426/0.6823, allocations: 62.2 kB / 0.5966 GB, free: 15.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.6824, allocations: 81.11 kB / 0.5967 GB, free: 14.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.84e-05/0.6824, allocations: 85 kB / 0.5968 GB, free: 14.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.6825, allocations: 25.7 kB / 0.5968 GB, free: 14.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.6825, allocations: 80.14 kB / 0.5969 GB, free: 14.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.6825, allocations: 0 / 0.5969 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.6826, allocations: 0 / 0.5969 GB, free: 14.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6827, allocations: 315 kB / 0.5972 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.6827, allocations: 7.438 kB / 0.5972 GB, free: 14.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-06/0.6828, allocations: 3.938 kB / 0.5972 GB, free: 14.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.6828, allocations: 25.7 kB / 0.5972 GB, free: 14.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6828, allocations: 0 / 0.5972 GB, free: 14.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.525e-05/0.6829, allocations: 67.34 kB / 0.5973 GB, free: 14.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.683, allocations: 29.7 kB / 0.5973 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.683, allocations: 4 kB / 0.5973 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.683, allocations: 0 / 0.5973 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.683, allocations: 4.094 kB / 0.5973 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.683, allocations: 0 / 0.5973 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.683, allocations: 0 / 0.5973 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.6831, allocations: 0 / 0.5973 GB, free: 14.25 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.6832, allocations: 147 kB / 0.5975 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.6832, allocations: 7.891 kB / 0.5975 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.156e-05/0.6832, allocations: 7.109 kB / 0.5975 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.6832, allocations: 0 / 0.5975 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6832, allocations: 0 / 0.5975 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.6832, allocations: 3.938 kB / 0.5975 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.446e-05/0.6833, allocations: 149.7 kB / 0.5976 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6833, allocations: 0 / 0.5976 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-06/0.6833, allocations: 7.922 kB / 0.5976 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.6834, allocations: 3.953 kB / 0.5976 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.6834, allocations: 4 kB / 0.5976 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.6834, allocations: 0 / 0.5976 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.6834, allocations: 4 kB / 0.5977 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.538e-05/0.6835, allocations: 86.34 kB / 0.5977 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.6835, allocations: 81.09 kB / 0.5978 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.6836, allocations: 7.953 kB / 0.5978 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.6836, allocations: 0 / 0.5978 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.6836, allocations: 3.562 kB / 0.5978 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.6836, allocations: 0 / 0.5978 GB, free: 13.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.086e-05/0.6836, allocations: 75.28 kB / 0.5979 GB, free: 13.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6837, allocations: 0 / 0.5979 GB, free: 13.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003837/0.684, allocations: 67.23 kB / 0.598 GB, free: 13.52 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) * 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 (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.001808/0.6859, allocations: 0.5503 MB / 0.5985 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.686, allocations: 58.66 kB / 0.5986 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.686, allocations: 0 / 0.5986 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.055e-05/0.686, allocations: 55.41 kB / 0.5986 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.077e-05/0.6861, allocations: 0 / 0.5986 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001848/0.6863, allocations: 78.25 kB / 0.5987 GB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.6866, allocations: 0.6733 MB / 0.5993 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.973e-06/0.6867, allocations: 0 / 0.5993 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.6867, allocations: 11.44 kB / 0.5993 GB, free: 12.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.6867, allocations: 0 / 0.5993 GB, free: 12.06 MB / 410.7 MB Notification: Performance of Templates: time 0.005401/0.6921, allocations: 2.092 MB / 0.6014 GB, free: 9.965 MB / 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)