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.001139/0.001139, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.514/1.514, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.3851/0.3851, allocations: 39.94 MB / 309.7 MB, free: 9.23 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.001679/0.001679, allocations: 74.34 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1442, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001805/0.146, allocations: 494.8 kB / 435 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.1481, allocations: 1.157 MB / 436.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.1481, allocations: 4 kB / 436.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.1482, allocations: 0 / 436.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.699e-06/0.1482, allocations: 0 / 436.1 MB, free: 2.027 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.00206/0.1502, allocations: 0.6742 MB / 436.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.945e-05/0.1503, allocations: 4 kB / 436.8 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.1503, allocations: 0 / 436.8 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.845e-05/0.1504, allocations: 4 kB / 436.8 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.642e-05/0.1504, allocations: 0 / 436.8 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-06/0.1504, allocations: 4 kB / 436.8 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.1534, allocations: 2.453 MB / 439.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.1534, allocations: 0 / 439.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.1534, allocations: 4 kB / 439.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.1539, allocations: 355.5 kB / 439.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1539, allocations: 0 / 439.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1539, allocations: 0 / 439.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.1539, allocations: 0 / 439.6 MB, free: 14.54 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.0004694/0.1544, allocations: 377 kB / 440 MB, free: 14.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1545, allocations: 15.89 kB / 440 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1545, allocations: 4 kB / 440 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.1546, allocations: 167.1 kB / 440.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1547, allocations: 7.875 kB / 440.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.1547, allocations: 0 / 440.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.1548, allocations: 37.69 kB / 440.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1548, allocations: 0 / 440.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1548, allocations: 0 / 440.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1548, allocations: 0 / 440.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/0.1548, allocations: 4 kB / 440.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.155, allocations: 149.5 kB / 440.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.216e-05/0.1551, allocations: 26.45 kB / 440.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.1551, allocations: 12.94 kB / 440.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.1551, allocations: 0 / 440.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.1552, allocations: 60.27 kB / 440.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.1552, allocations: 0 / 440.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002125/0.1554, allocations: 59.41 kB / 440.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.1555, allocations: 85.22 kB / 440.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.429e-05/0.1555, allocations: 89.86 kB / 440.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1555, allocations: 25.7 kB / 440.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.1556, allocations: 84.14 kB / 440.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.1556, allocations: 0 / 440.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.1556, allocations: 13.72 kB / 440.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1558, allocations: 310.8 kB / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.1558, allocations: 7.938 kB / 441.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/0.1558, allocations: 4 kB / 441.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.1559, allocations: 60.27 kB / 441.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1559, allocations: 0 / 441.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.13e-05/0.156, allocations: 67.33 kB / 441.2 MB, free: 12.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.156, allocations: 33.7 kB / 441.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.156, allocations: 0 / 441.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.156, allocations: 0 / 441.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.1561, allocations: 0 / 441.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1561, allocations: 0 / 441.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.1561, allocations: 4.094 kB / 441.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1561, allocations: 7.938 kB / 441.3 MB, free: 12.58 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 9.971e-05/0.1562, allocations: 143.4 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-06/0.1562, allocations: 0 / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.296e-05/0.1563, allocations: 7.125 kB / 441.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1563, allocations: 0 / 441.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1563, allocations: 0 / 441.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1563, allocations: 0 / 441.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.1564, allocations: 153.6 kB / 441.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1564, allocations: 0 / 441.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1564, allocations: 4 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1564, allocations: 4 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1564, allocations: 4 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1564, allocations: 0 / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.1564, allocations: 4 kB / 441.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.55e-05/0.1565, allocations: 94.77 kB / 441.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.1566, allocations: 77.11 kB / 441.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1566, allocations: 4.031 kB / 441.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-06/0.1566, allocations: 3.938 kB / 441.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.1566, allocations: 0 / 441.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.1567, allocations: 7.938 kB / 441.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.914e-05/0.1567, allocations: 75.28 kB / 441.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1567, allocations: 0 / 441.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.157, allocations: 55.92 kB / 441.9 MB, free: 11.85 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.001733/0.1588, allocations: 0.5266 MB / 442.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.1589, allocations: 63.41 kB / 442.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1589, allocations: 0 / 442.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.141e-05/0.1589, allocations: 55.41 kB / 442.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.159, allocations: 3.938 kB / 442.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001896/0.1592, allocations: 88.91 kB / 442.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1595, allocations: 0.6729 MB / 443.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.252e-06/0.1595, allocations: 0 / 443.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.246e-05/0.1596, allocations: 7.562 kB / 443.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.635e-06/0.1596, allocations: 4 kB / 443.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of Templates: time 0.005675/0.1652, allocations: 2.14 MB / 445.5 MB, free: 8.215 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)