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.001528/0.001528, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001626/0.001626, allocations: 195 kB / 16.14 MB, free: 6.711 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.604/1.604, allocations: 205.1 MB / 222 MB, free: 4.762 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.4105/0.4105, allocations: 39.93 MB / 309.3 MB, free: 9.285 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.001294/0.001294, allocations: 64.48 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1452, allocations: 56.88 MB / 433.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001943/0.1472, allocations: 0.5635 MB / 434.4 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.1493, allocations: 1.192 MB / 435.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.283e-05/0.1494, allocations: 0 / 435.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.1494, allocations: 0 / 435.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.152e-06/0.1494, allocations: 0 / 435.6 MB, free: 2.379 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.002097/0.1515, allocations: 0.6315 MB / 436.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.028e-05/0.1516, allocations: 7.984 kB / 436.2 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.1516, allocations: 4 kB / 436.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.937e-05/0.1516, allocations: 0 / 436.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.897e-05/0.1517, allocations: 0 / 436.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.1517, allocations: 0 / 436.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.155, allocations: 2.597 MB / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.737e-06/0.1551, allocations: 0 / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.1551, allocations: 3.938 kB / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.1557, allocations: 427.3 kB / 439.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1557, allocations: 7.922 kB / 439.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1557, allocations: 0 / 439.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1557, allocations: 0 / 439.2 MB, free: 14.71 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.000429/0.1561, allocations: 381 kB / 439.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.1562, allocations: 8.031 kB / 439.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.1562, allocations: 11.94 kB / 439.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1564, allocations: 159.1 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1564, allocations: 0 / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1564, allocations: 0 / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.1565, allocations: 41.62 kB / 439.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1565, allocations: 0 / 439.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1565, allocations: 0 / 439.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1566, allocations: 3.984 kB / 439.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.426e-05/0.1566, allocations: 3.938 kB / 439.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.1568, allocations: 153.6 kB / 440 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.158e-05/0.1568, allocations: 14.58 kB / 440 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.1568, allocations: 8.844 kB / 440 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.55e-06/0.1568, allocations: 0 / 440 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.1569, allocations: 64.36 kB / 440.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1569, allocations: 3.938 kB / 440.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001979/0.1571, allocations: 63.5 kB / 440.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.1572, allocations: 77.11 kB / 440.2 MB, free: 13.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/0.1572, allocations: 97.78 kB / 440.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1573, allocations: 25.7 kB / 440.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.1573, allocations: 80.14 kB / 440.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1573, allocations: 4 kB / 440.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.1573, allocations: 13.72 kB / 440.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1575, allocations: 310.8 kB / 440.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.1575, allocations: 4.031 kB / 440.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.1575, allocations: 4 kB / 440.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.778e-05/0.1575, allocations: 60.2 kB / 440.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1576, allocations: 4 kB / 440.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.74e-05/0.1576, allocations: 67.39 kB / 440.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.1577, allocations: 33.64 kB / 440.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1577, allocations: 4 kB / 440.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1577, allocations: 0 / 440.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.093e-06/0.1577, allocations: 0 / 440.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1577, allocations: 4.094 kB / 440.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.1577, allocations: 3.938 kB / 440.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.1578, allocations: 0 / 440.9 MB, free: 12.76 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 8.945e-05/0.1578, allocations: 139.5 kB / 441 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-06/0.1579, allocations: 0 / 441 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.888e-06/0.1579, allocations: 7.062 kB / 441 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1579, allocations: 0 / 441 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1579, allocations: 0 / 441 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1579, allocations: 7.938 kB / 441 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.158, allocations: 153.7 kB / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.158, allocations: 0 / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-06/0.158, allocations: 0 / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.158, allocations: 3.938 kB / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.158, allocations: 0 / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1581, allocations: 4 kB / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1581, allocations: 0 / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.991e-05/0.1582, allocations: 90.77 kB / 441.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.1582, allocations: 81.14 kB / 441.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1582, allocations: 4 kB / 441.4 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.1582, allocations: 0 / 441.4 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.1583, allocations: 3.938 kB / 441.4 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.1583, allocations: 0 / 441.4 MB, free: 12.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.95e-05/0.1583, allocations: 75.28 kB / 441.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1583, allocations: 0 / 441.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.1587, allocations: 51.98 kB / 441.5 MB, free: 12.04 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.001706/0.1604, allocations: 0.5331 MB / 442 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.179e-05/0.1605, allocations: 67.34 kB / 442.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1605, allocations: 0 / 442.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.1605, allocations: 51.41 kB / 442.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.1607, allocations: 4 kB / 442.2 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001808/0.1609, allocations: 78.75 kB / 442.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1611, allocations: 0.6692 MB / 442.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.276e-06/0.1611, allocations: 8.109 kB / 442.9 MB, free: 10.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-06/0.1612, allocations: 7.438 kB / 442.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.1612, allocations: 0 / 442.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of Templates: time 0.005908/0.1671, allocations: 2.137 MB / 445.1 MB, free: 8.414 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.makefile (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)