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.001278/0.001278, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.01298/0.01298, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3806/0.3806, allocations: 40 MB / 310.7 MB, free: 9.863 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.0008558/0.0008559, allocations: 12 kB / 379.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1469, allocations: 57.96 MB / 437.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0007449/0.1477, allocations: 222.1 kB / 437.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.15, allocations: 1.18 MB / 438.8 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.19e-05/0.1501, allocations: 0 / 438.8 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.1501, allocations: 0 / 438.8 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.1501, allocations: 0 / 438.8 MB, free: 0.793 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Visualizers.mo:1550:5-1753:22:writable] Warning: Pure function ‘Modelica.Mechanics.MultiBody.Visualizers.Colors.colorMapToSvg‘ contains a call to impure function ‘Modelica.Utilities.Files.remove‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:682:3-696:20:writable] Warning: Pure function ‘ModelicaTest.Math.colorMapToSvg‘ contains a call to impure function ‘Modelica.Mechanics.MultiBody.Visualizers.Colors.colorMapToSvg‘. Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.1526, allocations: 0.6274 MB / 439.4 MB, free: 172 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.492e-05/0.1527, allocations: 3.938 kB / 439.4 MB, free: 168 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.1527, allocations: 0 / 439.4 MB, free: 168 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.512e-05/0.1527, allocations: 0 / 439.4 MB, free: 168 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.789e-05/0.1528, allocations: 4 kB / 439.4 MB, free: 164 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.1528, allocations: 0 / 439.4 MB, free: 164 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.1563, allocations: 2.593 MB / 442 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.1563, allocations: 3.984 kB / 442 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.1563, allocations: 33.69 kB / 442.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000716/0.1571, allocations: 427.3 kB / 442.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.1571, allocations: 4 kB / 442.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1571, allocations: 0 / 442.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1571, allocations: 0 / 442.5 MB, free: 13.1 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.0005314/0.1576, allocations: 377.1 kB / 442.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1577, allocations: 8.031 kB / 442.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.1577, allocations: 3.938 kB / 442.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1578, allocations: 167 kB / 443 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1579, allocations: 4 kB / 443 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1579, allocations: 8 kB / 443 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.158, allocations: 29.64 kB / 443.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.158, allocations: 0 / 443.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.158, allocations: 0 / 443.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.158, allocations: 0 / 443.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.1581, allocations: 7.938 kB / 443.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.1582, allocations: 153.6 kB / 443.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/0.1583, allocations: 22.67 kB / 443.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.1583, allocations: 8.859 kB / 443.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.1583, allocations: 0 / 443.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.1584, allocations: 60.2 kB / 443.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.1584, allocations: 0 / 443.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002075/0.1586, allocations: 63.39 kB / 443.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.1587, allocations: 77.11 kB / 443.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.164e-05/0.1588, allocations: 97.8 kB / 443.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1588, allocations: 33.83 kB / 443.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.1588, allocations: 80.14 kB / 443.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.1589, allocations: 0 / 443.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.1589, allocations: 9.719 kB / 443.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.1592, allocations: 310.8 kB / 444 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-06/0.1592, allocations: 0 / 444 MB, free: 11.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.1592, allocations: 7.938 kB / 444 MB, free: 11.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1593, allocations: 60.25 kB / 444 MB, free: 11.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1593, allocations: 4.062 kB / 444 MB, free: 11.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.536e-05/0.1594, allocations: 63.41 kB / 444.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.1595, allocations: 37.64 kB / 444.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1595, allocations: 0 / 444.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1595, allocations: 0 / 444.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.1595, allocations: 0 / 444.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1596, allocations: 0 / 444.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.1596, allocations: 3.938 kB / 444.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1596, allocations: 3.984 kB / 444.1 MB, free: 11.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.1597, allocations: 139.6 kB / 444.3 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.1597, allocations: 0 / 444.3 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.284e-05/0.1597, allocations: 7.062 kB / 444.3 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1598, allocations: 3.984 kB / 444.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1598, allocations: 3.938 kB / 444.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1598, allocations: 7.938 kB / 444.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1599, allocations: 149.7 kB / 444.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1599, allocations: 0 / 444.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.1599, allocations: 0 / 444.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1599, allocations: 0 / 444.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1599, allocations: 4 kB / 444.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1599, allocations: 4 kB / 444.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1599, allocations: 0 / 444.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.1601, allocations: 90.77 kB / 444.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.1601, allocations: 77.11 kB / 444.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1601, allocations: 4 kB / 444.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.1602, allocations: 0 / 444.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.1602, allocations: 7.969 kB / 444.6 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.1602, allocations: 4 kB / 444.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.851e-05/0.1602, allocations: 75.28 kB / 444.7 MB, free: 10.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1602, allocations: 0 / 444.7 MB, free: 10.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004386/0.1607, allocations: 51.98 kB / 444.8 MB, free: 10.43 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001913/0.1626, allocations: 0.5345 MB / 445.3 MB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.1627, allocations: 63.41 kB / 445.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1627, allocations: 4.062 kB / 445.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.1628, allocations: 51.41 kB / 445.4 MB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.1629, allocations: 7.984 kB / 445.4 MB, free: 9.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.1632, allocations: 78.7 kB / 445.5 MB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.1636, allocations: 0.6731 MB / 446.2 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.418e-06/0.1636, allocations: 0 / 446.2 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.1637, allocations: 7.438 kB / 446.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1637, allocations: 0 / 446.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of Templates: time 0.007642/0.1713, allocations: 2.126 MB / 448.3 MB, free: 6.812 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: