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.00143/0.00143, allocations: 180.3 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 82.55 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2961/0.2961, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.319e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3982, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.5605, allocations: 88.62 MB / 0.5524 GB, free: 10.68 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.5608, allocations: 63.97 kB / 0.5525 GB, free: 10.61 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.143/0.7038, allocations: 29.96 MB / 0.5818 GB, free: 12.64 MB / 427.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.7039, allocations: 3.938 kB / 0.5818 GB, free: 12.63 MB / 427.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.7039, allocations: 3.938 kB / 0.5818 GB, free: 12.63 MB / 427.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.0007088/0.7046, allocations: 396.2 kB / 0.5821 GB, free: 12.19 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.7047, allocations: 8.031 kB / 0.5821 GB, free: 12.18 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.7047, allocations: 4 kB / 0.5822 GB, free: 12.18 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.7048, allocations: 167 kB / 0.5823 GB, free: 11.98 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.7049, allocations: 0 / 0.5823 GB, free: 11.98 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.7049, allocations: 7.938 kB / 0.5823 GB, free: 11.97 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.517e-05/0.7049, allocations: 0 / 0.5823 GB, free: 11.97 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.816e-05/0.705, allocations: 29.7 kB / 0.5823 GB, free: 11.93 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.705, allocations: 0 / 0.5823 GB, free: 11.93 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.705, allocations: 0 / 0.5823 GB, free: 11.93 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.7051, allocations: 0 / 0.5823 GB, free: 11.93 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.7052, allocations: 130.2 kB / 0.5825 GB, free: 11.77 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.466e-05/0.7053, allocations: 22.59 kB / 0.5825 GB, free: 11.74 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.7053, allocations: 8.859 kB / 0.5825 GB, free: 11.73 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.7053, allocations: 0 / 0.5825 GB, free: 11.73 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.208e-05/0.7054, allocations: 64.14 kB / 0.5826 GB, free: 11.65 MB / 427.1 MB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.7054, allocations: 0 / 0.5826 GB, free: 11.65 MB / 427.1 MB Notification: Performance of matching and sorting (n=1): time 0.000185/0.7056, allocations: 33.77 kB / 0.5826 GB, free: 11.61 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.7057, allocations: 81.11 kB / 0.5827 GB, free: 11.51 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.937e-05/0.7057, allocations: 85 kB / 0.5828 GB, free: 11.42 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.7057, allocations: 29.73 kB / 0.5828 GB, free: 11.39 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.7058, allocations: 150.6 kB / 0.5829 GB, free: 11.24 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.7058, allocations: 0 / 0.5829 GB, free: 11.24 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.7058, allocations: 0 / 0.5829 GB, free: 11.24 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.706, allocations: 318.8 kB / 0.5832 GB, free: 10.92 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.098e-06/0.706, allocations: 0 / 0.5832 GB, free: 10.92 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-06/0.706, allocations: 0 / 0.5832 GB, free: 10.92 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.066e-05/0.7061, allocations: 0 / 0.5832 GB, free: 10.92 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7061, allocations: 0 / 0.5832 GB, free: 10.92 MB / 427.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.878e-05/0.7062, allocations: 49.66 kB / 0.5833 GB, free: 10.86 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.7062, allocations: 33.64 kB / 0.5833 GB, free: 10.82 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7062, allocations: 0 / 0.5833 GB, free: 10.82 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.7063, allocations: 7.984 kB / 0.5833 GB, free: 10.82 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-06/0.7063, allocations: 0 / 0.5833 GB, free: 10.82 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.7063, allocations: 0 / 0.5833 GB, free: 10.82 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.7063, allocations: 4 kB / 0.5833 GB, free: 10.81 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.7064, allocations: 0 / 0.5833 GB, free: 10.81 MB / 427.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 () * 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.0001008/0.7065, allocations: 130.7 kB / 0.5834 GB, free: 10.67 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.7065, allocations: 11.97 kB / 0.5835 GB, free: 10.66 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567e-05/0.7065, allocations: 3.75 kB / 0.5835 GB, free: 10.66 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.7065, allocations: 0 / 0.5835 GB, free: 10.66 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7065, allocations: 0 / 0.5835 GB, free: 10.66 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.7066, allocations: 0 / 0.5835 GB, free: 10.66 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.7067, allocations: 130.2 kB / 0.5836 GB, free: 10.49 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7067, allocations: 0 / 0.5836 GB, free: 10.49 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-06/0.7067, allocations: 0 / 0.5836 GB, free: 10.49 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7067, allocations: 0 / 0.5836 GB, free: 10.49 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.7067, allocations: 0 / 0.5836 GB, free: 10.49 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.7067, allocations: 3.953 kB / 0.5836 GB, free: 10.49 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7067, allocations: 4 kB / 0.5836 GB, free: 10.48 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.7069, allocations: 73.05 kB / 0.5837 GB, free: 10.39 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.7069, allocations: 81.05 kB / 0.5837 GB, free: 10.3 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.707, allocations: 0 / 0.5837 GB, free: 10.3 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.707, allocations: 0 / 0.5837 GB, free: 10.3 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.707, allocations: 3.953 kB / 0.5837 GB, free: 10.29 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.707, allocations: 4 kB / 0.5837 GB, free: 10.29 MB / 427.1 MB Notification: Performance of sorting global known variables: time 3.556e-05/0.7071, allocations: 79.31 kB / 0.5838 GB, free: 10.21 MB / 427.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7071, allocations: 0 / 0.5838 GB, free: 10.21 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0006212/0.7077, allocations: 59.92 kB / 0.5839 GB, free: 10.15 MB / 427.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) * 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.002849/0.7106, allocations: 0.5408 MB / 0.5844 GB, free: 9.625 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.7107, allocations: 63.34 kB / 0.5845 GB, free: 9.551 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7108, allocations: 0 / 0.5845 GB, free: 9.551 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.7108, allocations: 55.41 kB / 0.5845 GB, free: 9.484 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.7109, allocations: 0 / 0.5845 GB, free: 9.484 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001886/0.7111, allocations: 77.69 kB / 0.5846 GB, free: 9.379 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.7114, allocations: 0.6729 MB / 0.5853 GB, free: 8.68 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.7115, allocations: 7.438 kB / 0.5853 GB, free: 8.672 MB / 427.1 MB Notification: Performance of SimCode: time 6.71e-07/0.7115, allocations: 128 / 0.5853 GB, free: 8.672 MB / 427.1 MB Notification: Performance of Templates: time 0.007361/0.7188, allocations: 2.676 MB / 0.5879 GB, free: 5.992 MB / 427.1 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)