Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009436/0.0009436, allocations: 108.2 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2423/0.2423, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.592e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1496, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4782/0.6278, allocations: 89.73 MB / 0.5823 GB, free: 6.773 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.6281, allocations: 59.97 kB / 0.5824 GB, free: 6.715 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08482/0.7129, allocations: 30.05 MB / 0.6117 GB, free: 8.648 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.713, allocations: 0 / 0.6117 GB, free: 8.648 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.713, allocations: 0 / 0.6117 GB, free: 8.648 MB / 426.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.000638/0.7136, allocations: 404.1 kB / 0.6121 GB, free: 8.203 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.7137, allocations: 11.98 kB / 0.6121 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.7137, allocations: 0 / 0.6121 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.7139, allocations: 163 kB / 0.6123 GB, free: 7.992 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.7139, allocations: 3.984 kB / 0.6123 GB, free: 7.988 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.7139, allocations: 8 kB / 0.6123 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.705e-05/0.714, allocations: 3.953 kB / 0.6123 GB, free: 7.977 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.138e-05/0.7141, allocations: 29.7 kB / 0.6123 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.7141, allocations: 0 / 0.6123 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.7141, allocations: 0 / 0.6123 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.7141, allocations: 4 kB / 0.6123 GB, free: 7.938 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.7143, allocations: 122.2 kB / 0.6124 GB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.859e-05/0.7143, allocations: 18.52 kB / 0.6124 GB, free: 7.754 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.7143, allocations: 12.8 kB / 0.6124 GB, free: 7.738 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.7144, allocations: 4.094 kB / 0.6125 GB, free: 7.734 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.594e-05/0.7144, allocations: 60.25 kB / 0.6125 GB, free: 7.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.7144, allocations: 0 / 0.6125 GB, free: 7.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002308/0.7147, allocations: 37.66 kB / 0.6125 GB, free: 7.617 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.7147, allocations: 77.11 kB / 0.6126 GB, free: 7.523 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.7148, allocations: 89 kB / 0.6127 GB, free: 7.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.7148, allocations: 25.7 kB / 0.6127 GB, free: 7.398 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.7149, allocations: 84.17 kB / 0.6128 GB, free: 7.312 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.7149, allocations: 0 / 0.6128 GB, free: 7.312 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.7149, allocations: 0 / 0.6128 GB, free: 7.312 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.7151, allocations: 310.8 kB / 0.6131 GB, free: 7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-06/0.7151, allocations: 0 / 0.6131 GB, free: 7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/0.7151, allocations: 11.92 kB / 0.6131 GB, free: 6.988 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.7152, allocations: 0 / 0.6131 GB, free: 6.988 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7152, allocations: 0 / 0.6131 GB, free: 6.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.656e-05/0.7153, allocations: 37.77 kB / 0.6132 GB, free: 6.945 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.7153, allocations: 35.11 kB / 0.6132 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.7153, allocations: 0 / 0.6132 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.7153, allocations: 0 / 0.6132 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.7154, allocations: 0 / 0.6132 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.7154, allocations: 3.953 kB / 0.6132 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.7154, allocations: 4 kB / 0.6132 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.7154, allocations: 7.984 kB / 0.6132 GB, free: 6.891 MB / 426.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 0.0001072/0.7155, allocations: 126.7 kB / 0.6133 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.7155, allocations: 4.031 kB / 0.6133 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.7156, allocations: 7.734 kB / 0.6133 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.7156, allocations: 4 kB / 0.6133 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7156, allocations: 0 / 0.6133 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.7156, allocations: 3.953 kB / 0.6133 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.7157, allocations: 126.2 kB / 0.6135 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.7157, allocations: 0 / 0.6135 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.7157, allocations: 3.938 kB / 0.6135 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.7157, allocations: 0 / 0.6135 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.7157, allocations: 4 kB / 0.6135 GB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.7158, allocations: 0 / 0.6135 GB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7158, allocations: 11.88 kB / 0.6135 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.7159, allocations: 61.09 kB / 0.6135 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.716, allocations: 81.09 kB / 0.6136 GB, free: 6.379 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.716, allocations: 4 kB / 0.6136 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-06/0.716, allocations: 0 / 0.6136 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.716, allocations: 0 / 0.6136 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.716, allocations: 0 / 0.6136 GB, free: 6.375 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.667e-05/0.7161, allocations: 79.31 kB / 0.6137 GB, free: 6.297 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7161, allocations: 0 / 0.6137 GB, free: 6.297 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003996/0.7165, allocations: 71.91 kB / 0.6138 GB, free: 6.227 MB / 426.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.001907/0.7184, allocations: 0.5488 MB / 0.6143 GB, free: 5.723 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.7185, allocations: 55.41 kB / 0.6144 GB, free: 5.656 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7185, allocations: 0 / 0.6144 GB, free: 5.656 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.159e-05/0.7186, allocations: 55.41 kB / 0.6144 GB, free: 5.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.7187, allocations: 8.078 kB / 0.6144 GB, free: 5.582 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/0.7189, allocations: 48.02 kB / 0.6145 GB, free: 5.512 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.7192, allocations: 0.6768 MB / 0.6151 GB, free: 4.809 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.913e-06/0.7192, allocations: 0 / 0.6151 GB, free: 4.809 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.425e-05/0.7192, allocations: 7.438 kB / 0.6151 GB, free: 4.801 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7192, allocations: 0 / 0.6151 GB, free: 4.801 MB / 426.7 MB Notification: Performance of Templates: time 0.005537/0.7248, allocations: 2.089 MB / 0.6172 GB, free: 2.707 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1)