Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.conf.json 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/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 222.1 MB, free: 5.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3278/0.3278, allocations: 40 MB / 310.4 MB, free: 9.574 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006293/0.0006295, allocations: 16 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1297, allocations: 57.96 MB / 436.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0006658/0.1304, allocations: 216.5 kB / 437 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1323, allocations: 1.023 MB / 438 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.1324, allocations: 0 / 438 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.02e-05/0.1324, allocations: 0 / 438 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.839e-06/0.1324, allocations: 0 / 438 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.1341, allocations: 0.6081 MB / 438.6 MB, free: 480 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 2.965e-05/0.1341, allocations: 0 / 438.6 MB, free: 480 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.1342, allocations: 3.984 kB / 438.6 MB, free: 476 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.789e-05/0.1342, allocations: 0 / 438.6 MB, free: 476 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.3e-05/0.1343, allocations: 8 kB / 438.6 MB, free: 468 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.561e-06/0.1343, allocations: 3.938 kB / 438.6 MB, free: 464 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009764/0.1352, allocations: 0.5265 MB / 439.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.617e-06/0.1353, allocations: 3.984 kB / 439.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.1353, allocations: 25.7 kB / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.1359, allocations: 267.5 kB / 439.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1359, allocations: 0 / 439.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1359, allocations: 0 / 439.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1359, allocations: 0 / 439.4 MB, free: 15.63 MB / 382.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.0004643/0.1364, allocations: 393.3 kB / 439.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1365, allocations: 8.031 kB / 439.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.1365, allocations: 7.938 kB / 439.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.453e-05/0.1366, allocations: 167.1 kB / 440 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1366, allocations: 4 kB / 440 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1366, allocations: 4 kB / 440 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1368, allocations: 29.7 kB / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1368, allocations: 3.938 kB / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1368, allocations: 0 / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1368, allocations: 0 / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.255e-05/0.1368, allocations: 15.83 kB / 440.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.137, allocations: 149.6 kB / 440.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.137, allocations: 14.58 kB / 440.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.137, allocations: 8.094 kB / 440.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.1371, allocations: 60.27 kB / 440.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.1371, allocations: 0 / 440.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001848/0.1373, allocations: 67.33 kB / 440.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1373, allocations: 77.11 kB / 440.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.696e-05/0.1374, allocations: 89.86 kB / 440.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.1374, allocations: 25.7 kB / 440.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.1374, allocations: 84.27 kB / 440.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1375, allocations: 4 kB / 440.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.1375, allocations: 0 / 440.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1376, allocations: 318.8 kB / 440.9 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-06/0.1376, allocations: 0 / 440.9 MB, free: 13.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-06/0.1376, allocations: 0 / 440.9 MB, free: 13.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.1377, allocations: 29.7 kB / 441 MB, free: 13.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1377, allocations: 0 / 441 MB, free: 13.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.919e-05/0.1377, allocations: 59.39 kB / 441 MB, free: 13.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.1378, allocations: 41.73 kB / 441.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1378, allocations: 0 / 441.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1378, allocations: 0 / 441.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.1378, allocations: 0 / 441.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1378, allocations: 0 / 441.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.1379, allocations: 0 / 441.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1379, allocations: 0 / 441.1 MB, free: 13.75 MB / 382.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 () * 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 8.651e-05/0.138, allocations: 147.5 kB / 441.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.138, allocations: 0 / 441.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.339e-05/0.138, allocations: 7.125 kB / 441.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.138, allocations: 0 / 441.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.138, allocations: 4 kB / 441.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.138, allocations: 0 / 441.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.854e-05/0.1381, allocations: 149.6 kB / 441.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1381, allocations: 3.938 kB / 441.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.1382, allocations: 0 / 441.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1382, allocations: 0 / 441.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1382, allocations: 7.984 kB / 441.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1382, allocations: 0 / 441.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1382, allocations: 0 / 441.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.446e-05/0.1383, allocations: 98.72 kB / 441.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.1383, allocations: 81.11 kB / 441.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1383, allocations: 0 / 441.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.026e-05/0.1384, allocations: 3.938 kB / 441.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.1384, allocations: 0 / 441.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1384, allocations: 0 / 441.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.68e-05/0.1384, allocations: 79.28 kB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1384, allocations: 4.031 kB / 441.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004563/0.1389, allocations: 87.98 kB / 441.7 MB, free: 12.98 MB / 382.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) * 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.0008316/0.1397, allocations: 375.3 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.929e-05/0.1399, allocations: 63.41 kB / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1399, allocations: 0 / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/0.1399, allocations: 55.41 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.209e-05/0.14, allocations: 3.953 kB / 442.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.1402, allocations: 78.69 kB / 442.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1405, allocations: 0.6731 MB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.813e-06/0.1405, allocations: 0 / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.45e-05/0.1405, allocations: 11.56 kB / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1405, allocations: 4 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of Templates: time 0.008948/0.1495, allocations: 3.117 MB / 446.1 MB, free: 8.531 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) Environment - environmentSimulation: