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.001254/0.001254, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001662/0.001662, allocations: 172.7 kB / 15.95 MB, free: 208 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.705/1.705, allocations: 205.4 MB / 222.1 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.3719/0.3719, allocations: 40.01 MB / 310.4 MB, free: 10.11 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.0005694/0.0005697, allocations: 12 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1655, allocations: 57.96 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001004/0.1665, allocations: 226 kB / 437 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.1699, allocations: 1.08 MB / 438.1 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.17, allocations: 4 kB / 438.1 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.17, allocations: 3.938 kB / 438.1 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.077e-06/0.17, allocations: 0 / 438.1 MB, free: 1.266 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.002787/0.1728, allocations: 0.6239 MB / 438.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.256e-05/0.1729, allocations: 0 / 438.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.1729, allocations: 0 / 438.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.194e-05/0.173, allocations: 0 / 438.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.261e-05/0.173, allocations: 0 / 438.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.173, allocations: 0 / 438.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005522/0.1786, allocations: 2.238 MB / 441 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.1786, allocations: 0 / 441 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.1787, allocations: 25.7 kB / 441 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008063/0.1795, allocations: 327.5 kB / 441.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.1795, allocations: 0 / 441.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1795, allocations: 0 / 441.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1796, allocations: 4 kB / 441.3 MB, free: 14.04 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.0008291/0.1804, allocations: 385.3 kB / 441.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.471e-05/0.1805, allocations: 8.031 kB / 441.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.1806, allocations: 7.953 kB / 441.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1808, allocations: 167 kB / 441.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.1808, allocations: 4 kB / 441.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.1808, allocations: 0 / 441.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.181, allocations: 29.69 kB / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.1811, allocations: 4 kB / 441.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.1811, allocations: 0 / 441.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1811, allocations: 0 / 441.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.1811, allocations: 3.953 kB / 441.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.1814, allocations: 149.6 kB / 442 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.048e-05/0.1815, allocations: 26.55 kB / 442.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.1816, allocations: 8.844 kB / 442.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-06/0.1816, allocations: 0 / 442.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.1817, allocations: 60.33 kB / 442.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.754e-06/0.1817, allocations: 0 / 442.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002981/0.182, allocations: 55.41 kB / 442.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.631e-05/0.1821, allocations: 85.23 kB / 442.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.788e-05/0.1822, allocations: 97.84 kB / 442.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.1823, allocations: 25.7 kB / 442.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.1824, allocations: 84.08 kB / 442.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1824, allocations: 3.938 kB / 442.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.1824, allocations: 0 / 442.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002916/0.1827, allocations: 314.8 kB / 442.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.1828, allocations: 4 kB / 442.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/0.1828, allocations: 4 kB / 442.8 MB, free: 12.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.1828, allocations: 25.7 kB / 442.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1829, allocations: 0 / 442.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000142/0.183, allocations: 67.39 kB / 442.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.495e-05/0.1831, allocations: 29.7 kB / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1831, allocations: 0 / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.1832, allocations: 7.984 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.215e-06/0.1832, allocations: 0 / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.1832, allocations: 0 / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.1832, allocations: 96 / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.1833, allocations: 4 kB / 442.9 MB, free: 12.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.1834, allocations: 139.5 kB / 443.1 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.1835, allocations: 0 / 443.1 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.1835, allocations: 14.98 kB / 443.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1835, allocations: 0 / 443.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1835, allocations: 0 / 443.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1836, allocations: 0 / 443.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.1838, allocations: 149.6 kB / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.1838, allocations: 4 kB / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.1838, allocations: 4 kB / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1838, allocations: 0 / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1838, allocations: 0 / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.1838, allocations: 3.984 kB / 443.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.1839, allocations: 4 kB / 443.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.184, allocations: 86.8 kB / 443.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.1842, allocations: 85.09 kB / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1843, allocations: 4 kB / 443.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.372e-05/0.1843, allocations: 4.031 kB / 443.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.1843, allocations: 0 / 443.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1843, allocations: 0 / 443.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.1844, allocations: 75.28 kB / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.075e-06/0.1844, allocations: 0 / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006045/0.185, allocations: 71.92 kB / 443.6 MB, free: 11.41 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.002743/0.1878, allocations: 0.5009 MB / 444.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.1879, allocations: 67.41 kB / 444.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1879, allocations: 0 / 444.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.906e-05/0.188, allocations: 51.41 kB / 444.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.1883, allocations: 15.88 kB / 444.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.1885, allocations: 70.77 kB / 444.3 MB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1889, allocations: 0.6731 MB / 444.9 MB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.784e-06/0.1889, allocations: 0 / 444.9 MB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.26e-05/0.1889, allocations: 7.438 kB / 444.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.189, allocations: 128 / 444.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of Templates: time 0.01323/0.2022, allocations: 2.628 MB / 447.6 MB, free: 7.328 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: